Package com.easydesk.om
Class AttributeGroup
java.lang.Object
com.easydesk.om.BaseAttributeGroup
com.easydesk.om.AttributeGroup
- All Implemented Interfaces:
Cacheable,Deletable,Orderable<AttributeGroup>,Identifiable<Integer>,Serializable,Comparable<AttributeGroup>,ColumnAccessByName,ObjectModel,Persistent
public class AttributeGroup
extends BaseAttributeGroup
implements Deletable, Orderable<AttributeGroup>, Identifiable<Integer>, 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.BaseAttributeGroup
collAttributeAttributeGroups -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()clear this Serializable instance cachebooleandelete(EasyDeskUser user) Delete the record.booleandelete(EasyDeskUser user, boolean overrideLock) Delete the record.getAttributeAttributeGroup(Attribute attribute) Retrieves _ATTRIBUTE_ATTRIBUTEGROUP mapping object for this group And the given attribute except user type attribute.List of Attributes in this group.getId()Get the Id of the Identifiable Entity.List of global issuetype-attribute mappings in this group.DOCUMENT ME!AttributeGroup 이 속한 Module 을 구한다.getModuleAttribute(Attribute attribute) DOCUMENT ME!List of module-attribute mappings in this group.DOCUMENT ME!intgetOrder()Get the value of order.boolean이 group 에 attribute 가 있는지 확인한다.boolean이름이 DefaultGroup 인지 여부 reserved group 이다.booleanisGlobal()Global ItemType 의 AttributeGroup 인지 아니면 ModuleItemType 의 AttributeGroup 인지voidsave()Stores the object in the database.voidSets the Id of the Identifiable Entity.voidDOCUMENT ME!Methods inherited from class com.easydesk.om.BaseAttributeGroup
addAttributeAttributeGroup, addAttributeAttributeGroup, copy, copy, copy, copy, copyInto, copyInto, copyInto, copyInto, equals, getAttributeAttributeGroups, getAttributeAttributeGroups, getAttributeAttributeGroups, getAttributeAttributeGroups, getAttributeAttributeGroupsJoinAttribute, getAttributeAttributeGroupsJoinAttribute, getAttributeGroupId, getAttributeGroupType, getAttributeGroupType, getByName, getByPeerName, getByPosition, getEasyDeskModule, getEasyDeskModule, getFieldNames, getForeignKeyForAttributeGroupType, getForeignKeyForEasyDeskModule, getForeignKeyForItemType, getItemType, getItemType, getItemTypeId, getModuleId, getName, getPeer, getPrimaryKey, getTableMap, hashCode, initAttributeAttributeGroups, isActive, isAttributeAttributeGroupsInitialized, isCacheOnSave, isDedupe, isDeleted, isLoading, isModified, isNew, isSaving, resetAttributeAttributeGroup, resetModified, save, save, setActive, setAttributeGroupId, setAttributeGroupType, setAttributeGroupTypeKey, setByName, setByPeerName, setByPosition, setDedupe, setDeleted, setEasyDeskModule, setEasyDeskModuleKey, setItemType, setItemTypeId, setItemTypeKey, setLoading, setModified, setModuleId, setName, setNew, setOrder, setPrimaryKey, setPrimaryKey, 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
-
AttributeGroup
public AttributeGroup()새로운AttributeGroup인스턴스를 생성한다.
-
-
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 classBaseAttributeGroup- Throws:
Exception- 저장 중 오류가 발생한 경우
-
isGlobal
Global ItemType 의 AttributeGroup 인지 아니면 ModuleItemType 의 AttributeGroup 인지- Returns:
- true/false
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getId
Description copied from interface:IdentifiableGet the Id of the Identifiable Entity.- Specified by:
getIdin interfaceIdentifiable<Integer>- Returns:
- The Id of the entity.
-
setId
Description copied from interface:IdentifiableSets the Id of the Identifiable Entity.- Specified by:
setIdin interfaceIdentifiable<Integer>- Parameters:
id- The new Id of the entity
-
getOrder
public int getOrder()Description copied from class:BaseAttributeGroupGet the value of order.- Specified by:
getOrderin interfaceOrderable<AttributeGroup>- Overrides:
getOrderin classBaseAttributeGroup- Returns:
- the value of order as int
-
getModule
AttributeGroup 이 속한 Module 을 구한다. Global group 이면null이다.- Returns:
- Module
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
setModule
DOCUMENT ME!- Parameters:
module- DOCUMENT ME!
-
getAttributes
List of Attributes in this group.- Returns:
- attribute list
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getItemTypeAttributes
List of global issuetype-attribute mappings in this group. If there are no attributes in this group, then this returns an empty list.- Returns:
- ItemTypeAttribute 목록
- Throws:
Exception- 조회 중 오류가 발생한 경우
-
getModuleAttribute
DOCUMENT ME!- Parameters:
attribute- DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
Exception- DOCUMENT ME!
-
getModuleAttributes
List of module-attribute mappings in this group. If there are no attributes, this method returns an empty list.- Returns:
- ModuleAttribute 목록
- Throws:
Exception- 조회 중 오류가 발생한 경우
-
delete
Delete the record. -
delete
Delete the record. -
has
이 group 에 attribute 가 있는지 확인한다.- Parameters:
attribute- The attribute to check for the existance of in this group.- Returns:
- Whether this attribute group has
attributeas an attribute. - Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getModuleItemType
DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
Exception- DOCUMENT ME!
-
getAttributeAttributeGroup
Retrieves _ATTRIBUTE_ATTRIBUTEGROUP mapping object for this group And the given attribute except user type attribute.- Parameters:
attribute- 대상 Attribute- Returns:
- AttributeAttributeGroup mapping object
- Throws:
Exception- 조회 중 오류가 발생한 경우
-
isDefaultGroup
public boolean isDefaultGroup()이름이 DefaultGroup 인지 여부 reserved group 이다.- Returns:
- true/false
-
getMethodCache
DOCUMENT ME!- Specified by:
getMethodCachein interfaceCacheable- Returns:
- DOCUMENT ME!
-
clear
public void clear()Description copied from interface:Cacheableclear this Serializable instance cache
-