|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.domain.DomainQuery
com.arsdigita.kernel.permissions.ObjectPermissionCollection
Represents a collection of permissions that have been granted on a single object.
PermissionService
,
PermissionDescriptor
,
PrivilegeDescriptor
,
User
,
Group
Field Summary | |
static String |
versionId
|
Fields inherited from class com.arsdigita.domain.DomainQuery |
m_dataQuery |
Constructor Summary | |
protected |
ObjectPermissionCollection(DataQuery query)
Constructor. |
Method Summary | |
EmailAddress |
getGranteeEmail()
Gets the primary email address of the grantee of the current permission record. |
BigDecimal |
getGranteeID()
Gets the party ID of the grantee of the current permission record. |
String |
getGranteeName()
Returns the name of the grantee of the current permission record. |
OID |
getGranteeOID()
Returns the party OID of the grantee of the current permission record. |
PersonName |
getGranteePersonName()
Returns a PersonName object representing the name of the grantee of the current permission record, assuming the grantee is a User. |
PrivilegeDescriptor |
getPrivilege()
Gets the granted privilege. |
boolean |
granteeIsUser()
Determines whether the grantee of the current permission record is a User (as opposed to a Group). |
boolean |
isInherited()
Determines whether the current permission record was inherited from the permission context of the object of this permission collection. |
Methods inherited from class com.arsdigita.domain.DomainQuery |
addEqualsFilter, addFilter, addFilter, addInSubqueryFilter, addInSubqueryFilter, addNotEqualsFilter, addNotInSubqueryFilter, addOrder, addOrderWithNull, addPath, alias, clearFilter, clearOrder, close, first, get, getFilterFactory, getParameter, getPosition, getPropertyValues, getType, hasProperty, isAfterLast, isBeforeFirst, isEmpty, isFirst, isLast, last, next, previous, removeFilter, reset, rewind, setFilter, setOrder, setParameter, setRange, setRange, setReturnsLowerBound, setReturnsUpperBound, size |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String versionId
Constructor Detail |
protected ObjectPermissionCollection(DataQuery query)
DomainCollection.DomainCollection(DataCollection)
Method Detail |
public BigDecimal getGranteeID()
public OID getGranteeOID()
public boolean granteeIsUser()
true
if the grantee is a User; false
if
the grantee is a Group.User
,
Group
public String getGranteeName()
Party.getName()
public PersonName getGranteePersonName()
User.getPersonName()
public EmailAddress getGranteeEmail()
Party.getPrimaryEmail()
public PrivilegeDescriptor getPrivilege()
public boolean isInherited()
true
if the current permission record was inherited from the
permission context of the object of this permission collection; false
otherwise.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |