public class FolderedMultimedia extends TimeRangeComponent implements IImageTitle
AbstractVisualComponentString 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_SEPARATORinitDate, NOT_VISIBLE_TYPECACHE_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_NAMENO_LINKCOLORED_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, isMirroredByDefaultgetDate, getFontAwesome, getInputDateName, getInputTimeName, isValidDate, renderDate, setDateapplyReplacement, 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, transflateFrompublic 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)
IContentVisualComponentisRealContent in interface IContentVisualComponentisRealContent in class DateComponentctx - 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
Exceptionpublic 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 AbstractVisualComponentprotected String getEditXHTMLCode(ContentContext ctx) throws Exception
getEditXHTMLCode in class TimeRangeComponentExceptionpublic Collection<String> getExternalResources(ContentContext ctx)
IContentVisualComponentgetExternalResources in interface IContentVisualComponentgetExternalResources in class AbstractVisualComponentprotected String getGlobalCssClass()
public String getHexColor()
IContentVisualComponentgetHexColor in interface IContentVisualComponentgetHexColor in class TimeRangeComponentprotected 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)
IContentVisualComponentgetStyleLabelList in interface IContentVisualComponentgetStyleLabelList in class DateComponentpublic String[] getStyleList(ContentContext ctx)
IContentVisualComponentgetStyleList in interface IContentVisualComponentgetStyleList in class DateComponentpublic String getStyleTitle(ContentContext ctx)
IContentVisualComponentgetStyleTitle in interface IContentVisualComponentgetStyleTitle in class DateComponentprotected String getTitle(ContentContext ctx)
public String getType()
IContentVisualComponentgetType in interface IContentVisualComponentgetType in class TimeRangeComponentprotected MultimediaResource getFirstResource(ContentContext ctx) throws Exception
Exceptionpublic void prepareView(ContentContext ctx) throws Exception
AbstractVisualComponentprepareView in class TimeRangeComponentExceptionpublic int getWordCount(ContentContext ctx)
IContentVisualComponentgetWordCount in interface IContentVisualComponentgetWordCount in class AbstractVisualComponentprotected void init()
throws ResourceNotFoundException
init in class TimeRangeComponentResourceNotFoundExceptionpublic boolean isContentCachable(ContentContext ctx)
IContentVisualComponentisContentCachable in interface IContentVisualComponentisContentCachable in class DateComponentpublic boolean isContentTimeCachable(ContentContext ctx)
isContentTimeCachable in class AbstractVisualComponentpublic boolean isContentCachableByQuery(ContentContext ctx)
isContentCachableByQuery in class AbstractVisualComponentprotected boolean isCountAccess(ContentContext ctx)
protected boolean isDisplayOnlyShared()
public boolean isOrderByAccess(ContentContext ctx)
protected boolean isRenderInfo(ContentContext ctx)
protected boolean isRenderLanguage()
public boolean isUnique()
IContentVisualComponentisUnique in interface IContentVisualComponentisUnique in class TimeRangeComponentpublic String performEdit(ContentContext ctx) throws Exception
IContentVisualComponentperformEdit in interface IContentVisualComponentperformEdit in class TimeRangeComponentExceptionpublic String getImageDescription(ContentContext ctx)
getImageDescription in interface IImageTitlepublic String getResourceURL(ContentContext ctx)
getResourceURL in interface IImageTitlepublic String getImageLinkURL(ContentContext ctx)
getImageLinkURL in interface IImageTitlepublic boolean isImageValid(ContentContext ctx)
isImageValid in interface IImageTitleprotected Object getLock(ContentContext ctx)
getLock in class AbstractVisualComponentpublic int getPriority(ContentContext ctx)
IImageTitlegetPriority in interface IImageTitlepublic int getComplexityLevel(ContentContext ctx)
IContentVisualComponentgetComplexityLevel in interface IContentVisualComponentgetComplexityLevel in class AbstractVisualComponentctx - TODOCopyright © 2012-2018. All Rights Reserved.