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
managerVon Schnittstelle geerbte Felder org.apache.fulcrum.security.ModelManager
ROLEVon Schnittstelle geerbte Felder org.apache.fulcrum.security.model.turbine.TurbineModelManager
GLOBAL_GROUP_ATTR_NAME, GLOBAL_GROUP_NAME -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer 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.AbstractManager
dispose, getGroupManager, getPermissionManager, getRoleManager, getServiceManager, getUserManager, release, resolve, serviceVon 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:
configurein Schnittstelleorg.apache.avalon.framework.configuration.Configurable
-
getGlobalGroup
Provides a reference to the Group object that represents the global group .- Angegeben von:
getGlobalGroupin 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:
revokeAllin 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:
revokeAllin SchnittstelleTurbineModelManager- Parameter:
role- the RolecascadeDelete- iftrueremoves 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:
revokeAllin 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:
revokeAllin 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:
getGlobalGroupNamein SchnittstelleTurbineModelManager- Gibt zurück:
- the configured global group name, by default
TurbineModelManager.GLOBAL_GROUP_ATTR_NAME
-