Package com.uc4.api.objects
Interface Authorizations.Entry
-
- Enclosing class:
- Authorizations
public static interface Authorizations.Entry
Represents a single authorization for a client.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getClient()
java.lang.String
getDescription()
Returns the number of client followed by the description.boolean
isExecute()
boolean
isRead()
boolean
isSelected()
Used in agent assignments only.boolean
isWrite()
void
setExecute(boolean value)
Sets execute permission.void
setRead(boolean value)
Sets read permission.void
setSelected(boolean selection)
Used in agent assignments only.void
setWrite(boolean value)
Sets write permission.
-
-
-
Method Detail
-
getDescription
java.lang.String getDescription()
Returns the number of client followed by the description.- Returns:
- Description of the client
-
getClient
int getClient()
- Returns:
- Integer containg the number of the client
-
isRead
boolean isRead()
- Returns:
- True if read permission is set, false otherwise
-
isWrite
boolean isWrite()
- Returns:
- True if write permission is set, false otherwise
-
isExecute
boolean isExecute()
- Returns:
- True if execute permission is set, false otherwise
-
setRead
void setRead(boolean value)
Sets read permission.- Parameters:
value
- True to enable the read permission
-
setWrite
void setWrite(boolean value)
Sets write permission.- Parameters:
value
- True to enable write permission
-
setExecute
void setExecute(boolean value)
Sets execute permission.- Parameters:
value
- True to enable execute permission
-
isSelected
boolean isSelected()
Used in agent assignments only.- Returns:
- true if the client should be considered for Agent assignment.
-
setSelected
void setSelected(boolean selection)
Used in agent assignments only. Set this value totrue
if the client should be considered for Agent assignment. The Agent only obtains the rights that have been defined. Example: The Agent UNIX01 possesses all rights in clients 1, 2 and 3. You want to delete the execution right for UNIX Agents in client 3. Set the parameter totrue
for this client and call setExecute(false). The right for client 3 in Agent UNIX01 will now be adjusted when a client assignment is triggered. All rights for clients 1 and 2 remain unchanged in the Agent object.- Parameters:
selection
- true if the client should be considered for Agent assignment.
-
-