Interface PropertyMgr
-
- All Superinterfaces:
Manageable
- All Known Implementing Classes:
PropertyMgrImpl
,PropertyMgrRestImpl
public interface PropertyMgr extends Manageable
-
-
Method Summary
All Methods Instance Methods Abstract 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 interface org.apache.directory.fortress.core.Manageable
setAdmin, setContextId
-
-
-
-
Method Detail
-
add
FortEntity add(FortEntity entity, Properties props) throws SecurityException
Adds properties (ftProps) to a supplied fortress entity (Group, Role, AdminRole, Permission, PermObj)- Parameters:
entity
- Entity to add propertiesprops
- Properties to add to entity- Returns:
- Updated entity
- Throws:
SecurityException
-
update
FortEntity update(FortEntity entity, Properties props) throws SecurityException
Update properties (ftProps) to a supplied fortress entity (Group, Role, AdminRole, Permission, PermObj)- Parameters:
entity
- Entity to update propertiesprops
- Properties to update to entity- Returns:
- Updated entity
- Throws:
SecurityException
-
delete
void delete(FortEntity entity, Properties props) throws SecurityException
Delete properties (ftProps) from a supplied fortress entity (Group, Role, AdminRole, Permission, PermObj)- Parameters:
entity
- Entity to delete properties fromprops
- Properties to delete from entity- Throws:
SecurityException
-
get
Properties get(FortEntity entity) throws SecurityException
Retrieve properties (ftProps) from a supplied fortress entity (Group, Role, AdminRole, Permission, PermObj)- Parameters:
entity
- Entity to return properties from- Returns:
- Properties for the supplied entity
- Throws:
SecurityException
-
-