Class ModuleManager

All Implemented Interfaces:
ArtifactizableManager<EasyDeskModule>, Serializable, CacheListener<Persistent>

public class ModuleManager extends BaseModuleManager implements ArtifactizableManager<EasyDeskModule>, CacheListener<Persistent>
This class manages EasyDeskModule objects. Group Detail Representation Table Artifactizable(Group) This class was autogenerated by Torque on: [Sun Nov 14 14:15:17 KST 2021] You should not use this class directly. It should not even be extended; all references should be to EasyDeskModuleBean
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getInstanceImpl

      protected Module getInstanceImpl(String moduleDomain, String moduleRealName, String moduleCode) throws TorqueException
      Get an instance of a Module by realName and code. If the result != 1, then throw a TorqueException.
      Parameters:
      moduleDomain - module domain
      moduleRealName - module 실제 이름
      moduleCode - module code
      Returns:
      Module
      Throws:
      TorqueException - 조회 결과가 하나가 아니거나 조회 중 오류가 발생한 경우
    • getInstance

      public static EasyDeskModule getInstance(Group group) throws TorqueException
      DOCUMENT ME!
      Parameters:
      group - DOCUMENT ME!
      Returns:
      DOCUMENT ME!
      Throws:
      TorqueException - DOCUMENT ME!
    • getInstance

      public static EasyDeskModule getInstance(GroupEnum groupEnum) throws TorqueException
      DOCUMENT ME!
      Parameters:
      groupEnum - DOCUMENT ME!
      Returns:
      DOCUMENT ME!
      Throws:
      TorqueException - DOCUMENT ME!
    • getInstance

      public static Module getInstance(String moduleDomain, String moduleRealName, String moduleCode) throws TorqueException
      Get an instance of a Module by realName and code. If the result != 1, then throw a TorqueException.
      Parameters:
      moduleDomain - module domain
      moduleRealName - module 실제 이름
      moduleCode - module code
      Returns:
      Module
      Throws:
      TorqueException - 조회 결과가 하나가 아니거나 조회 중 오류가 발생한 경우
    • getInstance

      public static Module getInstance(String moduleRealNameORmoduleCode) throws TorqueException
      현재 사용되고 있는 Module 중에서 구한다. RealName 이 다수일 경우 ... Get an instance of a Module by realName and code. If the result != 1, then throw a TorqueException.
      Parameters:
      moduleRealNameORmoduleCode - module realName or moduleCode
      Returns:
      The instance value
      Throws:
      TorqueException - Description of the Exception
    • isSystemTemplate

      public static boolean isSystemTemplate(Module module)
      module 이 system defined template 로 정의되어 있는지 다른 모든 template module 은 이 module 을 template 로 설정한다.
      Parameters:
      module - 확인할 Module
      Returns:
      system defined template 이면 true
    • notifyListeners

      public void notifyListeners(EasyDeskModule om)
      DOCUMENT ME!
      Parameters:
      om - DOCUMENT ME!
    • registerAsListener

      protected void registerAsListener()
      Overrides:
      registerAsListener in class AbstractBaseManager<EasyDeskModule>
    • addedObject

      public void addedObject(Persistent om)
      DOCUMENT ME!
      Specified by:
      addedObject in interface CacheListener<Persistent>
      Parameters:
      om - DOCUMENT ME!
    • refreshedObject

      public void refreshedObject(Persistent om)
      DOCUMENT ME!
      Specified by:
      refreshedObject in interface CacheListener<Persistent>
      Parameters:
      om - DOCUMENT ME!
    • removedObject

      public void removedObject(Persistent om)
      DOCUMENT ME!
      Specified by:
      removedObject in interface CacheListener<Persistent>
      Parameters:
      om - DOCUMENT ME!
    • getInterestedFields

      public List<Column> getInterestedFields()
      fields which interest us with respect to cache events
      Specified by:
      getInterestedFields in interface CacheListener<Persistent>
    • getInstanceByClassKey

      public static Module getInstanceByClassKey(int classKey) throws TorqueException
      Parameters:
      classKey -
      Throws:
      TorqueException
    • getNewInstance

      public static Module getNewInstance(Item item) throws Exception
      only getInstance for user group ( StudyGroup instance)
      Parameters:
      item -
      Returns:
      StudyGroup Instance
      Throws:
      Exception
    • getOMInstanceForArtifactizable

      public Artifactizable getOMInstanceForArtifactizable() throws TorqueException
      DOCUMENT ME!
      Specified by:
      getOMInstanceForArtifactizable in interface ArtifactizableManager<EasyDeskModule>
      Returns:
      DOCUMENT ME!
      Throws:
      TorqueException - instance 생성 중 오류가 발생한 경우