Package com.easydesk.security.model
Interface EasyDeskSecurityEntityModel
- All Superinterfaces:
SecurityEntityModel,Serializable
- All Known Implementing Classes:
EasyDeskSecurityEntityModelImpl
Represents the "turbine" model where permissions are in a many to many
relationship to roles, roles are related to groups are related to users, all
in many to many relationships.
EasyDesk 에서는 User-Group-Role 관계(EasyDeskUserGroupRole) 를 다룬다.
- Author:
- Eric Pugh
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddUserGroupRole(EasyDeskUserGroupRole userGroupRole) Add a User/Group/Role relation to this entity<T extends EasyDeskUserGroupRole>
Set<T> Get the User/Group/Role set associated with this entityvoidremoveUserGroupRole(EasyDeskUserGroupRole userGroupRole) Remove a User/Group/Role relation from this entity<T extends EasyDeskUserGroupRole>
voidsetUserGroupRoleSet(Set<T> userGroupRoleSet) Set the User/Group/Role set associated with this entity
-
Method Details
-
getUserGroupRoleSet
Get the User/Group/Role set associated with this entity- Type Parameters:
T- EasyDeskUserGroupRole- Returns:
- a set of User/Group/Role relations
- Throws:
DataBackendException- generic exception
-
setUserGroupRoleSet
Set the User/Group/Role set associated with this entity- Type Parameters:
T- EasyDeskUserGroupRole- Parameters:
userGroupRoleSet- a set of User/Group/Role relations
-
addUserGroupRole
Add a User/Group/Role relation to this entity- Parameters:
userGroupRole- a User/Group/Role relation to add- Throws:
DataBackendException- generic exception
-
removeUserGroupRole
Remove a User/Group/Role relation from this entity- Parameters:
userGroupRole- a User/Group/Role relation to remove- Throws:
DataBackendException- generic exception
-