Class PropertyMgrImpl
- java.lang.Object
-
- org.apache.directory.fortress.core.impl.Manageable
-
- org.apache.directory.fortress.core.impl.PropertyMgrImpl
-
- All Implemented Interfaces:
Serializable
,Manageable
,PropertyMgr
public class PropertyMgrImpl extends Manageable implements PropertyMgr, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.directory.fortress.core.impl.Manageable
adminSess, contextId
-
-
Constructor Summary
Constructors Constructor Description PropertyMgrImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FortEntity
add(FortEntity entity, Properties props)
Adds properties (ftProps) to a supplied fortress entity (Group, Role, AdminRole, Permission, PermObj)void
delete(FortEntity entity, Properties props)
Delete properties (ftProps) from a supplied fortress entity (Group, Role, AdminRole, Permission, PermObj)Properties
get(FortEntity entity)
Retrieve properties (ftProps) from a supplied fortress entity (Group, Role, AdminRole, Permission, PermObj)FortEntity
update(FortEntity entity, Properties props)
Update properties (ftProps) to a supplied fortress entity (Group, Role, AdminRole, Permission, PermObj)-
Methods inherited from class org.apache.directory.fortress.core.impl.Manageable
assertContext, assertContext, checkAccess, getFullMethodName, setAdmin, setAdminData, setContextId, setEntitySession
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.directory.fortress.core.Manageable
setAdmin, setContextId
-
-
-
-
Method Detail
-
add
public FortEntity add(FortEntity entity, Properties props) throws SecurityException
Adds properties (ftProps) to a supplied fortress entity (Group, Role, AdminRole, Permission, PermObj)- Specified by:
add
in interfacePropertyMgr
- Parameters:
entity
- Entity to add propertiesprops
- Properties to add to entity- Returns:
- Updated entity
- Throws:
SecurityException
-
update
public FortEntity update(FortEntity entity, Properties props) throws SecurityException
Update properties (ftProps) to a supplied fortress entity (Group, Role, AdminRole, Permission, PermObj)- Specified by:
update
in interfacePropertyMgr
- Parameters:
entity
- Entity to update propertiesprops
- Properties to update to entity- Returns:
- Updated entity
- Throws:
SecurityException
-
delete
public void delete(FortEntity entity, Properties props) throws SecurityException
Delete properties (ftProps) from a supplied fortress entity (Group, Role, AdminRole, Permission, PermObj)- Specified by:
delete
in interfacePropertyMgr
- Parameters:
entity
- Entity to delete properties fromprops
- Properties to delete from entity- Throws:
SecurityException
-
get
public Properties get(FortEntity entity) throws SecurityException
Retrieve properties (ftProps) from a supplied fortress entity (Group, Role, AdminRole, Permission, PermObj)- Specified by:
get
in interfacePropertyMgr
- Parameters:
entity
- Entity to return properties from- Returns:
- Properties for the supplied entity
- Throws:
SecurityException
-
-