All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
protected MultimediaResource |
_getFirstResource(ContentContext ctx) |
protected boolean |
acceptResource(ContentContext ctx,
MultimediaResource info) |
protected boolean |
acceptStaticInfo(ContentContext ctx,
StaticInfo info) |
boolean |
contains(ContentContext ctx,
String uri)
check if the class contains the static resources define by a URI
|
protected MultimediaResource |
createResource(ContentContext ctx,
IVideo video) |
protected boolean |
displayEmbed(ContentContext ctx) |
protected boolean |
displayImage(ContentContext ctx) |
protected boolean |
displaySound(ContentContext ctx) |
protected boolean |
displayVideo(ContentContext ctx) |
Collection<File> |
getAllMultimediaFiles(ContentContext ctx) |
Collection<Resource> |
getAllResources(ContentContext ctx)
return all resources found in the component.
|
Collection<Link> |
getAllResourcesLinks(ContentContext ctx)
create link to resources.
|
String |
getBaseStaticDir(ContentContext ctx) |
int |
getComplexityLevel(ContentContext ctx)
return the complexity level of the component.
|
protected List<MultimediaResource> |
getContentVideo(ContentContext ctx) |
String |
getCurrentRootFolder() |
protected String |
getCurrentRootFolderForBrowse() |
String |
getDirSelected()
get folder with ressources
|
protected String |
getDisplayAsInputName() |
protected String |
getEditXHTMLCode(ContentContext ctx) |
String |
getEmptyXHTMLCode(ContentContext ctx)
return the code if component contain's no data.
|
List<File> |
getFiles(ContentContext ctx) |
String |
getFilesDirectory(ContentContext ctx) |
protected MultimediaResource |
getFirstResource(ContentContext ctx) |
String |
getFontAwesome() |
protected String |
getGlobalCssClass() |
String |
getHexColor()
get the exadecimal color for representation of the component.
|
protected String |
getHTMLRelation(ContentContext ctx) |
String |
getImageDescription(ContentContext ctx) |
protected String |
getImageFilePath(ContentContext ctx,
String fileLink) |
protected String |
getImageFilter(ContentContext ctx) |
String |
getImageLinkURL(ContentContext ctx) |
String |
getImportFolderPath(ContentContext ctx) |
String |
getInputBaseFolderName() |
String |
getInputMaxListSizeName() |
protected String |
getInputNameNameOrder() |
protected String |
getInputNameOrderByAccess() |
protected String |
getInputNameRandomOrder() |
protected String |
getInputNameReverseOrder() |
String |
getInputPageSizeName() |
String |
getInputTitle() |
protected String |
getItemCssClass() |
protected String |
getLabelTextInputName() |
protected Object |
getLock(ContentContext ctx) |
int |
getMaxListSize() |
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 List<MultimediaResource> |
getMultimediaResources(ContentContext ctx) |
int |
getPageSize() |
int |
getPopularity(ContentContext ctx)
return indice of popularity
|
protected String |
getPreviewFilter(File file) |
int |
getPriority(ContentContext ctx)
return the priority of the picture inside the page (9=max)
|
protected String |
getRelativeFileDirectory(ContentContext ctx) |
String |
getResourceURL(ContentContext ctx) |
protected Collection<String> |
getSelection(ContentContext ctx) |
String |
getSpecialTagTitle(ContentContext ctx) |
String |
getSpecialTagXHTML(ContentContext ctx) |
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.
|
List<String> |
getTags() |
String |
getTitle() |
protected String |
getTitle(ContentContext ctx) |
protected String |
getTransformFilter(File file) |
String |
getType()
return the type of the element.
|
protected ContentContext |
getValidVideoCtx(ContentContext ctx,
IVideo video) |
int |
getWordCount(ContentContext ctx)
count the word in the content.
|
protected void |
init() |
protected void |
init(ComponentBean bean,
ContentContext ctx) |
boolean |
initContent(ContentContext ctx)
init the content with a default value. sample : "lorem ipsum" for text
component.
|
boolean |
isContentCachable(ContentContext ctx)
return the part of header needed for this component
|
boolean |
isContentCachableByQuery(ContentContext ctx) |
boolean |
isContentTimeCachable(ContentContext ctx) |
protected boolean |
isCountAccess(ContentContext ctx) |
protected boolean |
isDateRange() |
protected boolean |
isDisplayOnlyShared() |
boolean |
isImageValid(ContentContext ctx) |
protected boolean |
isImported(ContentContext ctx) |
boolean |
isMirroredByDefault(ContentContext ctx)
if this component is duplicated, by default it is mirrored.
|
boolean |
isNameOrder(ContentContext ctx) |
protected boolean |
isOrder() |
boolean |
isOrderByAccess(ContentContext ctx) |
boolean |
isOrderRandom(ContentContext ctx) |
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.
|
protected boolean |
isRenderInfo(ContentContext ctx) |
protected boolean |
isRenderLanguage() |
boolean |
isReverseOrder(ContentContext ctx) |
protected boolean |
isSelectBrowse() |
protected boolean |
isTag() |
boolean |
isUnique()
return true if the component must be unique on a page
|
boolean |
isValidDate(ContentContext ctx) |
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
|
void |
setCurrentRootFolder(ContentContext ctx,
String folder) |
void |
setDirSelected(String dir)
set folder with resources
|