Package com.easydesk.om
Class Attribute
java.lang.Object
com.easydesk.om.BaseAttribute
com.easydesk.om.Attribute
- All Implemented Interfaces:
Cacheable,Artifactizable,Optionable<Attribute>,Identifiable<Integer>,Serializable,ColumnAccessByName,ObjectModel,Persistent
public class Attribute
extends BaseAttribute
implements Artifactizable, Optionable<Attribute>, Identifiable<Integer>, Cacheable
속성(Attribute) OM. 속성의 option, transition, condition, module/itemType mapping 을 관리한다.
- Version:
- $id: Attribute.java $Revision$, 03-02-22 11:30:05 AM KST
- Author:
- Youngho Cho
-
Field Summary
Fields inherited from class com.easydesk.om.BaseAttribute
collActivitys, collAttributeAttributeGroups, collAttributeOptions, collAttributeValues, collConditionsRelatedByAttributeId, collConditionsRelatedByRAttributeId, collEasyDeskValidators, collEasyErrors, collItemCounters, collItemTypeAttributes, collLocalizedSequenceInfos, collModuleAttributes, collModuleUserAttributes, collQueryValues, collReportHeads, collTransitionConditions, collTransitions, collTransitionSequences, collUserAttributeOptions, collValueFormattersFields inherited from interface com.easydesk.om.Artifactizable
ARTIFACTIZABLE_PATTERN, ATTRIBUTE_MAP_PATTERNFields inherited from interface com.easydesk.om.Optionable
ALL, GET_BY_NAME, NAME_SEPERATOR, OPTIONABLE_PATTERN, ROOT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()clear this Serializable instance cachevoidDelete mappings with global item types.voiddeleteModuleMappings(Module module, EasyDeskUser user) Delete mappings with module ( All Module : all modules, others each module ) and all item types.findMatchingTransition(String fromValue, String toValue) From --> To 가 일치하는 것을 찾는다.fixedRefers to Global Item TypesOptionable implements Optionable 을 형성하는 AttributeOptionable implementsGets one of the options belonging to this attribute.getAttributeOptionByName(String pathName) Get an option in this attribute by String pathName.getAttributeOptions(boolean includeDeleted) Get a list of all attribute options or just the ones that have not been marked as deleted.getAttributeOptions(boolean includeDeleted, boolean firstChildOnly) Get a list of all attribute options or just the ones that have not been marked as deleted.protected List<AttributeOption> getAttributeOptions(OptionRelationship optionRelationship, AttributeOption parent) DOCUMENT ME!protected List<AttributeOption> getAttributeOptions(OptionRelationship optionRelationship, AttributeOption parent, boolean includeDeleted) DOCUMENT ME!삭제된 것을 포함한 모든 자손들의 OptionName List 를 구한다.get all condition which is applied in this attribute as globalgetConditions(Attribute rAttribute) get all active condition which is applied in this attribute for given attributegetConditions(Attribute rAttribute, boolean includeDeleted) get all condition which is applied in this attribute for given attributegetConditions(Attribute rAttribute, Transition transition, boolean includeDeleted) get all condition which is applied in this attribute for given attributegetConditions(Attribute rAttribute, Transition transition, ItemType type, boolean includeDeleted) get all condition which is applied in this attribute for given attributegetId()Attribute id 를 구한다.Optionable<?> getOptionable(AttributeOption option) find native om which is corresponding with optiongetOrderedAttributeOptionList(OptionRelationship optionRelationship) Creates an ordered List of AttributeOptions which are children within this Attribute.protected List<OptionOption> getOrderedOptionOptionList(OptionRelationship optionRelationship) Creates an ordered List of OptionOption which are children within this Attribute.부모 Attribute 를 구한다.This returns a list of ParentChildAttributeOption objects which have been populated with combined join data from OptionOption and the AttributeOption table.getParentChildAttributeOptions(OptionRelationship optionRelationship) This returns a list of ParentChildAttributeOption objects which have been populated with combined join data from OptionOption and the AttributeOption table.이 Attribute 와 관련된 권한을 구한다.맨 상위 Option 들을 구한다.protected List<AttributeOption> getTopAttributeOptions(boolean includeDeleted) DOCUMENT ME!getTransition(String from, String to) find transition which is set up in this attribute이 Attribute 에 정의된 모든 Transition List 을 구한다.기본 transition(ANY --> option) 을 제외한 transition 목록을 구한다.global attribute 의 validator 를 구한다.global attribute 의 ValueFormatter 를 구한다.booleanRefers to global issue types.booleanhasGlobalMapping(ItemType itemType) Refers to global issue types.booleanhasMapping(Module module, ItemType itemType) 이 attribute 가 module 과 itemType 에 mapping 되어 있는지 확인한다.boolean이 attribute 가 module 에 mapping 되어 있는지 확인한다.voidsave()Stores the object in the database.voidIdentifiable implementationvoidDOCUMENT ME!toString()reformatting versionMethods inherited from class com.easydesk.om.BaseAttribute
addActivity, addActivity, addAttributeAttributeGroup, addAttributeAttributeGroup, addAttributeOption, addAttributeOption, addAttributeValue, addAttributeValue, addConditionRelatedByAttributeId, addConditionRelatedByAttributeId, addConditionRelatedByRAttributeId, addConditionRelatedByRAttributeId, addEasyDeskValidator, addEasyDeskValidator, addEasyError, addEasyError, addItemCounter, addItemCounter, addItemTypeAttribute, addItemTypeAttribute, addLocalizedSequenceInfo, addLocalizedSequenceInfo, addModuleAttribute, addModuleAttribute, addModuleUserAttribute, addModuleUserAttribute, addQueryValue, addQueryValue, addReportHead, addReportHead, addTransition, addTransition, addTransitionCondition, addTransitionCondition, addTransitionSequence, addTransitionSequence, addUserAttributeOption, addUserAttributeOption, addValueFormatter, addValueFormatter, copy, copy, copy, copy, copyInto, copyInto, copyInto, copyInto, equals, getAction, getActivitys, getActivitys, getActivitys, getActivitys, getActivitysJoinActivitySet, getActivitysJoinActivitySet, getActivitysJoinAttachment, getActivitysJoinAttachment, getActivitysJoinAttributeOptionRelatedByNewOptionId, getActivitysJoinAttributeOptionRelatedByNewOptionId, getActivitysJoinAttributeOptionRelatedByOldOptionId, getActivitysJoinAttributeOptionRelatedByOldOptionId, getActivitysJoinDepend, getActivitysJoinDepend, getActivitysJoinEasyDeskUserImplRelatedByNewUserId, getActivitysJoinEasyDeskUserImplRelatedByNewUserId, getActivitysJoinEasyDeskUserImplRelatedByOldUserId, getActivitysJoinEasyDeskUserImplRelatedByOldUserId, getActivitysJoinItem, getActivitysJoinItem, getAttributeAttributeGroups, getAttributeAttributeGroups, getAttributeAttributeGroups, getAttributeAttributeGroups, getAttributeAttributeGroupsJoinAttributeGroup, getAttributeAttributeGroupsJoinAttributeGroup, getAttributeId, getAttributeOptions, getAttributeOptions, getAttributeOptions, getAttributeOptions, getAttributeType, getAttributeType, getAttributeValues, getAttributeValues, getAttributeValues, getAttributeValues, getAttributeValuesJoinAttributeOption, getAttributeValuesJoinAttributeOption, getAttributeValuesJoinDepend, getAttributeValuesJoinDepend, getAttributeValuesJoinEasyDeskUserImpl, getAttributeValuesJoinEasyDeskUserImpl, getAttributeValuesJoinItem, getAttributeValuesJoinItem, getByName, getByPeerName, getByPosition, getConditionRelatedByAttributeIds, getConditionRelatedByAttributeIds, getConditionRelatedByAttributeIds, getConditionRelatedByAttributeIds, getConditionRelatedByAttributeIdsJoinAttributeRelatedByRAttributeId, getConditionRelatedByAttributeIdsJoinAttributeRelatedByRAttributeId, getConditionRelatedByAttributeIdsJoinDependType, getConditionRelatedByAttributeIdsJoinDependType, getConditionRelatedByAttributeIdsJoinModuleItemType, getConditionRelatedByAttributeIdsJoinModuleItemType, getConditionRelatedByAttributeIdsJoinTransition, getConditionRelatedByAttributeIdsJoinTransition, getConditionRelatedByRAttributeIds, getConditionRelatedByRAttributeIds, getConditionRelatedByRAttributeIds, getConditionRelatedByRAttributeIds, getConditionRelatedByRAttributeIdsJoinAttributeRelatedByAttributeId, getConditionRelatedByRAttributeIdsJoinAttributeRelatedByAttributeId, getConditionRelatedByRAttributeIdsJoinDependType, getConditionRelatedByRAttributeIdsJoinDependType, getConditionRelatedByRAttributeIdsJoinModuleItemType, getConditionRelatedByRAttributeIdsJoinModuleItemType, getConditionRelatedByRAttributeIdsJoinTransition, getConditionRelatedByRAttributeIdsJoinTransition, getEasyDeskValidators, getEasyDeskValidators, getEasyDeskValidators, getEasyDeskValidators, getEasyDeskValidatorsJoinAttributeOption, getEasyDeskValidatorsJoinAttributeOption, getEasyDeskValidatorsJoinEasyDeskModule, getEasyDeskValidatorsJoinEasyDeskModule, getEasyDeskValidatorsJoinItemType, getEasyDeskValidatorsJoinItemType, getEasyErrors, getEasyErrors, getEasyErrors, getEasyErrors, getEasyErrorsJoinEasyDeskModule, getEasyErrorsJoinEasyDeskModule, getEasyErrorsJoinItemType, getEasyErrorsJoinItemType, getFieldNames, getForeignKeyForAttributeType, getInitialValue, getItemCounters, getItemCounters, getItemCounters, getItemCounters, getItemCountersJoinItem, getItemCountersJoinItem, getItemTypeAttributes, getItemTypeAttributes, getItemTypeAttributes, getItemTypeAttributes, getItemTypeAttributesJoinItemType, getItemTypeAttributesJoinItemType, getLocalizedSequenceInfos, getLocalizedSequenceInfos, getLocalizedSequenceInfos, getLocalizedSequenceInfos, getLocalizedSequenceInfosJoinAttributeOption, getLocalizedSequenceInfosJoinAttributeOption, getLocalizedSequenceInfosJoinWorkflow, getLocalizedSequenceInfosJoinWorkflow, getModuleAttributes, getModuleAttributes, getModuleAttributes, getModuleAttributes, getModuleAttributesJoinEasyDeskModule, getModuleAttributesJoinEasyDeskModule, getModuleAttributesJoinItemType, getModuleAttributesJoinItemType, getModuleUserAttributes, getModuleUserAttributes, getModuleUserAttributes, getModuleUserAttributes, getModuleUserAttributesJoinEasyDeskModule, getModuleUserAttributesJoinEasyDeskModule, getModuleUserAttributesJoinEasyDeskUserImpl, getModuleUserAttributesJoinEasyDeskUserImpl, getModuleUserAttributesJoinMITList, getModuleUserAttributesJoinMITList, getName, getPeer, getPermissionValue, getPrimaryKey, getQueryValues, getQueryValues, getQueryValues, getQueryValues, getQueryValuesJoinAttributeOption, getQueryValuesJoinAttributeOption, getQueryValuesJoinEasyDeskModule, getQueryValuesJoinEasyDeskModule, getQueryValuesJoinMITList, getQueryValuesJoinMITList, getReportHeads, getReportHeads, getReportHeads, getReportHeads, getReportHeadsJoinAttributeOption, getReportHeadsJoinAttributeOption, getReportHeadsJoinReport, getReportHeadsJoinReport, getTableMap, getTransitionConditions, getTransitionConditions, getTransitionConditions, getTransitionConditions, getTransitionConditionsJoinEasyDeskModule, getTransitionConditionsJoinEasyDeskModule, getTransitionConditionsJoinEasyDeskUserImpl, getTransitionConditionsJoinEasyDeskUserImpl, getTransitionConditionsJoinItemType, getTransitionConditionsJoinItemType, getTransitions, getTransitions, getTransitions, getTransitionSequences, getTransitionSequences, getTransitionSequences, getTransitionSequences, getTransitionSequencesJoinWorkflow, getTransitionSequencesJoinWorkflow, getTransitionsJoinTransitionCondition, getTransitionsJoinTransitionCondition, getTypeId, getUserAttributeOptions, getUserAttributeOptions, getUserAttributeOptions, getUserAttributeOptions, getUserAttributeOptionsJoinAttributeOption, getUserAttributeOptionsJoinAttributeOption, getUserAttributeOptionsJoinEasyDeskModule, getUserAttributeOptionsJoinEasyDeskModule, getUserAttributeOptionsJoinEasyDeskUserImpl, getUserAttributeOptionsJoinEasyDeskUserImpl, getValueFormatters, getValueFormatters, getValueFormatters, getValueFormatters, getValueFormattersJoinEasyDeskModule, getValueFormattersJoinEasyDeskModule, getValueFormattersJoinItemType, getValueFormattersJoinItemType, hashCode, initActivitys, initAttributeAttributeGroups, initAttributeOptions, initAttributeValues, initConditionRelatedByAttributeIds, initConditionRelatedByRAttributeIds, initEasyDeskValidators, initEasyErrors, initItemCounters, initItemTypeAttributes, initLocalizedSequenceInfos, initModuleAttributes, initModuleUserAttributes, initQueryValues, initReportHeads, initTransitionConditions, initTransitions, initTransitionSequences, initUserAttributeOptions, initValueFormatters, isActivitysInitialized, isAttributeAttributeGroupsInitialized, isAttributeOptionsInitialized, isAttributeValuesInitialized, isCacheOnSave, isCommon, isConditionRelatedByAttributeIdsInitialized, isConditionRelatedByRAttributeIdsInitialized, isDeleted, isEasyDeskValidatorsInitialized, isEasyErrorsInitialized, isGlobal, isItemCountersInitialized, isItemTypeAttributesInitialized, isLoading, isLocalized, isLocalizedSequenceInfosInitialized, isModified, isModuleAttributesInitialized, isModuleUserAttributesInitialized, isNew, isQueryValuesInitialized, isRemoved, isReportHeadsInitialized, isSaving, isTransitionConditionsInitialized, isTransitionSequencesInitialized, isTransitionsInitialized, isUserAttributeOptionsInitialized, isValueFormattersInitialized, resetActivity, resetAttributeAttributeGroup, resetAttributeOption, resetAttributeValue, resetConditionRelatedByAttributeId, resetConditionRelatedByRAttributeId, resetEasyDeskValidator, resetEasyError, resetItemCounter, resetItemTypeAttribute, resetLocalizedSequenceInfo, resetModified, resetModuleAttribute, resetModuleUserAttribute, resetQueryValue, resetReportHead, resetTransition, resetTransitionCondition, resetTransitionSequence, resetUserAttributeOption, resetValueFormatter, save, save, setAction, setAttributeId, setAttributeType, setAttributeTypeKey, setByName, setByPeerName, setByPosition, setCommon, setDeleted, setGlobal, setInitialValue, setLoading, setLocalized, setModified, setName, setNew, setPermissionValue, setPrimaryKey, setPrimaryKey, setRemoved, setSaving, setTypeId, valueEqualsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.easydesk.om.Artifactizable
getArtifact, getArtifactKey, getArtifactModule, getPrimaryKey, getTableMapMethods inherited from interface com.easydesk.om.Optionable
appendOption, getName, getPathName, isRoot, setName
-
Constructor Details
-
Attribute
public Attribute()새로운Attribute인스턴스를 생성한다.
-
-
Method Details
-
getId
Attribute id 를 구한다.- Specified by:
getIdin interfaceIdentifiable<Integer>- Returns:
- attribute id
-
setId
Identifiable implementation- Specified by:
setIdin interfaceIdentifiable<Integer>- Parameters:
id- The new Id of the entity
-
getParent
부모 Attribute 를 구한다.- Specified by:
getParentin interfaceOptionable<Attribute>- Returns:
- parent attribute
-
setParent
DOCUMENT ME!- Specified by:
setParentin interfaceOptionable<Attribute>- Parameters:
optionable- DOCUMENT ME!
-
getChildren
-
getAttribute
Optionable implements Optionable 을 형성하는 Attribute- Specified by:
getAttributein interfaceOptionable<Attribute>- Returns:
- attribute
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getAttributeOption
Optionable implements- Specified by:
getAttributeOptionin interfaceOptionable<Attribute>- Returns:
- attributeOption
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getAttributeOption
Gets one of the options belonging to this attribute. if the PrimaryKey does not belong to an option in this attribute null is returned. 주어진 OptionId 의 Option 이 이 Attribute 에 속하는지를 검증하는 용도로도 사용된다. ( has(id...) 필요????)- Parameters:
id- aIntegervalue- Returns:
- an
AttributeOptionvalue - Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getAttributeOptionByName
Get an option in this attribute by String pathName. OptionAttribute 가 아니면 null 을 return ( 삭제된 AttributeOption 은 제외된댜.)- Parameters:
pathName- option 의 경로 이름- Returns:
- attributeOption or null
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getOrderedOptionOptionList
protected List<OptionOption> getOrderedOptionOptionList(OptionRelationship optionRelationship) throws TorqueException Creates an ordered List of OptionOption which are children within this Attribute. The list is ordered according to the preferred order.- Parameters:
optionRelationship- 대상 OptionRelationship- Returns:
- a List of OptionOption's
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getTopAttributeOptions
맨 상위 Option 들을 구한다.- Returns:
- top AttributeOption list
- Throws:
TorqueException- DOCUMENT ME!
-
getTopAttributeOptions
protected List<AttributeOption> getTopAttributeOptions(boolean includeDeleted) throws TorqueException DOCUMENT ME!- Parameters:
includeDeleted- DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
getAttributeOptions
protected List<AttributeOption> getAttributeOptions(OptionRelationship optionRelationship, AttributeOption parent, boolean includeDeleted) throws TorqueException DOCUMENT ME!- Parameters:
optionRelationship- DOCUMENT ME!parent- DOCUMENT ME!includeDeleted- DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
getAttributeOptions
protected List<AttributeOption> getAttributeOptions(OptionRelationship optionRelationship, AttributeOption parent) throws TorqueException DOCUMENT ME!- Parameters:
optionRelationship- DOCUMENT ME!parent- DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
getAttributeOptions
Get a list of all attribute options or just the ones that have not been marked as deleted.- Parameters:
includeDeleted- 삭제된 option 을 포함할지 여부- Returns:
- AttributeOption 목록
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getAttributeOptions
public List<AttributeOption> getAttributeOptions(boolean includeDeleted, boolean firstChildOnly) throws TorqueException Get a list of all attribute options or just the ones that have not been marked as deleted.- Parameters:
includeDeleted- 삭제된 option 을 포함할지 여부firstChildOnly- 최상위 option 의 바로 아래 자식만 구할지 여부- Returns:
- AttributeOption 목록
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getAssociatedItemTypes
Refers to Global Item Types- Returns:
- A list of global Item Types, this attribute is associated with including deleted one
- Throws:
TorqueException
-
getAttributeOptionsAsName
삭제된 것을 포함한 모든 자손들의 OptionName List 를 구한다.- Returns:
- list of option name
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getTransition
find transition which is set up in this attribute- Parameters:
from- from 값to- to 값- Returns:
- transition which is matched from and to exactly.
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getTransitionsExceptDefaultTranstion
기본 transition(ANY --> option) 을 제외한 transition 목록을 구한다.- Returns:
- 기본 transition 을 제외한 Transition 목록
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getTransitions
이 Attribute 에 정의된 모든 Transition List 을 구한다.- Overrides:
getTransitionsin classBaseAttribute- Returns:
- transition list
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
findMatchingTransition
public Transition findMatchingTransition(String fromValue, String toValue) throws TorqueException, IllegalArgumentException From --> To 가 일치하는 것을 찾는다. 정확히 일치하는 것이 없으면 ANY 를 처리한다. 동일한 경우 null Transition 에 Any To Any 가 정의되어 있고 Condition 이 Blocking 되어 있으면 정의된 Transition 에 한하여만 전이가 가능하다. 하지만 Any To Any 가 정의되어 있지 않거나 Condition 이 Blocking 되어 있지 않으면 정의되지 않은 모든 Transition 도 전이가 가능하다.- Parameters:
fromValue- from 값toValue- to 값- Returns:
- transition which satisfied from and to including ANY if not satified than fresh instance will return, if from and to is same then null return
- Throws:
TorqueException- 조회 중 오류가 발생한 경우IllegalArgumentException- optional attribute and from to state is not it's option then throws
-
getConditions
get all condition which is applied in this attribute as global- Returns:
- conditions list
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getConditions
get all active condition which is applied in this attribute for given attribute- Parameters:
rAttribute- 조건의 기준 attribute- Returns:
- Condition 목록
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getConditions
public List<Condition> getConditions(Attribute rAttribute, boolean includeDeleted) throws TorqueException get all condition which is applied in this attribute for given attribute- Parameters:
rAttribute- 조건의 기준 attributeincludeDeleted- 삭제된 Condition 을 포함할지 여부- Returns:
- Condition 목록
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getConditions
public List<Condition> getConditions(Attribute rAttribute, Transition transition, boolean includeDeleted) throws TorqueException get all condition which is applied in this attribute for given attribute- Parameters:
rAttribute- 조건의 기준 attributetransition- 대상 transitionincludeDeleted- 삭제된 Condition 을 포함할지 여부- Returns:
- Condition 목록
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getConditions
public List<Condition> getConditions(Attribute rAttribute, Transition transition, ItemType type, boolean includeDeleted) throws TorqueException get all condition which is applied in this attribute for given attribute- Parameters:
rAttribute- 조건의 기준 attributetransition- 대상 transitiontype- 대상 ItemTypeincludeDeleted- 삭제된 Condition 을 포함할지 여부- Returns:
- Condition 목록
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getOptionable
find native om which is corresponding with option- Parameters:
option- DOCUMENT ME!- Returns:
- Optionable OM Object
- Throws:
TorqueException- DOCUMENT ME!
-
getParentChildAttributeOptions
This returns a list of ParentChildAttributeOption objects which have been populated with combined join data from OptionOption and the AttributeOption table.- Returns:
- a List of ParentChildAttributeOption objects
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getParentChildAttributeOptions
public List<ParentChildAttributeOption> getParentChildAttributeOptions(OptionRelationship optionRelationship) throws TorqueException This returns a list of ParentChildAttributeOption objects which have been populated with combined join data from OptionOption and the AttributeOption table.- Parameters:
optionRelationship- 대상 OptionRelationship- Returns:
- a List of ParentChildAttributeOption objects
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getOrderedAttributeOptionList
public List<AttributeOption> getOrderedAttributeOptionList(OptionRelationship optionRelationship) throws TorqueException Creates an ordered List of AttributeOptions which are children within this Attribute. The list is ordered according to the preferred order.- Parameters:
optionRelationship- 대상 OptionRelationship- Returns:
- a List of AttributeOption's
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
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 classBaseAttribute- Throws:
Exception- 저장 중 오류가 발생한 경우
-
hasModuleMappings
이 attribute 가 module 에 mapping 되어 있는지 확인한다.- Returns:
- Whether this attribute is mapped to any modules.
- Throws:
Exception- 조회 중 오류가 발생한 경우
-
hasMapping
이 attribute 가 module 과 itemType 에 mapping 되어 있는지 확인한다. -
hasGlobalItemTypeMappings
Refers to global issue types.- Returns:
- Whether this attribute is mapped to any issue types.
- Throws:
Exception- 처리 중 오류가 발생한 경우- See Also:
-
hasGlobalMapping
Refers to global issue types. -
deleteModuleMappings
Delete mappings with module ( All Module : all modules, others each module ) and all item types.- Parameters:
module- All 이면 모든 module 에서 제거된다.user- actor- Throws:
Exception- 삭제 중 오류가 발생한 경우
-
deleteItemTypeMappings
Delete mappings with global item types.- Parameters:
user- actor- Throws:
Exception- 삭제 중 오류가 발생한 경우
-
getPermission
이 Attribute 와 관련된 권한을 구한다.- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
getArtifactType
fixed- Specified by:
getArtifactTypein interfaceArtifactizable- Returns:
- itemType
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getValueFormatter
global attribute 의 ValueFormatter 를 구한다.- Returns:
- ValueFormatter for global attribute
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getValidator
global attribute 의 validator 를 구한다. (ALL module, ALL itemType 에 대한 attribute 의 validator 이다.) TODO : DB 설정 Check- Returns:
- Validator for global attribute if not defined always true validator
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getMethodCache
- Specified by:
getMethodCachein interfaceCacheable- Returns:
- MethodResultCache
-
clear
public void clear()Description copied from interface:Cacheableclear this Serializable instance cache -
toString
reformatting version- Overrides:
toStringin classBaseAttribute
-