Package com.easydesk.attribute
Class EmblemAttribute
java.lang.Object
com.easydesk.om.BaseAttributeValue
com.easydesk.om.AttributeValue
com.easydesk.attribute.FreeFormAttribute
com.easydesk.attribute.StringAttribute
com.easydesk.attribute.EmblemAttribute
- All Implemented Interfaces:
Viewable,Cacheable,Observed,Retrievable,Serializable,ColumnAccessByName,ObjectModel,Persistent
The skeleton for this class was autogenerated by Torque on: [Sat Dec 04 21:34:36 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.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.easydesk.om.AttributeValue
AttributeValue.AccessEnum -
Field Summary
Fields inherited from class com.easydesk.om.AttributeValue
activitySet, chainedFields inherited from interface com.easydesk.validator.Retrievable
KEY_SEPERATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringfixedEmblemPath(String pathname) 검색 결과에서 Emblem Path 를 Default Thumbnail 크기 (w70) 로 Fixed 한다.static StringfixedEmblemPath(String pathname, String size) Emblem Path 에 크기(variant)를 붙인 경로를 구한다.Emblem 의 Repository 경로를 구한다.Methods inherited from class com.easydesk.attribute.StringAttribute
getLocalizedValue, getLocalizedValue, hasValueMethods inherited from class com.easydesk.attribute.FreeFormAttribute
getDisplayedValue, getDisplayedValue, getFormatter, init, loadResources, setResourcesMethods inherited from class com.easydesk.om.AttributeValue
alwaysNeedActivity, clear, copy, copy, endActivitySet, getActivity, getActivityDescription, getAttachment, getChainedValue, getChainedValue, getChainedValue, getInputValue, getLocalizedValue, getLocalizedValue, getLocalizedValue, getLocalizedValues, getLocalizedValues, getMethodCache, getModuleAttribute, getNewInstance, getNewInstance, getNumericValues, getNumericValues, getNumericValuesAsString, getNumericValuesAsString, getObserverOption, getOptionIdAsString, getOptionIds, getOptionIds, getOptionIdsAsString, getOptionIdsAsString, getOptionValues, getPossibleTransitionCount, getPossibleTransitionCount, getPrimitiveOptionIds, getPrimitiveUserIds, getQueryKey, getRelativePath, getRelativePath, getRepository, getResource, getTransactionId, getUser, getUserIds, getValueList, getValueList, getValues, getValues, getValuesAsString, getValuesAsString, hasAlreadyChained, isModified, isQuickSearchAttribute, isSet, isSetOnly, needActivity, performAfter, performBefore, register, save, setActivity, setActivityDescription, setAttachment, setChainedValue, setInputValue, setNumericValue, setNumericValueOnly, setNumericValues, setOptionId, setOptionIdOnly, setOptionIds, setOptionValues, setPrimitiveOptionIds, setPrimitiveUserIds, setProperties, setTransactionId, setUser, setUserId, setUserIdOnly, setUserIds, setValue, setValueOnly, setValues, startActivitySet, toStringMethods inherited from class com.easydesk.om.BaseAttributeValue
copy, copy, copyInto, copyInto, copyInto, copyInto, equals, getAttribute, getAttribute, getAttributeId, getAttributeOption, getAttributeOption, getByName, getByPeerName, getByPosition, getDepend, getDepend, getDependId, getEasyDeskUserImpl, getEasyDeskUserImpl, getFieldNames, getForeignKeyForAttribute, getForeignKeyForAttributeOption, getForeignKeyForDepend, getForeignKeyForEasyDeskUserImpl, getForeignKeyForItem, getItem, getItem, getItemId, getNumericValue, getOptionId, getPeer, getPrimaryKey, getTableMap, getUserId, getValue, getValueId, hashCode, isCacheOnSave, isDeleted, isLoading, isModified, isNew, isRemoved, isSaving, resetModified, save, save, setAttribute, setAttributeId, setAttributeKey, setAttributeOption, setAttributeOptionKey, setByName, setByPeerName, setByPosition, setDeleted, setDepend, setDependId, setDependKey, setEasyDeskUserImpl, setEasyDeskUserImplKey, setItem, setItemId, setItemKey, setLoading, setModified, setNew, setPrimaryKey, setPrimaryKey, setRemoved, setSaving, setValueId, valueEqualsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.easydesk.attribute.Viewable
getComponentName
-
Constructor Details
-
EmblemAttribute
public EmblemAttribute()새로운EmblemAttribute인스턴스를 생성한다.
-
-
Method Details
-
getPath
Emblem 의 Repository 경로를 구한다.Emblem 이 없으면 ( Module ItemType Emblem > ) Global ItemType Emblem > Module Emblem > EasyDesk Emblem 을 적용한다.
- Parameters:
size- (variant)- Returns:
- Emblem 파일의 Repository 경로
- Throws:
Exception- 경로를 구하는 중 오류가 발생한 경우
-
fixedEmblemPath
검색 결과에서 Emblem Path 를 Default Thumbnail 크기 (w70) 로 Fixed 한다.- Parameters:
pathname- emblem 파일 경로- Returns:
- size added path
-
fixedEmblemPath
Emblem Path 에 크기(variant)를 붙인 경로를 구한다.- Parameters:
pathname- emblem 파일 경로size- variant 크기 (예: w70h80)- Returns:
- size added path
-