|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.dyade.aaa.agent.Notification
org.objectweb.joram.mom.notifications.AbstractNotification
org.objectweb.joram.mom.notifications.AdminRequest
org.objectweb.joram.mom.notifications.SetRightRequest
A SetRightRequest
instance is used by a client agent
for setting users right on a destination.
Field Summary |
Fields inherited from class fr.dyade.aaa.agent.Notification |
detachable, detached, persistent |
Constructor Summary | |
SetRightRequest(java.lang.String id,
AgentId client,
int right)
Constructs a SetRightRequest instance. |
Method Summary | |
AgentId |
getClient()
Returns the AgentId of the client which right is set. |
int |
getRight()
Returns the right to set, (-)3 for (un)setting an admin right, (-)2 for (un)setting a writing permission, (-)1 for (un)setting a reading permission, and 0 for removing all the user's permissions. |
Methods inherited from class org.objectweb.joram.mom.notifications.AdminRequest |
getId |
Methods inherited from class org.objectweb.joram.mom.notifications.AbstractNotification |
getClientContext, toString |
Methods inherited from class fr.dyade.aaa.agent.Notification |
clone, getContext, getMessageId, setContext |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SetRightRequest(java.lang.String id, AgentId client, int right)
SetRightRequest
instance.
id
- Identifier of the request, may be null.client
- AgentId of client which right is to be set,
null
for all users.right
- Right to grant, authorized values: -3, -2, -1, 1, 2, 3.Method Detail |
public AgentId getClient()
public int getRight()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |