|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPermissionMgr
Method Summary | |
---|---|
Map<IPermissionRecipient,IPermissionMask> |
getEffectivePermissions(Object domainInstance)
Returns permission map containing access control entries that are defined directly on this domainInstance . |
Map<IPermissionRecipient,IPermissionMask> |
getPermissions(Object domainInstance)
Returns permission map containing access control entries that are defined directly on this domainInstance . |
boolean |
hasPermission(IPermissionRecipient permissionRecipient,
IPermissionMask permission,
Object domainInstance)
mlowery Note that this method takes a single recipient--either a role or user. |
void |
setPermission(IPermissionRecipient permissionRecipient,
IPermissionMask permission,
Object domainInstance)
|
void |
setPermissions(Map<IPermissionRecipient,IPermissionMask> acl,
Object domainInstance)
TODO mlowery This is really addPermission. |
Method Detail |
---|
void setPermission(IPermissionRecipient permissionRecipient, IPermissionMask permission, Object domainInstance)
boolean hasPermission(IPermissionRecipient permissionRecipient, IPermissionMask permission, Object domainInstance)
Map<IPermissionRecipient,IPermissionMask> getPermissions(Object domainInstance)
domainInstance
.
domainInstance
- the object for which to fetch permissions
Map<IPermissionRecipient,IPermissionMask> getEffectivePermissions(Object domainInstance)
domainInstance
. If there are no direct entries, then the permission map will be the map of one of
domainInstance
's ancestors.
domainInstance
- the object for which to fetch permissions
void setPermissions(Map<IPermissionRecipient,IPermissionMask> acl, Object domainInstance)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |