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 - ÜbersichtVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.apache.fulcrum.security.model.turbine.TurbineModelManagerTurbineModelManager.Privilege
- 
FeldübersichtVon Klasse geerbte Felder org.apache.fulcrum.security.spi.AbstractManagermanagerVon Schnittstelle geerbte Felder org.apache.fulcrum.security.ModelManagerROLEVon Schnittstelle geerbte Felder org.apache.fulcrum.security.model.turbine.TurbineModelManagerGLOBAL_GROUP_ATTR_NAME, GLOBAL_GROUP_NAME
- 
KonstruktorübersichtKonstruktoren
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungvoidconfigure(org.apache.avalon.framework.configuration.Configuration conf) Avalon component lifecycle methodProvides a reference to the Group object that represents the global group .voidRevokes all roles and users from a Group.voidRevokes all permissions from a Role.voidRevokes 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.voidRevokes all roles and groups from a User.Von Klasse geerbte Methoden org.apache.fulcrum.security.spi.AbstractManagerdispose, getGroupManager, getPermissionManager, getRoleManager, getServiceManager, getUserManager, release, resolve, serviceVon Klasse geerbte Methoden org.apache.avalon.framework.logger.AbstractLogEnabledenableLogging, getLogger, setupLogger, setupLogger, setupLogger
- 
Konstruktordetails- 
AbstractTurbineModelManagerpublic AbstractTurbineModelManager()
 
- 
- 
Methodendetails- 
configurepublic void configure(org.apache.avalon.framework.configuration.Configuration conf) Avalon component lifecycle method- Angegeben von:
- configurein Schnittstelle- org.apache.avalon.framework.configuration.Configurable
 
- 
getGlobalGroupProvides a reference to the Group object that represents the global group .- Angegeben von:
- getGlobalGroupin Schnittstelle- TurbineModelManager
- Gibt zurück:
- A Group object that represents the global group.
- Löst aus:
- DataBackendException- generic exception
 
- 
revokeAllRevokes all permissions from a Role. This method is used when deleting a Role.- Angegeben von:
- revokeAllin Schnittstelle- TurbineModelManager
- Parameter:
- role- the Role
- Löst aus:
- DataBackendException- if there was an error accessing the data backend.
- UnknownEntityException- if the Role is not present.
 
- 
revokeAllpublic 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:
- revokeAllin Schnittstelle- TurbineModelManager
- Parameter:
- role- the Role
- cascadeDelete- if- trueremoves 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.
 
- 
revokeAllRevokes all roles and groups from a User. This method is used when deleting a User.- Angegeben von:
- revokeAllin Schnittstelle- TurbineModelManager
- Parameter:
- user- the User
- Löst aus:
- DataBackendException- if there was an error accessing the data backend.
- UnknownEntityException- if the Role is not present.
 
- 
revokeAllRevokes all roles and users from a Group. This method is used when deleting a User.- Angegeben von:
- revokeAllin Schnittstelle- TurbineModelManager
- 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:
- getGlobalGroupNamein Schnittstelle- TurbineModelManager
- Gibt zurück:
- the configured global group name, by default TurbineModelManager.GLOBAL_GROUP_ATTR_NAME
 
 
-