public class Multimedia extends TimeRangeComponent implements IImageTitle, IStaticContainer
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 |
NAME_ORDER |
protected static String |
ORDER_BY_ACCESS |
protected static String |
RANDOM_ORDER |
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 |
|---|
Multimedia() |
getDate, getEndDate, getInputEndDateName, getInputStartDateName, getInputTag, getPrefixViewXHTMLCode, getSearchLevel, getStartDate, getSuffixViewXHTMLCode, getViewXHTMLCodegetDate, getInputDateName, getInputTimeName, 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, getErrorMessage, getErrorMessage, getExternalResources, getFirstPrefix, getForcedId, getForcedPrefixViewXHTMLCode, getForcedSuffixViewXHTMLCode, getFormName, getHeaderContent, getHelpType, getHelpURI, getHelpURL, getI18nEditableKeys, getId, 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, getSpecificClass, getStyle, getStyleLabel, getTag, getTextColor, getTextForSearch, getTextLabel, getTextMessage, getTextTitle, getTitleLevel, getTypeInputName, getValue, getValue, getVersion, getViewData, getViewDataFile, getViewID, getViewText, getWidth, getXHTMLCode, getXHTMLConfig, haveRight, includeComponentJSP, includePage, 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
protected static final String NAME_ORDER
protected static final String RANDOM_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 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)
public String getBaseStaticDir(ContentContext ctx)
public String getCurrentRootFolder()
public void setCurrentRootFolder(ContentContext ctx, String folder)
protected String getDisplayAsInputName()
getDisplayAsInputName in class AbstractVisualComponentprotected Collection<String> getSelection(ContentContext ctx)
protected boolean isDateRange()
protected boolean isOrder()
protected boolean isTag()
protected String getCurrentRootFolderForBrowse()
protected boolean isSelectBrowse()
protected String getEditXHTMLCode(ContentContext ctx) throws Exception
getEditXHTMLCode in class TimeRangeComponentExceptionpublic String getFilesDirectory(ContentContext ctx)
protected 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 getInputNameRandomOrder()
protected String getInputNameReverseOrder()
protected String getInputNameNameOrder()
protected String getItemCssClass()
public int getMaxListSize()
public int getPageSize()
public String getTitle()
protected String getMultimediaFilePath(ContentContext ctx, String lg, File file)
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
Exceptionprotected MultimediaResource _getFirstResource(ContentContext ctx) throws Exception
Exceptionprotected List<MultimediaResource> getMultimediaResources(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 TimeRangeComponentResourceNotFoundExceptionprotected boolean isImported(ContentContext ctx)
protected void init(ComponentBean bean, ContentContext ctx) throws Exception
init in class AbstractVisualComponentExceptionpublic String getImportFolderPath(ContentContext ctx) throws Exception
getImportFolderPath in class AbstractVisualComponentExceptionpublic 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)
public boolean isOrderRandom(ContentContext ctx)
public boolean isReverseOrder(ContentContext ctx)
public boolean isNameOrder(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 String getEmptyXHTMLCode(ContentContext ctx) throws Exception
IContentVisualComponentgetEmptyXHTMLCode in interface IContentVisualComponentgetEmptyXHTMLCode in class AbstractVisualComponentExceptionpublic boolean isMirroredByDefault(ContentContext ctx)
IContentVisualComponentisMirroredByDefault in interface IContentVisualComponentisMirroredByDefault in class TimeRangeComponentpublic boolean initContent(ContentContext ctx) throws Exception
IContentVisualComponentinitContent in interface IContentVisualComponentinitContent in class AbstractVisualComponentExceptionpublic int getComplexityLevel(ContentContext ctx)
IContentVisualComponentgetComplexityLevel in interface IContentVisualComponentgetComplexityLevel in class AbstractVisualComponentctx - TODOpublic boolean contains(ContentContext ctx, String uri)
IStaticContainercontains in interface IStaticContaineruri - 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 IStaticContainerpublic int getPopularity(ContentContext ctx)
IStaticContainergetPopularity in interface IStaticContainerpublic void setDirSelected(String dir)
IStaticContainersetDirSelected in interface IStaticContainerpublic String getDirSelected()
IStaticContainergetDirSelected in interface IStaticContainerpublic List<File> getFiles(ContentContext ctx)
getFiles in interface IStaticContainerpublic boolean isValidDate(ContentContext ctx)
isValidDate in interface IDateisValidDate in class DateComponentpublic String getFontAwesome()
getFontAwesome in interface IContentVisualComponentgetFontAwesome in class DateComponentpublic String getSpecialTagTitle(ContentContext ctx) throws Exception
getSpecialTagTitle in interface IContentVisualComponentgetSpecialTagTitle in class AbstractVisualComponentExceptionprotected String getLabelTextInputName()
public String getSpecialTagXHTML(ContentContext ctx) throws Exception
getSpecialTagXHTML in interface IContentVisualComponentgetSpecialTagXHTML in class AbstractVisualComponentExceptionCopyright © 2012-2018. All Rights Reserved.