Package com.easydesk.om
Class Transition
java.lang.Object
com.easydesk.om.BaseTransition
com.easydesk.om.Transition
- All Implemented Interfaces:
Cacheable,Deletable,Serializable,ColumnAccessByName,ObjectModel,Persistent
- Author:
- Youngho Cho
-
Field Summary
Fields inherited from class com.easydesk.om.BaseTransition
collConditions, collLocalizedTransitionInfos -
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.getAttributeConditions(Attribute attribute, boolean includeDelete) attribute 에 대한 attribute scope Condition 목록을 구한다.getAttributeConditions(ItemType type, Attribute attribute) ItemType 의 attribute 에 대한 attribute scope Condition 목록을 구한다.getAttributeConditions(ItemType type, Attribute attribute, boolean includeDelete) ItemType 의 attribute 에 대한 attribute scope Condition 목록을 구한다.getAttributeConditions(ModuleItemType mit, Attribute attribute) ModuleItemType 의 attribute 에 대한 attribute scope Condition 목록을 구한다.getAttributeConditions(ModuleItemType mit, Attribute attribute, boolean includeDelete) ModuleItemType 의 attribute 에 대한 attribute scope Condition 목록을 구한다.이 transition 의 Global Attribute 의 Condition 이 포함되어 있다.getConditions(boolean includeDelete) 이 transition 의 Global Attribute 의 Condition 이 포함되어 있다.getConditions(Attribute attribute) Deprecated.더 이상 사용하지 않는다.getConditions(Attribute attribute, boolean includeDelete) Deprecated.더 이상 사용하지 않는다.getConditions(ItemType type) ItemType 에 대한 Condition 목록을 구한다.getConditions(ItemType type, boolean includeDelete) Deprecated.더 이상 사용하지 않는다.RAttribute 를 기준으로 Override 한다.getConditions(ModuleItemType mit, boolean includeDelete) RAttribute 를 기준으로 Override 한다.getConditions(Collection<Condition> conditions, ItemType type) RAttribute 를 기준으로 ItemType 에 대한 Condition 을 filtering 한다.getConditions(Collection<Condition> conditions, ModuleItemType mit) RAttribute 를 기준으로 Condition 을 filtering 한다.Transition 의 Display Name [id] from > togetDisplayName(boolean verbose) DOCUMENT ME!getDisplayName(boolean verbose, String seperator) Transition 의 Display Name [id] from > toDOCUMENT ME!booleanhasAnyRelated(List<AttributeOption> options) DOCUMENT ME!booleanisRelated(AttributeOption option) 이 Transition 이 주어진 Option 의 Transition 을 기술하는 것인지voidsave()Stores the object in the database.Methods inherited from class com.easydesk.om.BaseTransition
addCondition, addCondition, addLocalizedTransitionInfo, addLocalizedTransitionInfo, copy, copy, copy, copy, copyInto, copyInto, copyInto, copyInto, equals, getAttribute, getAttribute, getAttributeId, getByName, getByPeerName, getByPosition, getConditions, getConditions, getConditions, getConditionsJoinAttributeRelatedByAttributeId, getConditionsJoinAttributeRelatedByAttributeId, getConditionsJoinAttributeRelatedByRAttributeId, getConditionsJoinAttributeRelatedByRAttributeId, getConditionsJoinDependType, getConditionsJoinDependType, getConditionsJoinModuleItemType, getConditionsJoinModuleItemType, getFieldNames, getForeignKeyForAttribute, getForeignKeyForTransitionCondition, getFromValue, getLocalizedTransitionInfos, getLocalizedTransitionInfos, getLocalizedTransitionInfos, getLocalizedTransitionInfos, getLocalizedTransitionInfosJoinAttributeOption, getLocalizedTransitionInfosJoinAttributeOption, getPeer, getPrimaryKey, getTableMap, getToValue, getTransitionCondition, getTransitionCondition, getTransitionConditionId, getTransitionId, hashCode, initConditions, initLocalizedTransitionInfos, isCacheOnSave, isConditionsInitialized, isDeleted, isLoading, isLocalizedTransitionInfosInitialized, isModified, isNew, isSaving, resetCondition, resetLocalizedTransitionInfo, resetModified, save, save, setAttribute, setAttributeId, setAttributeKey, setByName, setByPeerName, setByPosition, setDeleted, setFromValue, setLoading, setModified, setNew, setPrimaryKey, setPrimaryKey, setSaving, setToValue, setTransitionCondition, setTransitionConditionId, setTransitionConditionKey, setTransitionId, 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
-
Transition
public Transition()새로운Transition인스턴스를 생성한다.
-
-
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 classBaseTransition- Throws:
Exception- 저장 중 오류가 발생한 경우
-
getQueryKey
DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
delete
Delete the record. -
delete
Delete the record. -
getDisplayName
Transition 의 Display Name [id] from > to- Returns:
- display name
-
getDisplayName
DOCUMENT ME!- Parameters:
verbose- DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
getDisplayName
Transition 의 Display Name [id] from > to- Parameters:
verbose- 상세 정보를 포함할지 여부seperator- 구분자- Returns:
- display name
-
getAttributeConditions
public List<Condition> getAttributeConditions(ModuleItemType mit, Attribute attribute) throws TorqueException ModuleItemType 의 attribute 에 대한 attribute scope Condition 목록을 구한다. 삭제된 것은 제외한다.- Parameters:
mit- 대상 ModuleItemTypeattribute- 대상 Attribute- Returns:
- Condition's List of itemType of attribute scope 가 Condition.GLOBAL_ATTRIBUTE_OBJECT, Condition.GLOBAL_ITEM_TYPE_ATTRIBUTE, Condition.MODULE_ITEM_TYPE_ATTRIBUTE
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getAttributeConditions
public List<Condition> getAttributeConditions(ModuleItemType mit, Attribute attribute, boolean includeDelete) throws TorqueException ModuleItemType 의 attribute 에 대한 attribute scope Condition 목록을 구한다.- Parameters:
mit- 대상 ModuleItemTypeattribute- 대상 AttributeincludeDelete- 삭제된 Condition 을 포함할지 여부- Returns:
- Condition's List of itemType of attribute scope 가 Condition.GLOBAL_ATTRIBUTE_OBJECT, Condition.GLOBAL_ITEM_TYPE_ATTRIBUTE, Condition.MODULE_ITEM_TYPE_ATTRIBUTE
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getAttributeConditions
public List<Condition> getAttributeConditions(ItemType type, Attribute attribute) throws TorqueException ItemType 의 attribute 에 대한 attribute scope Condition 목록을 구한다. 삭제된 것은 제외한다.- Parameters:
type- 대상 ItemTypeattribute- 대상 Attribute- Returns:
- Condition's List of itemType of attribute scope 가 Condition.GLOBAL_ATTRIBUTE_OBJECT, Condition.GLOBAL_ITEM_TYPE_ATTRIBUTE, Condition.MODULE_ITEM_TYPE_ATTRIBUTE
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getAttributeConditions
public List<Condition> getAttributeConditions(ItemType type, Attribute attribute, boolean includeDelete) throws TorqueException ItemType 의 attribute 에 대한 attribute scope Condition 목록을 구한다.- Parameters:
type- 대상 ItemTypeattribute- 대상 AttributeincludeDelete- 삭제된 Condition 을 포함할지 여부- Returns:
- Condition's List of itemType of attribute scope 가 Condition.GLOBAL_ATTRIBUTE_OBJECT, Condition.GLOBAL_ITEM_TYPE_ATTRIBUTE, Condition.MODULE_ITEM_TYPE_ATTRIBUTE
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getAttributeConditions
public List<Condition> getAttributeConditions(Attribute attribute, boolean includeDelete) throws TorqueException attribute 에 대한 attribute scope Condition 목록을 구한다.- Parameters:
attribute- 대상 AttributeincludeDelete- 삭제된 Condition 을 포함할지 여부- Returns:
- Condition's List of itemType of attribute scope 가 Condition.GLOBAL_ATTRIBUTE_OBJECT, Condition.GLOBAL_ITEM_TYPE_ATTRIBUTE, Condition.MODULE_ITEM_TYPE_ATTRIBUTE
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getConditions
RAttribute 를 기준으로 Override 한다. ModuleItemType > ItemType > Global Attribute- Parameters:
mit- moduleItemType- Returns:
- All Condition's List for this transition for moduleItemType if none get conditions for global itemType
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getConditions
public List<Condition> getConditions(ModuleItemType mit, boolean includeDelete) throws TorqueException RAttribute 를 기준으로 Override 한다. ModuleItemType > ItemType > Global Attribute- Parameters:
mit- moduleItemTypeincludeDelete- 삭제된 Condition 을 포함할지 여부- Returns:
- All Condition's List for this transition for moduleItemType if none get conditions for global itemType
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getConditions
ItemType 에 대한 Condition 목록을 구한다. 삭제된 것은 제외한다.- Parameters:
type- 대상 ItemType- Returns:
- Condition's List of itemType if empty all conditions of global attribute
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getConditions
Deprecated.더 이상 사용하지 않는다.ItemType 에 대한 Condition 목록을 구한다.- Parameters:
type- 대상 ItemTypeincludeDelete- 삭제된 Condition 을 포함할지 여부- Returns:
- Condition's List of itemType if empty all conditions of global attribute
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getConditions
protected List<Condition> getConditions(Collection<Condition> conditions, ModuleItemType mit) throws TorqueException RAttribute 를 기준으로 Condition 을 filtering 한다. ModuleItemType > ItemType > Global Attribute Security Attribute 는 모든 것을 나머지는 scope 에 의하여 filtering 된 것을 구한다.- Parameters:
conditions- filtering 할 Condition 들mit- moduleItemType- Returns:
- All Condition's List for this transition for moduleItemType if none get conditions for global itemType
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getConditions
protected List<Condition> getConditions(Collection<Condition> conditions, ItemType type) throws TorqueException RAttribute 를 기준으로 ItemType 에 대한 Condition 을 filtering 한다.- Parameters:
conditions- filtering 할 Condition 들type- 대상 ItemType- Returns:
- Condition's List of itemType if empty all conditions of global attribute
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getConditions
이 transition 의 Global Attribute 의 Condition 이 포함되어 있다.- Overrides:
getConditionsin classBaseTransition- Returns:
- All Condition's List for this transition same as getConditions(false, false)
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getConditions
이 transition 의 Global Attribute 의 Condition 이 포함되어 있다.- Parameters:
includeDelete- 삭제된 Condition 을 포함할지 여부- Returns:
- All Condition's List for this transition same as getConditions(false, false)
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getConditions
Deprecated.더 이상 사용하지 않는다.이 transition 의 Global Attribute 의 Condition 은 포함되어 있지 않다.- Parameters:
attribute- 대상 Attribute- Returns:
- Condition's List of a attribute condition for this transition
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
getConditions
public List<Condition> getConditions(Attribute attribute, boolean includeDelete) throws TorqueException Deprecated.더 이상 사용하지 않는다.이 transition 의 Global Attribute 의 Condition 은 포함되어 있지 않다.- Parameters:
attribute- 대상 AttributeincludeDelete- 삭제된 Condition 을 포함할지 여부- Returns:
- Condition's List of a attribute condition for this transition
- Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
hasAnyRelated
DOCUMENT ME!- Parameters:
options- DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
isRelated
이 Transition 이 주어진 Option 의 Transition 을 기술하는 것인지- Parameters:
option- 확인할 AttributeOption- Returns:
- option 이 from 또는 to 값이면
true
-
getMethodCache
- Specified by:
getMethodCachein interfaceCacheable- Returns:
- MethodResultCache
-
clear
public void clear()Description copied from interface:Cacheableclear this Serializable instance cache
-