|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.arsdigita.kernel.permissions.PermissionDescriptor
Describes a privilege on an object that is granted to a party. A PermissionDescriptor is used with the PermissionService to check, grant, and revoke permissions.
PrivilegeDescriptor,
PermissionService| Field Summary | |
static String |
versionId
|
| Constructor Summary | |
PermissionDescriptor(PrivilegeDescriptor privilege,
ACSObject acsObject,
Party party)
Creates a new PermissionDescriptor object for the specified party, granting the specified privilege on the specified ACS object. |
|
PermissionDescriptor(PrivilegeDescriptor privilege,
OID acsObjectOID,
OID partyOID)
Creates a new PermissionDescriptor object for the party with the given OID, that grants the specified privilege on the ACS object with the given OID. |
|
| Method Summary | |
boolean |
equals(Object o)
|
OID |
getACSObjectOID()
Returns the OID of the ACSObject that
the Party has the PrivilegeDescriptor on. |
OID |
getPartyOID()
Returns the OID of the Party that is
the grantee of the PrivilegeDescriptor associated with this
PermissionDescriptor. |
PrivilegeDescriptor |
getPrivilegeDescriptor()
Returns the OID of the PrivilegeDescriptor
associated with this PermissionDescriptor. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String versionId
| Constructor Detail |
public PermissionDescriptor(PrivilegeDescriptor privilege,
ACSObject acsObject,
Party party)
privilege - the privilege being grantedacsObject - the ACS object on which
the privilege is to be grantedparty - the party that will be granted this
permissionACSObject,
Party,
PrivilegeDescriptor
public PermissionDescriptor(PrivilegeDescriptor privilege,
OID acsObjectOID,
OID partyOID)
privilege - the privilege to be grantedacsObjectOID - the OID of the
ACS object on which the privilege is to be grantedpartyOID - the OID of the party
that will be granted this permissionACSObject,
Party,
PrivilegeDescriptor,
OID| Method Detail |
public OID getPartyOID()
OID of the Party that is
the grantee of the PrivilegeDescriptor associated with this
PermissionDescriptor.
OID of the Party that is
the grantee of the PrivilegeDescriptor.Party,
OIDpublic OID getACSObjectOID()
OID of the ACSObject that
the Party has the PrivilegeDescriptor on.
OID of the ACSObject that
the Party has the PrivilegeDescriptor on.ACSObject,
OIDpublic PrivilegeDescriptor getPrivilegeDescriptor()
OID of the PrivilegeDescriptor
associated with this PermissionDescriptor.
OID of the Privilge
associated with this PermissionDescriptor.PrivilegeDescriptor,
OIDpublic boolean equals(Object o)
public int hashCode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||