Interface SecurityEntity
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
BasicGroup,BasicUser,DynamicGroup,DynamicPermission,DynamicRole,DynamicUser,ExtendedUser,Group,Permission,Role,TurbineGroup,TurbinePermission,TurbineRole,TurbineUser,User
- All Known Implementing Classes:
AbstractTurbineSecurityEntityImpl,BasicGroupImpl,BasicUserImpl,DynamicGroupImpl,DynamicPermissionImpl,DynamicRoleImpl,DynamicUserImpl,SecurityEntityImpl,TurbineGroupImpl,TurbinePermissionImpl,TurbineRoleImpl,TurbineUserImpl
public interface SecurityEntity extends Serializable
This classes is the base class for any security entity including groups, users, roles and permissions (and potentially others depending on the model chosen)- Version:
- $Id$
- Author:
- Eric Pugh, Rafal Krzewski, Henning P. Schmiedehausen, Marco Knüttel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetId()Get the Id of the SecurityEntity.StringgetName()Get the Name of the SecurityEntity.voidsetId(Object id)Sets the Id of the SecurityEntity.voidsetName(String name)Sets the Name of the SecurityEntity.
-
-
-
Method Detail
-
getName
String getName()
Get the Name of the SecurityEntity.- Returns:
- The Name of the SecurityEntity.
-
setName
void setName(String name)
Sets the Name of the SecurityEntity.- Parameters:
name- Name of the SecurityEntity.
-
getId
Object getId()
Get the Id of the SecurityEntity.- Returns:
- The Id of the SecurityEntity.
-
setId
void setId(Object id)
Sets the Id of the SecurityEntity.- Parameters:
id- The new Id of the SecurityEntity
-
-