public class FolderedMultimedia extends TimeRangeComponent implements IImageTitle
AbstractVisualComponent
String
title : the title.PaginationContext
pagination : pagination context.MultimediaResource
resources : list of resources to be displayed.
Modifier and Type | Field and Description |
---|---|
static String |
ALL |
static String |
EMBED |
static String |
IMAGE |
protected static String |
IMAGE_AFTER_EXEPT_FIRST |
protected static String |
IMAGE_FIRST |
protected static String |
ORDER_BY_ACCESS |
protected static String |
REVERSE_ORDER |
static String |
SOUND |
protected static String |
STATIC_EMBED_FOLDER |
protected static String |
STATIC_IMAGE_FOLDER |
protected static String |
STATIC_SOUND_FOLDER |
protected static String |
STATIC_VIDEO_FOLDER |
static String |
TYPE |
static String |
VIDEO |
logger, VALUE_SEPARATOR
initDate, NOT_VISIBLE_TYPE
CACHE_KEY_SUFFIX_PARAM_NAME, COMPONENT_KEY, config, EDIT_CLASS, FORCE_COMPONENT_ID, HIDDEN, I18N_FILE, NOT_EDIT_PREVIEW_PARAM_NAME, SCROLL_TO_COMP_ID_ATTRIBUTE_NAME, TIME_CACHE_NAME
NO_LINK
COLORED_WRAPPER_CLASS, COMP_ID_REQUEST_PARAM, COMPLEXITY_ADMIN, COMPLEXITY_EASY, COMPLEXITY_STANDARD, CONTAINER_COLOR, DEFAULT_COLOR, DYN_COMP_COLOR, ECOM_COLOR, EDIT_ACTION_CSS_CLASS, GRAPHIC_COLOR, HIGH_LABEL_LEVEL, ID_SEPARATOR, LINK_COLOR, LOW_LABEL_LEVEL, META_COLOR, MIDDLE_LABEL_LEVEL, SEARCH_LEVEL_HIGH, SEARCH_LEVEL_LOW, SEARCH_LEVEL_MIDDLE, SEARCH_LEVEL_NONE, TEXT_COLOR, VIEW_DEFINITION_REQUEST_ID, WEB2_COLOR
Constructor and Description |
---|
FolderedMultimedia() |
getDate, getEndDate, getInputEndDateName, getInputStartDateName, getInputTag, getPrefixViewXHTMLCode, getSearchLevel, getStartDate, getSuffixViewXHTMLCode, getViewXHTMLCode, isMirroredByDefault
getDate, getFontAwesome, getInputDateName, getInputTimeName, isValidDate, renderDate, setDate
applyReplacement, cleanValue, clearReplacement, clone, compareTo, contructViewStyle, countLine, delete, deleteMySelf, equals, equals, executeCurrentRenderer, executeJSP, executeRenderer, executeRenderer, extractFieldsFromRenderer, getAjaxId, getArea, getAuthors, getBackgroundColor, getBaseHelpURL, getClassName, getComponentBean, getComponentCSS, getComponentCssClass, getComponentId, getComponentLabel, getComponentPath, getConfig, getConfigMessage, getContainerPage, getContentAsMap, getContentAsText, getContentCache, getContentMessage, getContentName, getContentTimeCache, getCookiesDisplayStatus, getCreationDate, getCSSStyle, getCurrentPage, getCurrentRenderer, getDebugHeader, getDefaultHelpURI, getDefaultRenderer, getDeleteDate, getDescription, getDisplayMessage, getEditorComplexity, getEditText, getEmptyCode, getEmptyXHTMLCode, getErrorMessage, getErrorMessage, getFirstPrefix, getForcedId, getForcedPrefixViewXHTMLCode, getForcedSuffixViewXHTMLCode, getFormName, getHeaderContent, getHelpType, getHelpURI, getHelpURL, getI18nEditableKeys, getId, getImportFolderPath, getImportFolderPath, getInlineStyle, getInputName, getInputNameRenderer, getInputNameRendererTitle, getItalicAndStrongLanguageMarkerList, getJSOnSubmit, getKey, getLabelLevel, getLastSufix, getLayout, getListClass, getListGroup, getListItemTag, getListTag, getMarkerList, getMessage, getMirrorWrapper, getModificationDate, getNextComponent, getPage, getPageDescription, getPreviewAttributes, getPreviewCssClass, getPreviewCssId, getPreviousComponent, getQuotationLanguageMarkerList, getRemplacement, getRenderer, getRendererTitle, getRenderes, getRequestComponent, getSelectRendererXHTML, getSpecialInputTag, getSpecialPreviewCssClass, getSpecialPreviewCssId, getSpecialTagTitle, getSpecialTagXHTML, getSpecificClass, getStyle, getStyleLabel, getTag, getTextColor, getTextForSearch, getTextLabel, getTextMessage, getTextTitle, getTitleLevel, getTypeInputName, getValue, getValue, getVersion, getViewData, getViewDataFile, getViewID, getViewText, getWidth, getXHTMLCode, getXHTMLConfig, haveRight, includeComponentJSP, includePage, init, initContent, insert, isAjaxWrapper, isAskWidth, isAutoDeletable, isAutoRenderer, isBackgroundColored, isCanAddClass, isColored, isConfig, isDefaultValue, isDispayEmptyXHTMLCode, isDisplayable, isDisplayHidden, isEditOnCreate, isFirstElementOfRepeatSequence, isFirstRepeated, isFreeInputLayout, isHelpURL, isHiddable, isHidden, isHiddenInMode, isInline, isInsertable, isList, isListable, isMetaTitle, isMirrorWrapped, isModify, isNeedDelete, isNeedRefresh, isNeedRenderer, isNew, isNextSame, isNextSame, isNolink, isNoLinkable, isPreviousSame, isPreviousSame, isRepeat, isRepeatable, isRestMatch, isReversedLink, isValueProperties, isValueTranslatable, isViewDataFile, isVisible, isVisible, isVisibleFromCookies, isWrapped, isXML, loadViewData, main, markAsNew, newInstance, next, onStyleChange, performConfig, performUpdate, previous, processView, renderViewXHTMLCode, replaceAllInContent, replaceInContent, resetContentCache, resetViewData, setBackgroundColor, setComponentBean, setContainerPage, setContentCache, setContentTimeCache, setDisplayHidden, setForcedId, setHidden, setHiddenInMode, setList, setMessage, setMirrorWrapped, setModify, setNeedRefresh, setNextComponent, setNolink, setPage, setPreviousComponent, setRenderer, setRepeat, setStyle, setTextColor, setValid, setValue, setWidth, stored, storeViewData, stringToReader, stringToReader, stringToStream, textToXHTML, transflateFrom
public static final String TYPE
protected static final String STATIC_VIDEO_FOLDER
protected static final String STATIC_SOUND_FOLDER
protected static final String STATIC_IMAGE_FOLDER
protected static final String STATIC_EMBED_FOLDER
protected static final String IMAGE_FIRST
protected static final String IMAGE_AFTER_EXEPT_FIRST
protected static final String ORDER_BY_ACCESS
protected static final String REVERSE_ORDER
public static final String ALL
public static final String IMAGE
public static final String SOUND
public static final String VIDEO
public static final String EMBED
protected Date getStartDate(javax.servlet.http.HttpServletRequest request)
protected Date getEndDate(javax.servlet.http.HttpServletRequest request)
protected boolean acceptStaticInfo(ContentContext ctx, StaticInfo info)
protected boolean acceptResource(ContentContext ctx, MultimediaResource info)
protected boolean displayEmbed(ContentContext ctx)
protected boolean displayImage(ContentContext ctx)
protected boolean displaySound(ContentContext ctx)
protected boolean displayVideo(ContentContext ctx)
public boolean isRealContent(ContentContext ctx)
IContentVisualComponent
isRealContent
in interface IContentVisualComponent
isRealContent
in class DateComponent
ctx
- current contextprotected String getImageFilter(ContentContext ctx)
protected ContentContext getValidVideoCtx(ContentContext ctx, IVideo video)
protected MultimediaResource createResource(ContentContext ctx, IVideo video)
protected List<MultimediaResource> getContentVideo(ContentContext ctx) throws Exception
Exception
public Collection<File> getAllMultimediaFiles(ContentContext ctx, String relativeFolder)
public Collection<File> getAllMultimediaFolder(ContentContext ctx)
public String getBaseStaticDir(ContentContext ctx)
public String getCurrentRootFolder()
protected String getDisplayAsInputName()
getDisplayAsInputName
in class AbstractVisualComponent
protected String getEditXHTMLCode(ContentContext ctx) throws Exception
getEditXHTMLCode
in class TimeRangeComponent
Exception
public Collection<String> getExternalResources(ContentContext ctx)
IContentVisualComponent
getExternalResources
in interface IContentVisualComponent
getExternalResources
in class AbstractVisualComponent
protected String getGlobalCssClass()
public String getHexColor()
IContentVisualComponent
getHexColor
in interface IContentVisualComponent
getHexColor
in class TimeRangeComponent
protected String getHTMLRelation(ContentContext ctx)
protected String getImageFilePath(ContentContext ctx, String fileLink)
public String getInputBaseFolderName()
public String getInputMaxListSizeName()
public String getInputPageSizeName()
public String getInputTitle()
protected String getInputNameOrderByAccess()
protected String getInputNameReverseOrder()
public boolean isReverseOrder(ContentContext ctx)
protected String getItemCssClass()
public int getMaxListSize()
public int getPageSize()
public String getTitle()
protected String getMultimediaFileURL(ContentContext ctx, File file)
protected String getMultimediaFileURL(ContentContext ctx, String lg, File file)
protected String getRelativeFileDirectory(ContentContext ctx)
public String[] getStyleLabelList(ContentContext ctx)
IContentVisualComponent
getStyleLabelList
in interface IContentVisualComponent
getStyleLabelList
in class DateComponent
public String[] getStyleList(ContentContext ctx)
IContentVisualComponent
getStyleList
in interface IContentVisualComponent
getStyleList
in class DateComponent
public String getStyleTitle(ContentContext ctx)
IContentVisualComponent
getStyleTitle
in interface IContentVisualComponent
getStyleTitle
in class DateComponent
protected String getTitle(ContentContext ctx)
public String getType()
IContentVisualComponent
getType
in interface IContentVisualComponent
getType
in class TimeRangeComponent
protected MultimediaResource getFirstResource(ContentContext ctx) throws Exception
Exception
public void prepareView(ContentContext ctx) throws Exception
AbstractVisualComponent
prepareView
in class TimeRangeComponent
Exception
public int getWordCount(ContentContext ctx)
IContentVisualComponent
getWordCount
in interface IContentVisualComponent
getWordCount
in class AbstractVisualComponent
protected void init() throws ResourceNotFoundException
init
in class TimeRangeComponent
ResourceNotFoundException
public boolean isContentCachable(ContentContext ctx)
IContentVisualComponent
isContentCachable
in interface IContentVisualComponent
isContentCachable
in class DateComponent
public boolean isContentTimeCachable(ContentContext ctx)
isContentTimeCachable
in class AbstractVisualComponent
public boolean isContentCachableByQuery(ContentContext ctx)
isContentCachableByQuery
in class AbstractVisualComponent
protected boolean isCountAccess(ContentContext ctx)
protected boolean isDisplayOnlyShared()
public boolean isOrderByAccess(ContentContext ctx)
protected boolean isRenderInfo(ContentContext ctx)
protected boolean isRenderLanguage()
public boolean isUnique()
IContentVisualComponent
isUnique
in interface IContentVisualComponent
isUnique
in class TimeRangeComponent
public String performEdit(ContentContext ctx) throws Exception
IContentVisualComponent
performEdit
in interface IContentVisualComponent
performEdit
in class TimeRangeComponent
Exception
public String getImageDescription(ContentContext ctx)
getImageDescription
in interface IImageTitle
public String getResourceURL(ContentContext ctx)
getResourceURL
in interface IImageTitle
public String getImageLinkURL(ContentContext ctx)
getImageLinkURL
in interface IImageTitle
public boolean isImageValid(ContentContext ctx)
isImageValid
in interface IImageTitle
protected Object getLock(ContentContext ctx)
getLock
in class AbstractVisualComponent
public int getPriority(ContentContext ctx)
IImageTitle
getPriority
in interface IImageTitle
public int getComplexityLevel(ContentContext ctx)
IContentVisualComponent
getComplexityLevel
in interface IContentVisualComponent
getComplexityLevel
in class AbstractVisualComponent
ctx
- TODOCopyright © 2012-2018. All Rights Reserved.