Package com.easydesk.om
Class ModuleAttribute
java.lang.Object
com.easydesk.om.BaseModuleAttribute
com.easydesk.om.ModuleAttribute
- All Implemented Interfaces:
Cacheable,Deletable,Orderable<ModuleAttribute>,Serializable,Comparable<ModuleAttribute>,ColumnAccessByName,ObjectModel,Persistent
public class ModuleAttribute
extends BaseModuleAttribute
implements Deletable, Orderable<ModuleAttribute>, 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.
-
Nested Class Summary
Nested Classes -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()clear this Serializable instance cachebooleandelete(EasyDeskUser user) DOCUMENT ME!booleandelete(EasyDeskUser user, boolean overrideLock) DOCUMENT ME!protected List<ModuleOption> 모든 ModuleOption 을 구한다gets a list of all of the Attribute options that are not associated with this module and attribute.ItemTypeAttribute 를 구한다 존재하지 않은면 null 을 returnDOCUMENT ME!getLeafModuleOptions(boolean activeOnly) Option List 의 Leaf 만 구한다. ( 검색에서 사용 )DOCUMENT ME!DOCUMENT ME!getModuleOption(AttributeOption option) DOCUMENT ME!Active ModuleOption List 를 구한다.getModuleOptions(boolean activeOnly) ModuleOption List 를 구한다.Gets a list of active ModuleOptions which have had their level within the options for this module set.getOptionTree(boolean activeOnly) Gets a list of ModuleOptions which have had their level within the options for this module set. ( Order 보다 Parent-Child 가 우선 적용된다. )intGets a list of active ModuleOptions which have had their level within the options for this module set.intgetOrderDiff(String first, String second) first order - second order 를 구한다.Validator 를 구한다.Date, Number, String 등의 Format String 을 구한다.booleanhas(AttributeOption option) ModuleAttribute 에 option 이 등록되어 있는지 확인한다.voidsave()(non-Javadoc)voidDOCUMENT ME!Methods inherited from class com.easydesk.om.BaseModuleAttribute
copy, copy, copy, copy, copyInto, copyInto, copyInto, copyInto, equals, getAttribute, getAttribute, getAttributeId, getByName, getByPeerName, getByPosition, getEasyDeskModule, getEasyDeskModule, getFieldNames, getForeignKeyForAttribute, getForeignKeyForEasyDeskModule, getForeignKeyForItemType, getItemType, getItemType, getItemTypeId, getModuleId, getOrder, getPeer, getPrimaryKey, getTableMap, hashCode, isActive, isCacheOnSave, isDedupeCheck, isDefaultTextFlag, isDeleted, isLoading, isModified, isNew, isQuickSearch, isRequired, isSaving, isUnique, resetModified, save, save, setActive, setAttribute, setAttributeId, setAttributeKey, setByName, setByPeerName, setByPosition, setDedupeCheck, setDefaultTextFlag, setDeleted, setEasyDeskModule, setEasyDeskModuleKey, setItemType, setItemTypeId, setItemTypeKey, setLoading, setModified, setModuleId, setNew, setOrder, setPrimaryKey, setPrimaryKey, setPrimaryKey, setQuickSearch, setRequired, setSaving, setUnique, toString, valueEqualsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.torque.om.ObjectModel
getPrimaryKey, isModified, isNew, setModified, setNew, setPrimaryKey, setPrimaryKeyMethods inherited from interface org.apache.torque.om.Persistent
save, save
-
Constructor Details
-
ModuleAttribute
public ModuleAttribute()새로운ModuleAttribute인스턴스를 생성한다.
-
-
Method Details
-
getModule
DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
setModule
DOCUMENT ME!- Parameters:
module- DOCUMENT ME!
-
save
(non-Javadoc)- Specified by:
savein interfacePersistent- Overrides:
savein classBaseModuleAttribute- Throws:
Exception- if an error occurs during saving.- See Also:
-
getModuleItemType
DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
getItemTypeAttribute
ItemTypeAttribute 를 구한다 존재하지 않은면 null 을 return- Returns:
- ItemTypeAttribute, 없으면
null - Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getModuleOption
DOCUMENT ME!- Parameters:
option- DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
getModuleOptions
Active ModuleOption List 를 구한다. 만약 attribute null 이면 empty list 를 보낸다. attribute 가 Option Attribute 가 아니면 empty list 를 보낸다.- Returns:
- active ModuleOption 목록
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getModuleOptions
ModuleOption List 를 구한다. 만약 attribute null 이면 empty list 를 보낸다. attribute 가 Option Attribute 가 아니면 empty list 를 보낸다.- Parameters:
activeOnly- active 인 ModuleOption 만 구할지 여부- Returns:
- ModuleOption 목록
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getAllModuleOptions
모든 ModuleOption 을 구한다- Returns:
- moduleOption list
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getOptionTree
Gets a list of active ModuleOptions which have had their level within the options for this module set.- Returns:
- a
Listvalue - Throws:
TorqueException- if an error occurs
-
getOptionTree
Gets a list of ModuleOptions which have had their level within the options for this module set. ( Order 보다 Parent-Child 가 우선 적용된다. )- Parameters:
activeOnly- abooleanvalue- Returns:
- a
Listvalue - Throws:
TorqueException- if an error occurs
-
getOptionTreeDepth
Gets a list of active ModuleOptions which have had their level within the options for this module set.- Returns:
- a max depth
intvalue - Throws:
TorqueException- if an error occurs
-
has
ModuleAttribute 에 option 이 등록되어 있는지 확인한다.- Parameters:
option- 확인할 AttributeOption- Returns:
- true/false
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getAvailableAttributeOptions
gets a list of all of the Attribute options that are not associated with this module and attribute.- Returns:
- attributeOption list
- Throws:
Exception- 조회 중 오류가 발생한 경우
-
delete
DOCUMENT ME! -
delete
DOCUMENT ME! -
getOrderDiff
first order - second order 를 구한다.- Parameters:
first- 첫 번째 option 이름second- 두 번째 option 이름- Returns:
- 두 option 의 순서 차이
- Throws:
TorqueException- 조회 중 오류가 발생한 경우IllegalArgumentException- option 속성이 아닌 경우
-
getLeafModuleOptions
DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
Exception- DOCUMENT ME!TorqueException
-
getLeafModuleOptions
Option List 의 Leaf 만 구한다. ( 검색에서 사용 )- Parameters:
activeOnly- DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
Exception- DOCUMENT ME!TorqueException
-
getValueFormatter
Date, Number, String 등의 Format String 을 구한다. ModuleAttribute 에 정의되어 있지 않으면 ItemTypeAttribute 에서 구한다.- Returns:
- ValueFormatter
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getValidator
Validator 를 구한다. 없으면 ItemTypeAttribute 의 것을 구한다.- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
getMethodCache
- Specified by:
getMethodCachein interfaceCacheable- Returns:
- MethodResultCache
-
clear
public void clear()Description copied from interface:Cacheableclear this Serializable instance cache
-