public interface IPermissionMgr
Modifier and Type | Method and Description |
---|---|
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 . |
void |
setPermission(IPermissionRecipient permRecipient,
IPermissionMask permission,
Object domainInstance)
TODO mlowery This is really addPermission.
|
void |
setPermissions(Map<IPermissionRecipient,IPermissionMask> acl,
Object domainInstance) |
void setPermission(IPermissionRecipient permRecipient, IPermissionMask permission, Object domainInstance)
Map<IPermissionRecipient,IPermissionMask> getPermissions(Object domainInstance)
domainInstance
.domainInstance
- the object for which to fetch permissionsMap<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 permissionsvoid setPermissions(Map<IPermissionRecipient,IPermissionMask> acl, Object domainInstance)