All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
addArea(String rowName) |
void |
addRow() |
List<GenericMessage> |
checkRenderer(GlobalContext globalContext,
I18nAccess i18nAccess)
check the structure of the template.
|
void |
clearRenderer(ContentContext ctx) |
int |
compareTo(Template template) |
void |
delete() |
void |
deleteArea(String area) |
void |
deleteRow(String name) |
void |
disabledAlternativeTemplate(ContentContext ctx) |
void |
enabledAlternativeTemplate(ContentContext ctx) |
boolean |
equals(Object obj) |
boolean |
exist() |
String |
get404File() |
Map<String,List<IListItem>> |
getAllList(GlobalContext globalContext,
Locale locale) |
static Template |
getApplicationInstance(javax.servlet.ServletContext application,
ContentContext ctx,
String templateDir) |
static Area |
getArea(Collection<Row> rows,
String name) |
Map<String,String> |
getAreaExcludeProperties() |
List<String> |
getAreas() |
List<String> |
getAreas(boolean admin) |
List<String> |
getAreasForceDisplay()
this area is display if specialrendere is defined
|
Map<String,String> |
getAreasMap() |
String |
getAuthors() |
String |
getBuildId()
return a code of build.
|
Collection<String> |
getCategories() |
List<ExtendedColor> |
getColorList() |
Map<Integer,ExtendedColor> |
getColorsMap() |
protected List<File> |
getComponentFile(GlobalContext globalContext) |
Set<String> |
getComponentsExclude() |
Set<String> |
getComponentsExcludeForArea(String area) |
Set<String> |
getComponentsIncludeForArea(String area) |
Map<String,String> |
getConfig() |
Properties |
getConfigComponentFile(GlobalContext globalContext,
String type) |
String |
getConfigItem(String key,
String defaultValue) |
String |
getCookiesMessageName() |
String |
getCookiesMessagePath() |
Date |
getCreationDate() |
protected List<String> |
getCSS() |
protected Map<String,List<String>> |
getCSSByFolder() |
Map<String,List<String>> |
getCSSByFolder(String filter) |
String |
getDefaultImageFilter() |
String |
getDeployId() |
int |
getDepth() |
String |
getDescription(String lang) |
String |
getDominantColor() |
List<Properties> |
getDynamicComponentsProperties(GlobalContext globalContext) |
String |
getEditTemplateMode()
mode of the edit template, can be used in template renderer for include
special css or js. preview css is : edit_preview_[mode].css
|
List<String> |
getEmailLinkFileList() |
String |
getEscapeMenuId() |
protected String |
getExcludeProperties(String zone) |
static Template |
getFakeTemplate(String name) |
Template |
getFinalTemplate(ContentContext ctx)
template can be change in some context, call this method for obtain the final
Template to be use for rendering.
|
File |
getFolder() |
String |
getFolder(GlobalContext globalContext) |
String |
getFolder(String siteKey) |
Properties |
getFontReference(GlobalContext globalContext) |
List<String> |
getFonts() |
Map<String,String> |
getFreeData() |
String |
getHomeRenderer(GlobalContext globalContext) |
String |
getHomeRendererFullName(GlobalContext globalContext) |
protected String |
getHTMLFile(Device device) |
String |
getHTMLFileParams(Device device) |
String |
getHTMLHomeFile() |
List<String> |
getHTMLIDS() |
Map |
getI18nProperties(GlobalContext globalContext,
Locale locale,
int mode) |
String |
getId() |
ConfigurationProperties |
getImageConfig() |
File |
getImageConfigFile() |
String |
getImageConfigFileName() |
List<String> |
getImageFilters() |
String |
getImageFiltersRAW() |
static Template |
getInstance(StaticConfig config,
ContentContext ctx,
String templateDir) |
String |
getLastSelectedClass() |
List<String> |
getLayouts()
return all renderer defined in the template.
|
String |
getLicenceFile() |
File |
getLinkEmail(String lg) |
String |
getLinkEmailFileName(String lg) |
String |
getLocalWorkMailingTemplateFolder() |
String |
getLocalWorkTemplateFolder() |
File |
getMacroFile(GlobalContext globalContext,
String fileName) |
Properties |
getMacroProperties(GlobalContext globalContext,
String macroKey) |
Mail |
getMail(ContentContext ctx,
String mailName,
String lg) |
static Template |
getMailingInstance(StaticConfig config,
ContentContext ctx,
String templateDir) |
String |
getMailingTemplate() |
File |
getMailJsp(ContentContext ctx,
String mailName) |
String |
getMailSubject(String lg) |
String |
getMenuRenderer(Device device) |
String |
getMessageContainerId() |
String |
getMessageTemplate(ContentContext ctx) |
String |
getMimeTypeImage(GlobalContext globalContext,
String fileExtension) |
String |
getName() |
protected String |
getNewAreaName() |
String |
getOwner() |
List<String> |
getPageTypes() |
String |
getPageTypesRAW() |
Template |
getParent() |
String |
getParentName() |
int |
getPDFHeigth() |
List<String> |
getPlugins() |
int |
getQRCodeSize() |
protected String |
getRAWPlugins() |
String |
getRenderer(ContentContext ctx) |
String |
getRenderer(ContentContext ctx,
String file) |
protected String |
getRendererFile(Device device) |
String |
getRendererFullName(ContentContext ctx) |
List<String> |
getRenderers()
return all renderer defined in the template.
|
List<String> |
getResources() |
Collection<File> |
getResources(ContentContext ctx)
get resources define in the template.
|
Row |
getRow(String name) |
Map<String,String> |
getRowExcludeProperties() |
List<Row> |
getRows() |
String |
getRssCSS() |
String |
getRSSImageURL() |
protected String |
getRSSRendererFile() |
String |
getRSSRendererFullName(ContentContext ctx) |
String |
getSearchFormID() |
String |
getSearchRenderer(ContentContext ctx) |
String |
getSelectedClass() |
List<javax.mail.internet.InternetAddress> |
getSenders() |
String |
getSource() |
File |
getSourceFolder() |
String |
getSourceFolderName() |
String |
getSpecialAreaRenderer() |
String |
getSpecialRendererTemplate() |
List<String> |
getStructures()
return all renderer defined in the template.
|
TemplateStyle |
getStyle() |
TemplateData |
getTemplateData() |
Map<String,String> |
getTemplateExcludeProperties() |
String |
getTemplateRealPath() |
String |
getUnSelectedClass() |
String |
getVersion() |
File |
getVisualAbsoluteFile() |
String |
getVisualFile() |
String |
getVisualPDFile() |
List<String> |
getWebFonts(GlobalContext globalContext) |
String |
getWorkMailingTemplateFolder() |
String |
getWorkTemplateFolder() |
String |
getWorkTemplateRealPath(GlobalContext globalContext) |
String |
getWysiwygCss()
return the css for wysiwyg layout
|
int |
hashCode() |
void |
importTemplateInWebapp(StaticConfig config,
ContentContext ctx) |
protected void |
importTemplateInWebapp(StaticConfig config,
ContentContext ctx,
GlobalContext globalContext,
File templateTarget,
Map<String,String> childrenData,
boolean compressResource,
boolean parent,
File inRawCssFile) |
boolean |
isAdminArea(String area) |
boolean |
isAlternativeTemplate(ContentContext ctx) |
boolean |
isBootstrap() |
boolean |
isChildOf(String templateId) |
boolean |
isColorPalette() |
boolean |
isCompressResources()
return true if resources can be compressed by CMS (css, js).
|
protected boolean |
isDefaultRenderer() |
boolean |
isDeleted() |
boolean |
isEditable() |
boolean |
isEndAreaTag() |
boolean |
isFake() |
boolean |
isForStatic() |
boolean |
isHTML() |
boolean |
isLanguageLinkKeepGetParams() |
boolean |
isLinkEmail(String lg) |
boolean |
isMailing() |
boolean |
isNavigationArea(String area) |
boolean |
isNosecureArea(String area) |
boolean |
isOnePage() |
protected boolean |
isParent() |
boolean |
isPDFFile() |
boolean |
isPDFRenderer()
return true if this template contains a renderer for PDF.
|
boolean |
isReady() |
boolean |
isRealContentFromAnyArea()
true if all area can be signifiant for read content, false if only main area
is signifiant.
|
boolean |
isRenderer(GlobalContext globalContext) |
boolean |
isSubjectLocked() |
boolean |
isTemplateInWebapp(ContentContext ctx) |
boolean |
isValid() |
protected void |
loadTemplatePart(TemplatePart part,
String prefix) |
static void |
main(String[] args) |
void |
reload() |
void |
reloadConfig(ContentContext ctx) |
void |
resetRows() |
protected void |
saveTemplatePart(TemplatePart part,
String prefix) |
void |
setArea(String area,
String id) |
void |
setAuthors(String name) |
void |
setCreationDate(Date date) |
void |
setDepth(int depth) |
void |
setDominantColor(String color) |
void |
setHTMLIDS(Collection<String> ids) |
void |
setImageFiltersRAW(String imageFilterRAW) |
void |
setOwner(String owner) |
void |
setParentName(String parent) |
void |
setProperty(String name,
String value) |
void |
setReady(boolean ready) |
void |
setSource(String name) |
void |
setValid(boolean inValid) |
void |
storeRows(Collection<Row> rows) |
void |
storeStyle(TemplateStyle style) |
String |
toString() |
boolean |
visibleForRoles(Collection<String> inRoles) |