Package com.easydesk.om
Class ModuleItemType
java.lang.Object
com.easydesk.om.BaseModuleItemType
com.easydesk.om.ModuleItemType
- All Implemented Interfaces:
Cacheable,Orderable<ModuleItemType>,Serializable,Comparable<ModuleItemType>,ColumnAccessByName,ObjectModel,Persistent
public class ModuleItemType
extends BaseModuleItemType
implements Orderable<ModuleItemType>, Cacheable
The skeleton for this class was autogenerated by Torque on: [Sun Nov 14
20:29:22 KST 2021] 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.
-
Field Summary
Fields inherited from class com.easydesk.om.BaseModuleItemType
collConditions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()clear this Serializable instance cacheDeprecated.move to modulegetAttributeGroup(Attribute attribute) attribute 가 속한 AttributeGroup 을 구한다.getAttributeGroup(String name) get named attributeGroup which defined in this modueItemTypeDOCUMENT ME!getAttributeGroups(boolean activeOnly) DOCUMENT ME!getAvailableAttributes(String attributeType) gets a list of all of the global Attributes that are not associated with this module and item typeList of active dedupe attribute groups associated with this module.getDedupeAttributeGroups(boolean activeOnly) List of dedupe attribute groups associated with this module.This method is used within Wizard1.vm to get a list of attribute groups which are marked as dedupe and have a list of attributes in them.intGets the sequence where the dedupe screen fits between groups.getDefaultTemplate(Scope scope, ActivitySet activitySet) Default Template 를 구한다.if an RMA is the chosen attribute for email subjects then return it. if not explicitly chosen, choose the highest ordered text attribute.DOCUMENT ME!DOCUMENT ME!getModuleAttribute(Attribute attribute) attribute 에 해당하는 ModuleAttribute 를 구한다.ModuleItemType 에 정의되어 있는 ModuleAttribute list 를 구한다. inactive 도 포함한다.getModuleAttributes(boolean activeOnly) ModuleAttribute 목록을 구한다.getModuleAttributes(boolean activeOnly, String attributeType) attribute 유형에 해당하는 ModuleAttribute 목록을 구한다.Array of Attributes used for quick search.Array of Attributes which are active and required by this module.gets a list of all of the active User Attributes in a Module.getUserAttributes(boolean activeOnly) gets a list of all of the User Attributes in a Module.booleanattribute 가 이 ModuleItemType 에 등록되어 있는지 확인한다.booleanhas(AttributeGroupType agType) DOCUMENT ME!booleanhas(AttributeType attributeType) active attribute 중에 주어진 유형이 있는지 확인한다.voidModuleItemType 이 db 에 등록이 되면, 추가로 관련된 Default AttributeGroup, Attribute 들을 등록한다.voidsave()(non-Javadoc)voidDOCUMENT ME!Methods inherited from class com.easydesk.om.BaseModuleItemType
addCondition, addCondition, copy, copy, copy, copy, copyInto, copyInto, copyInto, copyInto, equals, getByName, getByPeerName, getByPosition, getComments, getConditions, getConditions, getConditions, getConditions, getConditionsJoinAttributeRelatedByAttributeId, getConditionsJoinAttributeRelatedByAttributeId, getConditionsJoinAttributeRelatedByRAttributeId, getConditionsJoinAttributeRelatedByRAttributeId, getConditionsJoinDependType, getConditionsJoinDependType, getConditionsJoinTransition, getConditionsJoinTransition, getEasyDeskModule, getEasyDeskModule, getFieldNames, getForeignKeyForEasyDeskModule, getForeignKeyForItemType, getItemType, getItemType, getMaxVotes, getModuleId, getOrder, getPeer, getPrimaryKey, getTableMap, getTypeId, hashCode, initConditions, isActive, isCacheOnSave, isConditionsInitialized, isDedupe, isDeleted, isDisplay, isLoading, isModeration, isModified, isNew, isSaving, resetCondition, resetModified, save, save, setActive, setByName, setByPeerName, setByPosition, setComments, setDedupe, setDeleted, setDisplay, setEasyDeskModule, setEasyDeskModuleKey, setItemType, setItemTypeKey, setLoading, setMaxVotes, setModeration, setModified, setModuleId, setNew, setOrder, setPrimaryKey, setPrimaryKey, setPrimaryKey, setSaving, setTypeId, toString, valueEquals
-
Constructor Details
-
ModuleItemType
public ModuleItemType()새로운ModuleItemType인스턴스를 생성한다.
-
-
Method Details
-
setModule
DOCUMENT ME!- Parameters:
module- DOCUMENT ME!
-
getModule
DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
save
(non-Javadoc)- Specified by:
savein interfacePersistent- Overrides:
savein classBaseModuleItemType- Throws:
Exception- if an error occurs during saving.- See Also:
-
getModuleAttribute
attribute 에 해당하는 ModuleAttribute 를 구한다.- Parameters:
attribute- 대상 Attribute- Returns:
- moduleAttribute or null
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getModuleAttributes
ModuleItemType 에 정의되어 있는 ModuleAttribute list 를 구한다. inactive 도 포함한다.- Returns:
- moduleAttribute list
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getModuleAttributes
ModuleAttribute 목록을 구한다.- Parameters:
activeOnly- active 인 것만 구할지 여부- Returns:
- moduleAttribute list
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getModuleAttributes
public List<ModuleAttribute> getModuleAttributes(boolean activeOnly, String attributeType) throws TorqueException attribute 유형에 해당하는 ModuleAttribute 목록을 구한다.- Parameters:
activeOnly- active 인 것만 구할지 여부attributeType- attribute 유형 (AttrTypeEnum 이름)- Returns:
- moduleAttribute list
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getDefaultTemplate
Default Template 를 구한다. Default Template 는 system reserved name 을 같고 있다. 구하는 로직 해당 Scope 에 생성된 것이 없으면, ModuleScope 로 생성되어 있는 것을 찾는다. 만약 ModuleScope 에도 없으면 Module 의 TemplateModule 에 있는 ModuleScope 의 것을 찾는다. 만약 TemplateModule 이 SystemDefined TemplateModule 인데 존재하지 않으면 새로 생성한다.- Parameters:
scope- 대상 ScopeactivitySet- 새로 생성시 필요- Returns:
- template Item
- Throws:
TorqueException- 조회 또는 생성 중 오류가 발생한 경우IllegalArgumentException- template module 에 mit 가 정의되지 않았을 때
-
getDedupeGroupsWithAttributes
This method is used within Wizard1.vm to get a list of attribute groups which are marked as dedupe and have a list of attributes in them.- Returns:
- attribute 가 있는 dedupe AttributeGroup 목록
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getDedupeAttributeGroups
List of active dedupe attribute groups associated with this module.- Returns:
- active dedupe AttributeGroup 목록
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getDedupeAttributeGroups
List of dedupe attribute groups associated with this module.- Parameters:
activeOnly- active 인 것만 구할지 여부- Returns:
- dedupe AttributeGroup 목록
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getDedupeSequence
Gets the sequence where the dedupe screen fits between groups.- Returns:
- dedupe 화면의 순서
- Throws:
Exception- 조회 중 오류가 발생한 경우
-
getAttributeGroup
get named attributeGroup which defined in this modueItemType- Parameters:
name- AttributeGroup 이름- Returns:
- named attributeGroup or 없으면 null
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
has
DOCUMENT ME!- Parameters:
agType- DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
has
active attribute 중에 주어진 유형이 있는지 확인한다.- Parameters:
attributeType- 확인할 AttributeType- Returns:
- true/false
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
has
attribute 가 이 ModuleItemType 에 등록되어 있는지 확인한다.- Parameters:
attribute- 확인할 Attribute- Returns:
- true/false
-
getQuickSearchAttributes
Array of Attributes used for quick search.- Returns:
- an
Listof Attribute objects - Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getActiveAttributes
Deprecated.move to moduleArray of active Attributes for an item type.- Returns:
- an
Listof Attribute objects - Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getRequiredAttributes
Array of Attributes which are active and required by this module. Whose attribute group's are also active.- Returns:
- an
Listof Attribute objects - Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getDefaultTextAttribute
if an RMA is the chosen attribute for email subjects then return it. if not explicitly chosen, choose the highest ordered text attribute.- Returns:
- the Attribute to use as the email subject, or null if no suitable Attribute could be found.
- Throws:
Exception- 처리 중 오류가 발생한 경우
-
getAttributeGroup
attribute 가 속한 AttributeGroup 을 구한다.- Parameters:
attribute- 대상 Attribute- Returns:
- attributeGroup
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getAvailableAttributes
gets a list of all of the global Attributes that are not associated with this module and item type- Parameters:
attributeType- attribute 유형- Returns:
- List
- Throws:
Exception- 조회 중 오류가 발생한 경우
-
getAttributeGroups
DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
getAttributeGroups
DOCUMENT ME!- Parameters:
activeOnly- DOCUMENT ME!- Returns:
- AttributeGroup List
- Throws:
TorqueException- DOCUMENT ME!
-
getUserAttributes
gets a list of all of the active User Attributes in a Module.- Returns:
- User Attribute 목록
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getUserAttributes
gets a list of all of the User Attributes in a Module.- Parameters:
activeOnly- active 인 것만 구할지 여부- Returns:
- User Attribute 목록
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
initialize
ModuleItemType 이 db 에 등록이 되면, 추가로 관련된 Default AttributeGroup, Attribute 들을 등록한다.- Throws:
Exception- 등록 중 오류가 발생한 경우
-
getMethodCache
DOCUMENT ME!- Specified by:
getMethodCachein interfaceCacheable- Returns:
- DOCUMENT ME!
-
clear
public void clear()Description copied from interface:Cacheableclear this Serializable instance cache
-