|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An AclEntry specifies the permissions for a certain subject.
To save modification to this AclEntry, call Acl.save()
on the containing Acl object.
Method Summary | |
AclActionType |
get(AclPermission aclPermission)
|
AclSubjectType |
getSubjectType()
|
long |
getSubjectValue()
What's returned here depends on (or should be intrepreted according to) what getSubjectType() returns.
|
org.outerx.daisy.x10.AclEntryDocument |
getXml()
|
void |
set(AclPermission permission,
AclActionType action)
|
void |
setSubjectType(AclSubjectType subjectType)
|
void |
setSubjectValue(long value)
|
Method Detail |
public AclActionType get(AclPermission aclPermission)
public void set(AclPermission permission, AclActionType action)
public long getSubjectValue()
getSubjectType()
returns.
AclSubjectType.USER
: a user id
AclSubjectType.ROLE
: a role id
AclSubjectType.EVERYONE
: -1
public AclSubjectType getSubjectType()
public void setSubjectValue(long value)
public void setSubjectType(AclSubjectType subjectType)
public org.outerx.daisy.x10.AclEntryDocument getXml()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |