Package com.easydesk.attribute
Class PreBuildAttribute
java.lang.Object
com.easydesk.om.BaseAttributeValue
com.easydesk.om.AttributeValue
com.easydesk.attribute.FreeFormAttribute
com.easydesk.attribute.FileAttribute
com.easydesk.attribute.PreBuildAttribute
- All Implemented Interfaces:
Touchable,Touched,Viewable,Cacheable,Observed,Retrievable,Serializable,ColumnAccessByName,ObjectModel,Persistent
- Direct Known Subclasses:
PreBuildDotAttribute,PreBuildJSONAttribute,SplittedPreBuildAttribute
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.AccessEnumNested classes/interfaces inherited from interface com.easydesk.attribute.Touched
Touched.BuildType -
Field Summary
Fields inherited from class com.easydesk.attribute.FileAttribute
bt, GET_DATAFields inherited from class com.easydesk.om.AttributeValue
activitySet, chainedFields inherited from interface com.easydesk.validator.Retrievable
KEY_SEPERATORFields inherited from interface com.easydesk.attribute.Touchable
RAMDOM_VALUE__LENGTHFields inherited from interface com.easydesk.attribute.Touched
APPLY_TEMPLATE, DOT_EXTENSION, HTML_EXTENSION, JSON_EXTENSION, TOUCHABLE, TOUCHED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetData(Touched.BuildType mode) 미리 생성(pre-build)된 File Data 를 구한다.getData(String suffix, Touched.BuildType mode) 미리 생성(pre-build)된 File Data 를 구한다.getData(String suffix, Touched.BuildType mode, boolean force) 미리 생성(pre-build)된 File Data 를 구한다.RepositoryDOCUMENT ME!getFile()Deprecated.build 대상에 해당하는 pre-build 파일을 구한다.getPreBuildFile(String suffix, Touched.BuildType mode) build 대상에 해당하는 pre-build 파일을 구한다. mobile web 은 "m", mobile app 은 "app" 을 파일 이름 앞에 붙인다.DOCUMENT ME!voidsetFileItem(org.apache.commons.fileupload.FileItem v) Set the value of file.Methods inherited from class com.easydesk.attribute.FileAttribute
copy, copyFileTo, copyFileTo, getActivityDescription, getByte, getData, getData, getData, getDisplayedValue, getDisplayedValue, getDocument, getFileItem, getFormatter, getFullPath, hasFile, hasValue, saveFile, setByte, setProperties, setRandomValueMethods inherited from class com.easydesk.attribute.FreeFormAttribute
init, loadResources, setResourcesMethods inherited from class com.easydesk.om.AttributeValue
alwaysNeedActivity, clear, copy, copy, endActivitySet, getActivity, getAttachment, getChainedValue, getChainedValue, getChainedValue, getInputValue, getLocalizedValue, 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, setTransactionId, setUser, setUserId, setUserIdOnly, setUserIds, setValue, setValueOnly, setValues, startActivitySet, toStringMethods inherited from class com.easydesk.om.BaseAttributeValue
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.Touchable
setRandomValueMethods inherited from interface com.easydesk.attribute.Viewable
getComponentName
-
Constructor Details
-
PreBuildAttribute
public PreBuildAttribute()Creates a new PreBuildAttribute object.
-
-
Method Details
-
getData
미리 생성(pre-build)된 File Data 를 구한다.- Parameters:
mode- build 대상 (web, mobile web, mobile app)- Returns:
- 파일 내용, 파일이 준비되지 않았으면 안내 문자열
- Throws:
Exception- 파일을 구하는 중 오류가 발생한 경우
-
getData
미리 생성(pre-build)된 File Data 를 구한다.- Parameters:
suffix- 파일 이름에 붙일 suffixmode- build 대상 (web, mobile web, mobile app)- Returns:
- 파일 내용, 파일이 준비되지 않았으면 안내 문자열
- Throws:
Exception- 파일을 구하는 중 오류가 발생한 경우
-
getData
미리 생성(pre-build)된 File Data 를 구한다. 파일을 읽을 수 없으면 "NotPrepared..." 안내 문자열을 반환한다.- Parameters:
suffix- 파일 이름에 붙일 suffixmode- build 대상 (web, mobile web, mobile app)force- 강제로 다시 읽을지 여부 (현재 사용하지 않음)- Returns:
- 파일 내용, 파일이 준비되지 않았으면 안내 문자열
- Throws:
Exception- 파일을 구하는 중 오류가 발생한 경우
-
getPreBuildFile
build 대상에 해당하는 pre-build 파일을 구한다.- Parameters:
mode- build 대상 (web, mobile web, mobile app)- Returns:
- pre-build 파일
- Throws:
Exception- 파일 경로를 구하는 중 오류가 발생한 경우
-
getPreBuildFile
build 대상에 해당하는 pre-build 파일을 구한다. mobile web 은 "m", mobile app 은 "app" 을 파일 이름 앞에 붙인다.- Parameters:
suffix- 파일 이름에 붙일 suffixmode- build 대상 (web, mobile web, mobile app)- Returns:
- pre-build 파일
- Throws:
Exception- 파일 경로를 구하는 중 오류가 발생한 경우
-
getRelativePath
DOCUMENT ME!- Overrides:
getRelativePathin classFileAttribute- Returns:
- DOCUMENT ME!
- Throws:
Exception- DOCUMENT ME!
-
getFile
Deprecated.Repository 의 File 을 구한다.- Overrides:
getFilein classFileAttribute- Returns:
- File
- Throws:
Exception- 파일을 구하는 중 오류가 발생한 경우
-
getDirectory
Repository- Specified by:
getDirectoryin interfaceTouchable- Returns:
- File
- Throws:
Exception- folder 를 구하는 중 오류가 발생한 경우
-
getExtension
DOCUMENT ME!- Specified by:
getExtensionin interfaceTouched- Overrides:
getExtensionin classFileAttribute- Returns:
- DOCUMENT ME!
- Throws:
Exception- DOCUMENT ME!
-
setFileItem
public void setFileItem(org.apache.commons.fileupload.FileItem v) Set the value of file.- Overrides:
setFileItemin classFileAttribute- Parameters:
v- Value to assign to file.
-