public class Authorizations extends Object implements Iterable<Authorizations.Entry>
| Modifier and Type | Class and Description |
|---|---|
static interface |
Authorizations.Entry
Represents a single authorization for a client.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Sets the Read, Write and Execute permission for each client to
false. |
Iterator<Authorizations.Entry> |
iterator()
Returns an iterator over
AuthorizationItem. |
boolean |
setHostAuthorization(int client,
boolean read,
boolean write,
boolean execute)
Sets the authorizations for a client.
|
boolean |
setHostAuthorization(int client,
boolean read,
boolean write,
boolean execute,
boolean selection)
Sets the authorizations in case of Agent assignments.
|
int |
size() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic int size()
public boolean setHostAuthorization(int client,
boolean read,
boolean write,
boolean execute)
client - Number of the clientread - Read permissionwrite - Write permissionexecute - Execute permissionpublic boolean setHostAuthorization(int client,
boolean read,
boolean write,
boolean execute,
boolean selection)
client - Number of the clientread - Read permissionwrite - Write permissionexecute - Execute permissionselection - Selectionpublic Iterator<Authorizations.Entry> iterator()
AuthorizationItem.iterator in interface Iterable<Authorizations.Entry>public void clear()
false.Copyright © 2021. All rights reserved.