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: SecurityEntity.java 1792752 2017-04-26 14:36:57Z gk $
- Author:
- Eric Pugh, Rafal Krzewski, Henning P. Schmiedehausen, Marco Knüttel
-
Method Details
-
getName
String getName()Get the Name of the SecurityEntity.- Returns:
- The Name of the SecurityEntity.
-
setName
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
Sets the Id of the SecurityEntity.- Parameters:
id- The new Id of the SecurityEntity
-