public class FieldFile extends Field implements IStaticContainer
Field.FieldBeancomp, DEFAULT_SEARCH_TYPE, globalContext, i18nAccess, LABEL_CSS, MESSAGE_ERROR, MESSAGE_INFO, properties, SMALL_PART_SIZE, SMALL_VALUE_SIZE, staticConfig, VALUE_SIZE| Constructor and Description |
|---|
FieldFile() |
compareTo, createKey, fillRequest, getBean, getCloseRow, getContentAsMap, getCSSClass, getCurrentLocale, getDefaultLanguages, getDisplayValue, getEditLabelCode, getEditXHTMLCode, getFieldPrefix, getFieldSuffix, getForceModifFieldName, getGlobalContext, getI18nAccess, getId, getInitValue, getInputLabelName, getInputName, getLabel, getLabel, getList, getMaxSize, getMessage, getMessageType, getMessageTypeCSSClass, getMetaData, getMetaData, getMinSize, getName, getOpenRow, getOrder, getPageDescription, getPlaceholder, getPropertyValue, getReference, getReferenceComponent, getReferenceValue, getRemplacementCode, getSearchLabel, getSearchType, getSize, getSpecialClass, getStaticConfig, getTag, getTranslation, getUnicName, getUnity, getUnity, getUserLabel, getUserLabel, getValue, getValue, getValues, getValues, getViewListXHTMLCode, getWidthEdit, initContent, isContentCachable, isDiplayedInList, isFirst, isI18n, isLabelDisplayed, isLabelEditable, isLast, isNeeded, isNeedRefresh, isReadOnly, isRealContent, isSearch, isTitle, isValid, isViewDisplayed, isWrapped, main, newFieldBean, newInstance, referenceEditCode, referenceViewCode, reload, renderSelect, setCurrentLocale, setFirst, setGlobalContext, setI18nAccess, setId, setLabel, setLabelValue, setLast, setMessage, setMessageType, setName, setNeedRefresh, setPlaceholder, setProperties, setReadOnly, setStaticConfig, setValue, setValue, setValues, toString, validateprotected String getInputFolderName()
protected String getInputCreateFolderName()
protected String getFolderLabel()
protected String getInputFileName()
protected String getInputFileNameSelect()
protected String getInputAddFileName()
protected String getInputLabelFileName()
protected String getFileLabel()
protected String getLabelLabel()
protected String getAddFileLabel()
protected String getCreateFolderLabel()
protected String getFileType()
protected boolean isCategoryRecursive()
protected String getFileTypeFolder()
protected String getFileDirectory()
protected String getPreviewCode(ContentContext ctx, boolean title) throws Exception
Exceptionpublic String getEditXHTMLCode(ContentContext ctx, boolean search) throws Exception
getEditXHTMLCode in class FieldExceptionpublic String getSearchEditXHTMLCode(ContentContext ctx) throws Exception
getSearchEditXHTMLCode in class FieldExceptionprotected String getReferenceFieldView(ContentContext ctx) throws Exception
getReferenceFieldView in class Fieldctx - Exceptionpublic String getCurrentLink()
protected String getInputLabelLinkName()
protected String getDeleteLinkName()
protected String getLinkLabel()
protected boolean isWithLink()
public boolean isPertinent(ContentContext ctx)
isPertinent in class Fieldpublic boolean search(ContentContext ctx, String query)
public String getViewXHTMLCode(ContentContext ctx) throws Exception
getViewXHTMLCode in class FieldExceptionpublic String getURL(ContentContext ctx)
public boolean process(ContentContext ctx)
Fieldpublic String getCurrentFolder()
public void setCurrentFolder(String folder)
public String getCurrentFile()
public void setCurrentFile(String file)
protected String getCurrentLabel()
protected String getViewLabel()
protected void setCurrentLabel(String label)
protected String getFileURL(ContentContext ctx, String fileLink)
public boolean contains(ContentContext ctx, String inURI)
IStaticContainercontains in interface IStaticContainerinURI - a uri to a static resourcespublic Collection<Resource> getAllResources(ContentContext ctx)
IStaticContainergetAllResources in interface IStaticContainerpublic boolean renameResource(ContentContext ctx, File oldName, File newName)
IStaticContainerrenameResource in interface IStaticContainerpublic Collection<Link> getAllResourcesLinks(ContentContext ctx)
IStaticContainergetAllResourcesLinks in interface IStaticContainerprotected String getRelativeFileDirectory(ContentContext ctx)
protected StaticInfo getStaticInfo(ContentContext ctx) throws Exception
Exceptionpublic int getPopularity(ContentContext ctx)
IStaticContainergetPopularity in interface IStaticContainerpublic List<File> getFiles(ContentContext ctx)
getFiles in interface IStaticContainerpublic String getDirSelected()
IStaticContainergetDirSelected in interface IStaticContainerpublic void setDirSelected(String dir)
IStaticContainersetDirSelected in interface IStaticContainerprotected boolean isLight()
protected String getRessourceURL(ContentContext ctx)
protected boolean isValueTranslatable()
isValueTranslatable in class Fieldpublic boolean transflateFrom(ContentContext ctx, ITranslator translator, String lang)
transflateFrom in class FieldCopyright © 2012-2018. All Rights Reserved.