Interface EasyDeskSecurityEntityModel

All Superinterfaces:
SecurityEntityModel, Serializable
All Known Implementing Classes:
EasyDeskSecurityEntityModelImpl

public interface EasyDeskSecurityEntityModel extends SecurityEntityModel
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 Details

    • getUserGroupRoleSet

      <T extends EasyDeskUserGroupRole> Set<T> getUserGroupRoleSet() throws DataBackendException
      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

      <T extends EasyDeskUserGroupRole> void setUserGroupRoleSet(Set<T> userGroupRoleSet)
      Set the User/Group/Role set associated with this entity
      Type Parameters:
      T - EasyDeskUserGroupRole
      Parameters:
      userGroupRoleSet - a set of User/Group/Role relations
    • addUserGroupRole

      void addUserGroupRole(EasyDeskUserGroupRole userGroupRole) throws DataBackendException
      Add a User/Group/Role relation to this entity
      Parameters:
      userGroupRole - a User/Group/Role relation to add
      Throws:
      DataBackendException - generic exception
    • removeUserGroupRole

      void removeUserGroupRole(EasyDeskUserGroupRole userGroupRole) throws DataBackendException
      Remove a User/Group/Role relation from this entity
      Parameters:
      userGroupRole - a User/Group/Role relation to remove
      Throws:
      DataBackendException - generic exception