Klasse AbstractTurbineModelManager
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.fulcrum.security.spi.AbstractManager
org.apache.fulcrum.security.model.turbine.AbstractTurbineModelManager
- Alle implementierten Schnittstellen:
Serializable
,org.apache.avalon.framework.activity.Disposable
,org.apache.avalon.framework.configuration.Configurable
,org.apache.avalon.framework.logger.LogEnabled
,org.apache.avalon.framework.service.Serviceable
,org.apache.avalon.framework.thread.ThreadSafe
,TurbineModelManager
,ModelManager
public abstract class AbstractTurbineModelManager
extends AbstractManager
implements TurbineModelManager, org.apache.avalon.framework.configuration.Configurable
Holds shared functionality between different implementations of
TurbineModelManager's.
- Version:
- $Id: AbstractDynamicModelManager.java,v 1.2 2004/07/07 18:18:09 epugh Exp $
- Autor:
- Eric Pugh
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.apache.fulcrum.security.model.turbine.TurbineModelManager
TurbineModelManager.Privilege
-
Feldübersicht
Von Klasse geerbte Felder org.apache.fulcrum.security.spi.AbstractManager
manager
Von Schnittstelle geerbte Felder org.apache.fulcrum.security.ModelManager
ROLE
Von Schnittstelle geerbte Felder org.apache.fulcrum.security.model.turbine.TurbineModelManager
GLOBAL_GROUP_ATTR_NAME, GLOBAL_GROUP_NAME
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
configure
(org.apache.avalon.framework.configuration.Configuration conf) Avalon component lifecycle methodProvides a reference to the Group object that represents the global group .void
Revokes all roles and users from a Group.void
Revokes all permissions from a Role.void
Revokes by default all permissions from a Role and if flag is set all groups and users for this role This method is used when deleting a Role.void
Revokes all roles and groups from a User.Von Klasse geerbte Methoden org.apache.fulcrum.security.spi.AbstractManager
dispose, getGroupManager, getPermissionManager, getRoleManager, getServiceManager, getUserManager, release, resolve, service
Von Klasse geerbte Methoden org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Konstruktordetails
-
AbstractTurbineModelManager
public AbstractTurbineModelManager()
-
-
Methodendetails
-
configure
public void configure(org.apache.avalon.framework.configuration.Configuration conf) Avalon component lifecycle method- Angegeben von:
configure
in Schnittstelleorg.apache.avalon.framework.configuration.Configurable
-
getGlobalGroup
Provides a reference to the Group object that represents the global group .- Angegeben von:
getGlobalGroup
in SchnittstelleTurbineModelManager
- Gibt zurück:
- A Group object that represents the global group.
- Löst aus:
DataBackendException
- generic exception
-
revokeAll
Revokes all permissions from a Role. This method is used when deleting a Role.- Angegeben von:
revokeAll
in SchnittstelleTurbineModelManager
- Parameter:
role
- the Role- Löst aus:
DataBackendException
- if there was an error accessing the data backend.UnknownEntityException
- if the Role is not present.
-
revokeAll
public void revokeAll(Role role, boolean cascadeDelete) throws DataBackendException, UnknownEntityException Revokes by default all permissions from a Role and if flag is set all groups and users for this role This method is used when deleting a Role.- Angegeben von:
revokeAll
in SchnittstelleTurbineModelManager
- Parameter:
role
- the RolecascadeDelete
- iftrue
removes all groups and user for this role.- Löst aus:
DataBackendException
- if there was an error accessing the data backend.UnknownEntityException
- if the Role is not present.
-
revokeAll
Revokes all roles and groups from a User. This method is used when deleting a User.- Angegeben von:
revokeAll
in SchnittstelleTurbineModelManager
- Parameter:
user
- the User- Löst aus:
DataBackendException
- if there was an error accessing the data backend.UnknownEntityException
- if the Role is not present.
-
revokeAll
Revokes all roles and users from a Group. This method is used when deleting a User.- Angegeben von:
revokeAll
in SchnittstelleTurbineModelManager
- Parameter:
group
- the Group- Löst aus:
DataBackendException
- if there was an error accessing the data backend.UnknownEntityException
- if the Group is not present.
-
getGlobalGroupName
- Angegeben von:
getGlobalGroupName
in SchnittstelleTurbineModelManager
- Gibt zurück:
- the configured global group name, by default
TurbineModelManager.GLOBAL_GROUP_ATTR_NAME
-