Package com.easydesk.security.model
Class EasyDeskSecurityEntityModelImpl
java.lang.Object
com.easydesk.security.model.EasyDeskSecurityEntityModelImpl
- All Implemented Interfaces:
EasyDeskSecurityEntityModel,SecurityEntityModel,Serializable
한 사용자의 User-Group-Role 관계를 조회하는 EasyDeskSecurityEntityModel 구현.
조회만 지원하며, 관계의 설정, 추가, 삭제는 지원하지 않는다. (EasyDeskModelManager 를 사용한다)
- Author:
- Youngho Cho
- See Also:
-
Constructor Summary
Constructors -
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 uservoidremoveUserGroupRole(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.
-
Constructor Details
-
EasyDeskSecurityEntityModelImpl
사용자에 대한 model 을 생성한다.- Parameters:
user- 대상 사용자
-
-
Method Details
-
getUserGroupRoleSet
Get the User/Group/Role set associated with this user- Specified by:
getUserGroupRoleSetin interfaceEasyDeskSecurityEntityModel- Type Parameters:
T- EasyDeskUserGroupRole- Returns:
- a set of User/Group/Role relations (변경 불가능한 Set)
- Throws:
DataBackendException- 조회 중 오류가 발생한 경우
-
setUserGroupRoleSet
Set the User/Group/Role set associated with this entity. 지원하지 않는다.- Specified by:
setUserGroupRoleSetin interfaceEasyDeskSecurityEntityModel- Type Parameters:
T- EasyDeskUserGroupRole- Parameters:
userGroupRoleSet- a set of User/Group/Role relations- Throws:
UnsupportedOperationException- 항상 발생
-
addUserGroupRole
Add a User/Group/Role relation to this entity. 지원하지 않는다.- Specified by:
addUserGroupRolein interfaceEasyDeskSecurityEntityModel- Parameters:
userGroupRole- a User/Group/Role relation to add- Throws:
DataBackendException- 발생하지 않는다UnsupportedOperationException- 항상 발생
-
removeUserGroupRole
Remove a User/Group/Role relation from this entity. 지원하지 않는다.- Specified by:
removeUserGroupRolein interfaceEasyDeskSecurityEntityModel- Parameters:
userGroupRole- a User/Group/Role relation to remove- Throws:
DataBackendException- 발생하지 않는다UnsupportedOperationException- 항상 발생
-