Package com.easydesk.om.manager
Class ItemTypeManager
java.lang.Object
org.apache.torque.manager.AbstractBaseManager<ItemType>
com.easydesk.om.manager.base.BaseItemTypeManager
com.easydesk.om.manager.ItemTypeManager
- All Implemented Interfaces:
ArtifactizableManager<ItemType>,OptionableManager<ItemType>,Serializable,CacheListener<Persistent>
public class ItemTypeManager
extends BaseItemTypeManager
implements ArtifactizableManager<ItemType>, OptionableManager<ItemType>, CacheListener<Persistent>
This class manages ItemType objects. Artifact Type Artifactizable(ItemType)
Optionable(ItemType) 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 ItemTypeBean
- See Also:
-
Field Summary
Fields inherited from class com.easydesk.om.manager.base.BaseItemTypeManager
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_NAMEFields inherited from interface com.easydesk.om.manager.OptionableManager
GET_BY_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDOCUMENT ME!static boolean동일 이름의 ItemType 이 등록되어 있는지 확인한다.static ItemType[]이름에 해당하는 ItemType 을 구한다.getChildren(AttributeOption option) DOCUMENT ME!getChildrenImpl(AttributeOption option) AttributeOption 의 자식 option 들에 해당하는 optionable 목록을 구한다.getInstanceImpl(AttributeOption option) AttributeOption 에 해당하는 optionable 을 구한다.getInstanceImpl(String name) 이름에 해당하는 optionable 을 구한다.fields which interest us with respect to cache eventsgetItemTypes(boolean includeSystemDefined) 전체 ItemType 목록을 구한다.static ItemTypegetNewInstance(Item item) DOCUMENT ME!voidDOCUMENT ME!voidDOCUMENT ME!protected voidNotify other managers with relevant CacheEvents.voidDOCUMENT ME!Methods inherited from class com.easydesk.om.manager.base.BaseItemTypeManager
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
-
Constructor Details
-
ItemTypeManager
Creates a newItemTypeManagerinstance.- Throws:
TorqueException- if an error occurs
-
-
Method Details
-
getItemTypes
전체 ItemType 목록을 구한다.- Parameters:
includeSystemDefined- System 에서 정의한 ItemType(ItemTypeEnum) 을 포함할지 여부- Returns:
- ItemType 목록
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getInstanceImpl
이름에 해당하는 optionable 을 구한다.- Specified by:
getInstanceImplin interfaceOptionableManager<ItemType>- Parameters:
name- optionable 이름- Returns:
- optionable
- Throws:
UnknownEntityException- 이름에 해당하는 optionable 이 없는 경우
-
getInstanceImpl
AttributeOption 에 해당하는 optionable 을 구한다.- Specified by:
getInstanceImplin interfaceOptionableManager<ItemType>- Parameters:
option- 대상 AttributeOption- Returns:
- optionable
- Throws:
UnknownEntityException- option 에 해당하는 optionable 이 없는 경우
-
getChildrenImpl
AttributeOption 의 자식 option 들에 해당하는 optionable 목록을 구한다.- Specified by:
getChildrenImplin interfaceOptionableManager<ItemType>- Parameters:
option- 부모 AttributeOption- Returns:
- child optionable list
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getChildren
DOCUMENT ME!- Parameters:
option- DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
exists
동일 이름의 ItemType 이 등록되어 있는지 확인한다.- Parameters:
name- ItemType 이름- Returns:
- 등록되어 있으면
true
-
getByName
이름에 해당하는 ItemType 을 구한다.- Parameters:
name- ItemType 이름- Returns:
- ItemType
-
registerAsListener
protected void registerAsListener()Notify other managers with relevant CacheEvents.- Overrides:
registerAsListenerin classAbstractBaseManager<ItemType>
-
notifyListeners
DOCUMENT ME!- Parameters:
om- DOCUMENT ME!
-
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>
-
getNewInstance
- Parameters:
item-- Throws:
Exception
-
getOMInstanceForArtifactizable
DOCUMENT ME!- Specified by:
getOMInstanceForArtifactizablein interfaceArtifactizableManager<ItemType>- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- instance 생성 중 오류가 발생한 경우
-