Package org.pentaho.platform.api.engine
Interface IPermissionMgr
-
@Deprecated public interface IPermissionMgr
Deprecated.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Map<IPermissionRecipient,IPermissionMask>
getEffectivePermissions(Object domainInstance)
Deprecated.Returns permission map containing access control entries that are defined directly on thisdomainInstance
.Map<IPermissionRecipient,IPermissionMask>
getPermissions(Object domainInstance)
Deprecated.Returns permission map containing access control entries that are defined directly on thisdomainInstance
.void
setPermission(IPermissionRecipient permRecipient, IPermissionMask permission, Object domainInstance)
Deprecated.TODO mlowery This is really addPermission.void
setPermissions(Map<IPermissionRecipient,IPermissionMask> acl, Object domainInstance)
Deprecated.
-
-
-
Method Detail
-
setPermission
void setPermission(IPermissionRecipient permRecipient, IPermissionMask permission, Object domainInstance)
Deprecated.TODO mlowery This is really addPermission. Perhaps a method name change?
-
getPermissions
Map<IPermissionRecipient,IPermissionMask> getPermissions(Object domainInstance)
Deprecated.Returns permission map containing access control entries that are defined directly on thisdomainInstance
.- Parameters:
domainInstance
- the object for which to fetch permissions- Returns:
- a map of permissions
-
getEffectivePermissions
Map<IPermissionRecipient,IPermissionMask> getEffectivePermissions(Object domainInstance)
Deprecated.Returns permission map containing access control entries that are defined directly on thisdomainInstance
. If there are no direct entries, then the permission map will be the map of one ofdomainInstance
's ancestors.- Parameters:
domainInstance
- the object for which to fetch permissions- Returns:
- a map of permissions
-
setPermissions
void setPermissions(Map<IPermissionRecipient,IPermissionMask> acl, Object domainInstance)
Deprecated.
-
-