public abstract class AbstractDynamicModelManager extends AbstractManager implements DynamicModelManager
ROLE| Constructor and Description |
|---|
AbstractDynamicModelManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDelegate(User delegator,
User delegatee)
It is expected the real implementation will overide this and save either
side of the function.
|
void |
removeDelegate(User delegator,
User delegatee)
Implementors should overide this to save and call super if they want the
base class to do the work
|
void |
revokeAll(Group group)
Revokes all users and roles from a group
This method is used when deleting a group.
|
void |
revokeAll(Permission permission)
Revokes all roles from a permission
This method is used when deleting a permission.
|
void |
revokeAll(Role role)
Revokes all permissions and groups from a Role.
|
void |
revokeAll(User user)
Revokes all groups from a user
This method is used when deleting an account.
|
dispose, getGroupManager, getPermissionManager, getRoleManager, getServiceManager, getUserManager, release, resolve, serviceenableLogging, getLogger, setupLogger, setupLogger, setupLoggerpublic void revokeAll(Permission permission) throws DataBackendException, UnknownEntityException
revokeAll in interface DynamicModelManagerpermission - the permission.DataBackendException - if there was an error accessing the data backend.UnknownEntityException - if the account is not present.public void revokeAll(Group group) throws DataBackendException, UnknownEntityException
revokeAll in interface DynamicModelManagergroup - the Group.DataBackendException - if there was an error accessing the data backend.UnknownEntityException - if the account is not present.public void revokeAll(User user) throws DataBackendException, UnknownEntityException
revokeAll in interface DynamicModelManageruser - the User.DataBackendException - if there was an error accessing the data backend.UnknownEntityException - if the account is not present.public void revokeAll(Role role) throws DataBackendException, UnknownEntityException
revokeAll in interface DynamicModelManagerrole - the RoleDataBackendException - if there was an error accessing the data backend.UnknownEntityException - if the Role is not present.public void addDelegate(User delegator, User delegatee) throws DataBackendException, UnknownEntityException
addDelegate in interface DynamicModelManagerdelegator - Adelegatee - BDataBackendExceptionUnknownEntityExceptionpublic void removeDelegate(User delegator, User delegatee) throws DataBackendException, UnknownEntityException
removeDelegate in interface DynamicModelManagerdelegatee - BDataBackendExceptionUnknownEntityExceptionCopyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.