Package com.easydesk.om.manager
Class ModuleManager
java.lang.Object
org.apache.torque.manager.AbstractBaseManager<EasyDeskModule>
com.easydesk.om.manager.base.BaseModuleManager
com.easydesk.om.manager.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 Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringDOCUMENT ME!protected static final StringDOCUMENT ME!Fields inherited from class com.easydesk.om.manager.base.BaseModuleManager
DEFAULT_MANAGER_CLASS, MANAGED_CLASSFields inherited from class org.apache.torque.manager.AbstractBaseManager
cache, groupCache, log, mrCacheFields inherited from interface com.easydesk.om.manager.ArtifactizableManager
GET_ALL_INSTANCE, GET_ALL_METHOD_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDOCUMENT ME!static EasyDeskModulegetInstance(GroupEnum groupEnum) DOCUMENT ME!static EasyDeskModulegetInstance(Group group) DOCUMENT ME!static ModulegetInstance(String moduleRealNameORmoduleCode) 현재 사용되고 있는 Module 중에서 구한다.static ModulegetInstance(String moduleDomain, String moduleRealName, String moduleCode) Get an instance of a Module by realName and code.static ModulegetInstanceByClassKey(int classKey) protected ModulegetInstanceImpl(String moduleDomain, String moduleRealName, String moduleCode) Get an instance of a Module by realName and code.fields which interest us with respect to cache eventsstatic ModulegetNewInstance(Item item) only getInstance for user group ( StudyGroup instance)DOCUMENT ME!static booleanisSystemTemplate(Module module) module 이 system defined template 로 정의되어 있는지 다른 모든 template module 은 이 module 을 template 로 설정한다.voidDOCUMENT ME!voidDOCUMENT ME!protected voidvoidDOCUMENT ME!Methods inherited from class com.easydesk.om.manager.base.BaseModuleManager
addCacheListener, clear, exists, existsImpl, getCachedInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstances, getInstances, getManager, getMethodResult, putInstance, retrieveStoredOM, retrieveStoredOMsMethods inherited from class org.apache.torque.manager.AbstractBaseManager
addCacheListenerImpl, addValidField, cacheGet, clearImpl, dispose, getClassName, getMethodResultCache, getOMClass, getOMInstance, getOMInstance, getOMInstance, getOMs, getOMs, getOMs, getRegion, notifyListeners, putInstanceImpl, putInstanceImpl, removeInstanceImpl, setClassName, setOMClass, setRegionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.easydesk.om.manager.ArtifactizableManager
getAllInstance, getMethodResultCache
-
Field Details
-
GET_INSTANCE_IMPL
DOCUMENT ME!- See Also:
-
MODULE_MANAGER
DOCUMENT ME!- See Also:
-
-
Constructor Details
-
ModuleManager
Creates a newModuleManagerinstance.- Throws:
TorqueException- if an error occurs
-
-
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 domainmoduleRealName- module 실제 이름moduleCode- module code- Returns:
- Module
- Throws:
TorqueException- 조회 결과가 하나가 아니거나 조회 중 오류가 발생한 경우
-
getInstance
DOCUMENT ME!- Parameters:
group- DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
getInstance
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 domainmoduleRealName- module 실제 이름moduleCode- module code- Returns:
- Module
- Throws:
TorqueException- 조회 결과가 하나가 아니거나 조회 중 오류가 발생한 경우
-
getInstance
현재 사용되고 있는 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
module 이 system defined template 로 정의되어 있는지 다른 모든 template module 은 이 module 을 template 로 설정한다.- Parameters:
module- 확인할 Module- Returns:
- system defined template 이면
true
-
notifyListeners
DOCUMENT ME!- Parameters:
om- DOCUMENT ME!
-
registerAsListener
protected void registerAsListener()- Overrides:
registerAsListenerin classAbstractBaseManager<EasyDeskModule>
-
addedObject
DOCUMENT ME!- Specified by:
addedObjectin interfaceCacheListener<Persistent>- Parameters:
om- DOCUMENT ME!
-
refreshedObject
DOCUMENT ME!- Specified by:
refreshedObjectin interfaceCacheListener<Persistent>- Parameters:
om- DOCUMENT ME!
-
removedObject
DOCUMENT ME!- Specified by:
removedObjectin interfaceCacheListener<Persistent>- Parameters:
om- DOCUMENT ME!
-
getInterestedFields
fields which interest us with respect to cache events- Specified by:
getInterestedFieldsin interfaceCacheListener<Persistent>
-
getInstanceByClassKey
- Parameters:
classKey-- Throws:
TorqueException
-
getNewInstance
only getInstance for user group ( StudyGroup instance)- Parameters:
item-- Returns:
- StudyGroup Instance
- Throws:
Exception
-
getOMInstanceForArtifactizable
DOCUMENT ME!- Specified by:
getOMInstanceForArtifactizablein interfaceArtifactizableManager<EasyDeskModule>- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- instance 생성 중 오류가 발생한 경우
-