Package com.easydesk.om
Class ItemTypeAttribute
java.lang.Object
com.easydesk.om.BaseItemTypeAttribute
com.easydesk.om.ItemTypeAttribute
- All Implemented Interfaces:
Deletable,LocalizableOM,Orderable<ItemTypeAttribute>,Serializable,Comparable<ItemTypeAttribute>,ColumnAccessByName,ObjectModel,Persistent
public class ItemTypeAttribute
extends BaseItemTypeAttribute
implements Deletable, LocalizableOM, Orderable<ItemTypeAttribute>
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandelete(EasyDeskUser user) Delete the record.booleandelete(EasyDeskUser user, boolean overrideLock) Delete the record.Gets a list of all of the global attributes options that are not associated with this item typeDeprecated.use getValueFormatter();getItemTypeOption(AttributeOption option) option 에 해당하는 ItemTypeOption 을 구한다.Gets all active associated attribute options.getItemTypeOptions(boolean activeOnly) Gets all associated attribute options.getLocalized(AttributeOption option, Locale locale) Global module 에서 option 의 localized 정보(OptionDescription)를 구한다.getLocalized(Locale locale) locale 에 해당하는 localized 정보를 구한다.이 ItemTypeAttribute 에 정의된 Transition List 을 구한다.Global itemTypeAttribute 의 validator 를 구한다.Date, Number, String 등의 Format String 을 구한다.booleanhas(AttributeOption option) DOCUMENT ME!booleanAvoids a problem with intake and not having a getter.voidsave()Stores the object in the database.Methods inherited from class com.easydesk.om.BaseItemTypeAttribute
copy, copy, copy, copy, copyInto, copyInto, copyInto, copyInto, equals, getAttribute, getAttribute, getAttributeId, getByName, getByPeerName, getByPosition, getFieldNames, getForeignKeyForAttribute, getForeignKeyForItemType, getItemType, getItemType, getItemTypeId, getOrder, getPeer, getPrimaryKey, getTableMap, hashCode, isActive, isCacheOnSave, isDedupeCheck, isDefaultTextFlag, isDeleted, isLoading, isLocked, isModified, isNew, isQuickSearch, isRequired, isSaving, resetModified, save, save, setActive, setAttribute, setAttributeId, setAttributeKey, setByName, setByPeerName, setByPosition, setDedupeCheck, setDefaultTextFlag, setDeleted, setItemType, setItemTypeId, setItemTypeKey, setLoading, setLocked, setModified, setNew, setOrder, setPrimaryKey, setPrimaryKey, setPrimaryKey, setQuickSearch, setRequired, setSaving, 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
-
ItemTypeAttribute
public ItemTypeAttribute()새로운ItemTypeAttribute인스턴스를 생성한다.
-
-
Method Details
-
save
Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed.- Specified by:
savein interfacePersistent- Overrides:
savein classBaseItemTypeAttribute- Throws:
Exception- 저장 중 오류가 발생한 경우
-
isDefaultText
Avoids a problem with intake and not having a getter. It always returns false, but the method is not used in code. Assuming some logic should be used here, see RModuleAttribute for a similar method that is functional.- Returns:
- false
- Throws:
Exception- 처리 중 오류가 발생한 경우
-
getAvailableAttributeOptions
Gets a list of all of the global attributes options that are not associated with this item type- Returns:
- 이 item type 에 연결되지 않은 AttributeOption 목록
- Throws:
Exception- 조회 중 오류가 발생한 경우
-
getItemTypeOptions
Gets all active associated attribute options. 순서는 PreferedOrder 와 Option Name 순이다.- Returns:
- active ItemTypeOption 목록
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getItemTypeOptions
Gets all associated attribute options. 순서는 PreferedOrder 와 Option Name 순이다.- Parameters:
activeOnly- active 인 것만 구할지 여부- Returns:
- ItemTypeOption 목록
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getItemTypeOption
public ItemTypeOption getItemTypeOption(AttributeOption option) throws TorqueException, NoSuchElementException option 에 해당하는 ItemTypeOption 을 구한다.- Parameters:
option- 대상 AttributeOption- Returns:
- ItemTypeOption or 없으면 null
- Throws:
TorqueException- 조회 중 오류가 발생한 경우NoSuchElementException- option 에 해당하는 ItemTypeOption 이 없는 경우
-
has
DOCUMENT ME!- Parameters:
option- DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
delete
Delete the record. -
delete
Delete the record. -
getLocalized
locale 에 해당하는 localized 정보를 구한다.- Specified by:
getLocalizedin interfaceLocalizableOM- Parameters:
locale- 대상 locale- Returns:
- localized[]
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getLocalized
Global module 에서 option 의 localized 정보(OptionDescription)를 구한다.- Parameters:
option- 대상 AttributeOptionlocale- 대상 locale- Returns:
- OptionDescription
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getFormatter
Deprecated.use getValueFormatter();Date, Number, String 등의 Format String 을 구한다. 정의가 안되어 있으며 Attribute 에서 구한다.- Returns:
- ValueFormatter
- Throws:
Exception- 조회 중 오류가 발생한 경우
-
getValueFormatter
Date, Number, String 등의 Format String 을 구한다. 정의가 안되어 있으며 Attribute 에서 구한다.- Returns:
- ValueFormatter
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getValidator
Global itemTypeAttribute 의 validator 를 구한다.- Returns:
- Validator for global itemTypeAttribute if not defined return global attribute validator
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getTransitions
이 ItemTypeAttribute 에 정의된 Transition List 을 구한다.- Returns:
- transition list
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-