Package com.easydesk.security.entity
Interface SecurityEntity<K>
- Type Parameters:
K- the type of this entity's id
- All Superinterfaces:
Identifiable<K>,Serializable
- All Known Subinterfaces:
EasyDeskGroup,EasyDeskPermission,EasyDeskRole,EasyDeskUser,Group,Module,Permission,Role,User
- All Known Implementing Classes:
EasyDeskGroupImpl,EasyDeskModule,EasyDeskPermissionImpl,EasyDeskRoleImpl,EasyDeskUserImpl,TemplateModule
This interface is the base for any security entity which have name including groups,
users, roles and permissions (and potentially others depending on the model chosen).
Represents an entity that can be stored in a SecuritySet.
The type parameter K is the type of this entity's identifier
(e.g. Long, UUID, String). Parameterizing the id
type lets SecuritySet expose type-safe getById(K) /
containsId(K) methods instead of accepting a raw Object.
- Version:
- $Id$
- Author:
- Eric Pugh, Rafal Krzewski, Henning P. Schmiedehausen, Marco Knüttel, Youngho Cho
-
Method Summary
Methods inherited from interface com.easydesk.security.entity.Identifiable
getId, setId
-
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.
-