|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AclEntry
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 |
---|
AclActionType get(AclPermission aclPermission)
void set(AclPermission permission, AclActionType action)
long getSubjectValue()
getSubjectType()
returns.
AclSubjectType.USER
: a user id
AclSubjectType.ROLE
: a role id
AclSubjectType.EVERYONE
: -1
AclSubjectType getSubjectType()
void setSubjectValue(long value)
void setSubjectType(AclSubjectType subjectType)
org.outerx.daisy.x10.AclEntryDocument getXml()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |