public class OnlineVideo extends GlobalImage implements IAction, IVideo
| Modifier and Type | Class and Description |
|---|---|
static class |
OnlineVideo.OrderVideo |
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE |
IMAGE_FILTER, logger, RAW_FILTERconfig, STYLE_CENTERDEFAULT_ENCODING, DESCRIPTION_KEY, DIR_KEY, EMBED_CODE_KEY, ENCODING_KEY, FILE_NAME_KEY, LABEL_KEY, properties, REVERSE_LINK_KEYCACHE_KEY_SUFFIX_PARAM_NAME, COMPONENT_KEY, EDIT_CLASS, FORCE_COMPONENT_ID, HIDDEN, I18N_FILE, NOT_EDIT_PREVIEW_PARAM_NAME, SCROLL_TO_COMP_ID_ATTRIBUTE_NAME, TIME_CACHE_NAME, VALUE_SEPARATORNO_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 |
|---|
OnlineVideo() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOneAccess(ContentContext ctx) |
int |
getAccess(ContentContext ctx,
int days) |
String |
getActionGroupName()
the group name of the action
|
Collection<Resource> |
getAllResources(ContentContext ctx)
return all resources found in the component.
|
Collection<OnlineVideo> |
getAllVideoOnPage(ContentContext ctx) |
int |
getComplexityLevel(ContentContext ctx)
return the complexity level of the component.
|
String |
getCurrentRenderer(ContentContext ctx)
get current renderer key
|
protected String |
getDefaultFilter() |
String |
getFontAwesome() |
protected String |
getImageChangeTitle(ContentContext ctx) |
protected String |
getImageFilter(ContentContext ctx) |
int |
getPopularity(ContentContext ctx)
return indice of popularity
|
String |
getPreviewURL(ContentContext ctx,
String filter) |
String |
getRenderer(ContentContext ctx)
get current renderer file.
|
String[] |
getStyleLabelList(ContentContext ctx)
return a list of label define the style.
|
String[] |
getStyleList(ContentContext ctx)
get the list of style possible for this component.
|
String |
getStyleTitle(ContentContext ctx)
return the title of the style choice.
|
protected Map<String,String> |
getTranslatableResources(ContentContext ctx) |
String |
getType()
return the type of the element.
|
String |
getURL(ContentContext ctx)
generate a URL or URI link with all elements to click on.
|
String |
getViewXHTMLCode(ContentContext ctx) |
protected boolean |
isAutoRenderer()
return true if end user could not select the renderer.
|
boolean |
isContentCachable(ContentContext ctx)
return the part of header needed for this component
|
protected boolean |
isDisplayMeta(ContentContext ctx) |
protected boolean |
isEmbedCode() |
protected boolean |
isInline(ContentContext ctx) |
protected boolean |
isLink() |
protected boolean |
isLinkValid(String url) |
protected boolean |
isMeta() |
boolean |
isRealContent(ContentContext ctx)
return true if component is considered as realContent and the page that
contain the component is also considered as real content.
|
static String |
performAccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
String |
performEdit(ContentContext ctx)
action call when update the content page.
|
void |
prepareView(ContentContext ctx)
prepare the rendering of a component. default attributes put in request :
style, value, type, compid
|
boolean |
renameResource(ContentContext ctx,
File oldName,
File newName)
rename a resource
|
String |
renderInline(ContentContext ctx,
String width,
String height,
boolean preview,
boolean onlyPrepare) |
canUpload, createFileURL, filterImage, getAlt, getCSSClassName, getDate, getDate, getDecorationImage, getDisplayDate, getEditorComplexity, getEditXHTMLCode, getErrorMessage, getFileDirectory, getFileNameOver, getFilter, getFirstText, getHeight, getHeight, getHexColor, getImageFilterKey, getImageHash, getImageImgName, getImageLinkTitle, getImageLinkURL, getImageURL, getLabelTextInputName, getLargeFilter, getLink, getLinkXHTMLInputName, getLocation, getLocation, getMessage, getNewLinkParamName, getSecondText, getSpecialTagTitle, getSpecialTagXHTML, getSpecificClass, getTextMessage, getTitle, getTitle, getTranslatedID, getWidth, getWidth, init, initContent, isAskWidth, isDecorationImage, isEditImage, isFileNameValid, isFloatText, isImageFilter, isLabel, isLinkValid, isListable, isLocal, isMutlimediaResource, isTextAuto, performDataFeedBack, setDate, setDecorationImage, setFilter, setFirstText, setHeight, setLink, setMessage, setRenderer, setSecondText, setTextAuto, setTitle, setTranslatedID, setWidth, setWidth, uploadFilesgetCssClass, getCSSType, getDefaultFile, getDescription, getDisplayAllLabel, getFile, getFileList, getFiles, getHelpURI, getImageDescription, getLanguage, getMainFolder, getPriority, getRelativeFileDirectory, getStaticLabel, getTags, init, isAllowRAW, isImageValid, isShared, isUploadOnDropcontains, equals, expandZip, getAllResourcesLinks, getContentAsText, getDecoImageFileXHTMLInputName, getDecoImageXHTMLInputName, getDecorationFilter, getDeleteTitle, getDescription, getDescriptionName, getDirInputName, getDirLabelTitle, getDirList, getDirSelected, getEmbedCode, getEmbedCodeName, getEncoding, getEncodingXHTMLInputName, getFileFilter, getFileList, getFileName, getFileUploadActionTitle, getFileURL, getFileXHTMLInputName, getFirstTextInputName, getImageDecorativeTitle, getImageLabelTitle, getImageSelectTitle, getImageUploadTitle, getJSOnChange, getLabel, getLabelXHTMLInputName, getLatestValidDate, getMaxPreviewImages, getMetaCode, getNewDirInputName, getNewDirLabelTitle, getPreviewCode, getPreviewCode, getPreviewCode, getPreviewZoneId, getResourceURL, getResourceURL, getReverseLinkeLabelTitle, getReverseLinkInputName, getSecondTextInputName, getSelectXHTMLInputName, getStaticInfo, getTextAutoInputName, getWordCount, isDisplayable, isFromShared, isImported, isInsertable, isLinkToStatic, isMirroredByDefault, isOnlyFirstOccurrence, isReverseLink, isWithDescription, needEncoding, performLoadImages, performUpload, reloadProperties, saveItem, setDirSelected, setEmbedCode, setFileName, setLabel, setLatestValidDate, setValue, storeProperties, transflateFromapplyReplacement, cleanValue, clearReplacement, clone, compareTo, contructViewStyle, countLine, delete, deleteMySelf, equals, executeCurrentRenderer, executeJSP, executeRenderer, executeRenderer, extractFieldsFromRenderer, getAjaxId, getArea, getAuthors, getBackgroundColor, getBaseHelpURL, getClassName, getComponentBean, getComponentCSS, getComponentCssClass, getComponentId, getComponentLabel, getComponentPath, getConfig, getConfigMessage, getContainerPage, getContentAsMap, getContentCache, getContentMessage, getContentName, getContentTimeCache, getCookiesDisplayStatus, getCreationDate, getCSSStyle, getCurrentPage, getDebugHeader, getDefaultHelpURI, getDefaultRenderer, getDeleteDate, getDescription, getDisplayAsInputName, getDisplayMessage, getEditText, getEmptyCode, getEmptyXHTMLCode, getErrorMessage, getExternalResources, getFirstPrefix, getForcedId, getForcedPrefixViewXHTMLCode, getForcedSuffixViewXHTMLCode, getFormName, getHeaderContent, getHelpType, getHelpURL, getI18nEditableKeys, getId, getImportFolderPath, getImportFolderPath, getInlineStyle, getInputName, getInputNameRenderer, getInputNameRendererTitle, getItalicAndStrongLanguageMarkerList, getJSOnSubmit, getKey, getLabelLevel, getLastSufix, getLayout, getListClass, getListGroup, getListItemTag, getListTag, getLock, getMarkerList, getMirrorWrapper, getModificationDate, getNextComponent, getPage, getPageDescription, getPrefixViewXHTMLCode, getPreviewAttributes, getPreviewCssClass, getPreviewCssId, getPreviousComponent, getQuotationLanguageMarkerList, getRemplacement, getRendererTitle, getRenderes, getRequestComponent, getSearchLevel, getSelectRendererXHTML, getSpecialInputTag, getSpecialPreviewCssClass, getSpecialPreviewCssId, getStyle, getStyleLabel, getSuffixViewXHTMLCode, getTag, getTextColor, getTextForSearch, getTextLabel, getTextTitle, getTitleLevel, getTypeInputName, getValue, getValue, getVersion, getViewData, getViewDataFile, getViewID, getViewText, getXHTMLCode, getXHTMLConfig, haveRight, includeComponentJSP, includePage, insert, isAjaxWrapper, isAutoDeletable, isBackgroundColored, isCanAddClass, isColored, isConfig, isContentCachableByQuery, isContentTimeCachable, isDefaultValue, isDispayEmptyXHTMLCode, isDisplayHidden, isEditOnCreate, isFirstElementOfRepeatSequence, isFirstRepeated, isFreeInputLayout, isHelpURL, isHiddable, isHidden, isHiddenInMode, isInline, isList, isMetaTitle, isMirrorWrapped, isModify, isNeedDelete, isNeedRefresh, isNeedRenderer, isNew, isNextSame, isNextSame, isNolink, isNoLinkable, isPreviousSame, isPreviousSame, isRepeat, isRepeatable, isRestMatch, isReversedLink, isUnique, 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, setMirrorWrapped, setModify, setNeedRefresh, setNextComponent, setNolink, setPage, setPreviousComponent, setRepeat, setStyle, setTextColor, setValid, stored, storeViewData, stringToReader, stringToReader, stringToStream, textToXHTMLfinalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontains, getAllResourcesLinks, getDirSelected, getFiles, setDirSelectedgetImageDescription, getImageLinkURL, getPriority, getResourceURL, isImageValidclearReplacement, delete, equals, extractFieldsFromRenderer, getArea, getAuthors, getClassName, getComponentBean, getComponentCssClass, getComponentLabel, getConfig, getConfigMessage, getContentAsText, getContentMessage, getContentName, getCreationDate, getDescription, getEditText, getEmptyXHTMLCode, getErrorMessage, getErrorMessage, getExternalResources, getFirstPrefix, getHeaderContent, getHelpURL, getHexColor, getI18nEditableKeys, getId, getInputNameRenderer, getJSOnSubmit, getKey, getLabelLevel, getLastSufix, getLayout, getListGroup, getMarkerList, getMessage, getModificationDate, getNextComponent, getPage, getPageDescription, getPrefixViewXHTMLCode, getPreviousComponent, getSearchLevel, getSpecialTagTitle, getSpecialTagXHTML, getStyleLabel, getSuffixViewXHTMLCode, getTextForSearch, getTextLabel, getTextMessage, getTextTitle, getTitleLevel, getValue, getVersion, getViewText, getWordCount, getXHTMLCode, getXHTMLConfig, initContent, insert, isConfig, isDefaultValue, isDispayEmptyXHTMLCode, isDisplayable, isDisplayHidden, isEditOnCreate, isFirstRepeated, isHelpURL, isHidden, isHiddenInMode, isInline, isInsertable, isList, isListable, isMetaTitle, isMirroredByDefault, isModify, isNeedRefresh, isNew, isNolink, isRepeat, isRepeatable, isRestMatch, isUnique, isVisible, isVisible, isVisibleFromCookies, loadViewData, markAsNew, newInstance, next, performConfig, previous, replaceAllInContent, replaceInContent, resetViewData, setContainerPage, setDisplayHidden, setList, setNeedRefresh, setNextComponent, setPage, setPreviousComponent, setRenderer, setRepeat, setStyle, setValid, setValue, stored, transflateFromcompareTogetContentAsMapgetCssClass, getDate, getDescription, getFile, getLanguage, getLocation, getTags, getTitle, isLocal, isSharedgetIdgetPreviewCodepublic static final String TYPE
public Collection<Resource> getAllResources(ContentContext ctx)
IStaticContainergetAllResources in interface IStaticContainergetAllResources in class AbstractFileComponentpublic String[] getStyleList(ContentContext ctx)
IContentVisualComponentgetStyleList in interface IContentVisualComponentgetStyleList in class Imagepublic String[] getStyleLabelList(ContentContext ctx)
IContentVisualComponentgetStyleLabelList in interface IContentVisualComponentgetStyleLabelList in class Imagepublic String getStyleTitle(ContentContext ctx)
IContentVisualComponentgetStyleTitle in interface IContentVisualComponentgetStyleTitle in class Imageprotected boolean isInline(ContentContext ctx)
public boolean renameResource(ContentContext ctx, File oldName, File newName)
IStaticContainerrenameResource in interface IStaticContainerrenameResource in class AbstractFileComponentpublic String getType()
IContentVisualComponentgetType in interface IContentVisualComponentgetType in class GlobalImagepublic boolean isContentCachable(ContentContext ctx)
IContentVisualComponentisContentCachable in interface IContentVisualComponentisContentCachable in class GlobalImagepublic String getCurrentRenderer(ContentContext ctx)
AbstractVisualComponentgetCurrentRenderer in interface IContentVisualComponentgetCurrentRenderer in class AbstractVisualComponentpublic String getRenderer(ContentContext ctx)
AbstractVisualComponentgetRenderer in interface IContentVisualComponentgetRenderer in class AbstractVisualComponentprotected boolean isAutoRenderer()
AbstractVisualComponentisAutoRenderer in class AbstractVisualComponentpublic String getViewXHTMLCode(ContentContext ctx) throws Exception
getViewXHTMLCode in class GlobalImageExceptionorg.javlo.itf.IContentVisualComponent#getXHTMLCode()protected Map<String,String> getTranslatableResources(ContentContext ctx) throws Exception
getTranslatableResources in class GlobalImageExceptionpublic Collection<OnlineVideo> getAllVideoOnPage(ContentContext ctx) throws Exception
Exceptionprotected String getDefaultFilter()
getDefaultFilter in class GlobalImageprotected String getImageFilter(ContentContext ctx)
public void prepareView(ContentContext ctx) throws Exception
AbstractVisualComponentprepareView in class GlobalImageExceptionpublic String getURL(ContentContext ctx)
ILinkgetURL in interface ILinkgetURL in interface IStaticResourcegetURL in class GlobalImagepublic String renderInline(ContentContext ctx, String width, String height, boolean preview, boolean onlyPrepare) throws Exception
Exceptionprotected boolean isLinkValid(String url)
isLinkValid in class GlobalImageprotected boolean isMeta()
isMeta in class GlobalImageprotected boolean isDisplayMeta(ContentContext ctx)
isDisplayMeta in class AbstractFileComponentpublic boolean isRealContent(ContentContext ctx)
IContentVisualComponentisRealContent in interface IContentVisualComponentisRealContent in class AbstractVisualComponentctx - current contextprotected String getImageChangeTitle(ContentContext ctx) throws FileNotFoundException, IOException
getImageChangeTitle in class AbstractFileComponentFileNotFoundExceptionIOExceptionpublic int getAccess(ContentContext ctx, int days) throws NumberFormatException, IOException
NumberFormatExceptionIOExceptionpublic void addOneAccess(ContentContext ctx) throws NumberFormatException, IOException
NumberFormatExceptionIOExceptionpublic static final String performAccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exceptionpublic String getPreviewURL(ContentContext ctx, String filter)
getPreviewURL in interface IStaticResourcegetPreviewURL in class GlobalImageprotected boolean isEmbedCode()
isEmbedCode in class GlobalImageprotected boolean isLink()
isLink in class GlobalImagepublic String getActionGroupName()
IActiongetActionGroupName in interface IActiongetActionGroupName in class GlobalImagepublic int getPopularity(ContentContext ctx)
IStaticContainergetPopularity in interface IStaticContainergetPopularity in class Imagepublic String performEdit(ContentContext ctx) throws Exception
IContentVisualComponentperformEdit in interface IContentVisualComponentperformEdit in class GlobalImageExceptionpublic int getComplexityLevel(ContentContext ctx)
IContentVisualComponentgetComplexityLevel in interface IContentVisualComponentgetComplexityLevel in class AbstractVisualComponentctx - TODOpublic String getFontAwesome()
getFontAwesome in interface IContentVisualComponentgetFontAwesome in class GlobalImageCopyright © 2012-2018. All Rights Reserved.