Class EasyDeskGroupImpl

java.lang.Object
com.easydesk.om.BaseEasyDeskGroupImpl
com.easydesk.om.EasyDeskGroupImpl
All Implemented Interfaces:
Cacheable, Artifactizable, EasyDeskGroup, Group, Identifiable<Long>, SecurityEntity<Long>, Serializable, ColumnAccessByName, ObjectModel, Persistent

public class EasyDeskGroupImpl extends BaseEasyDeskGroupImpl implements EasyDeskGroup, Cacheable, Artifactizable
The skeleton for this class was autogenerated by Torque on: [Thu Aug 06 20:45:01 KST 2026] You should add additional methods to this class to meet the application requirements. This class will only be generated as long as it does not already exist in the output directory.
  • Constructor Details

    • EasyDeskGroupImpl

      public EasyDeskGroupImpl()
      새로운 EasyDeskGroupImpl 인스턴스를 생성한다.
  • Method Details

    • save

      public void save() throws Exception
      Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed.
      Specified by:
      save in interface Persistent
      Overrides:
      save in class BaseEasyDeskGroupImpl
      Throws:
      Exception - 저장 중 오류가 발생한 경우
    • getRoles

      public RoleSet<EasyDeskRoleImpl> getRoles()
      Description copied from interface: Group
      Returns the role set defined by this group.
      Specified by:
      getRoles in interface Group
      Returns:
      roleSet which defined in this Group
    • hasRole

      public boolean hasRole(Role role)
      group 이 role 을 가지고 있는지 확인한다.
      Specified by:
      hasRole in interface Group
      Parameters:
      role - 확인할 role
      Returns:
      true hasRole or false
    • getUsers

      public UserSet<EasyDeskUserImpl> getUsers(Role... roles)
      group 에서 주어진 role 을 가진 사용자들을 구한다.
      Specified by:
      getUsers in interface Group
      Parameters:
      roles - if null all roles will apply
      Returns:
      사용자 Set
    • getArtifactType

      public ItemType getArtifactType() throws TorqueException
      itemable Object 의 itemType
      Specified by:
      getArtifactType in interface Artifactizable
      Returns:
      itemType
      Throws:
      TorqueException - 조회 중 오류가 발생한 경우
    • getMethodCache

      public MethodResultCache getMethodCache()
      Specified by:
      getMethodCache in interface Cacheable
      Returns:
      MethodResultCache
    • clear

      public void clear()
      Description copied from interface: Cacheable
      clear this Serializable instance cache
      Specified by:
      clear in interface Cacheable