public class CmsFunctionFormatterBean extends CmsFormatterBean
DEFAULT_CONFIGURATION_RANK, DEFAULT_SCHEMA_RANK, m_containerTypes, m_cssHeadIncludes, m_description, m_displayType, m_id, m_inlineCss, m_inlineJavascript, m_isAutoEnabled, m_isDetail, m_isFromFormatterConfigFile, m_isPreviewFormatter, m_javascriptHeadIncludes, m_jspRootPath, m_jspStructureId, m_location, m_matchAll, m_maxWidth, m_metaMappings, m_minWidth, m_nestedFormatterSettings, m_niceName, m_rank, m_resourceTypeNames, m_search, m_settings, m_strictContainers, m_useMetaMappingsForNormalElements, PREVIEW_TYPE, PREVIEW_WIDTH, WILDCARD_TYPE| Constructor and Description |
|---|
CmsFunctionFormatterBean(java.util.Set<java.lang.String> containerTypes,
java.lang.String jspRootPath,
CmsUUID jspStructureId,
CmsUUID functionFormatterId,
int minWidth,
int maxWidth,
java.lang.String location,
java.util.List<java.lang.String> cssHeadIncludes,
java.lang.String inlineCss,
java.util.List<java.lang.String> javascriptHeadIncludes,
java.lang.String inlineJavascript,
java.lang.String niceName,
java.lang.String description,
java.lang.String id,
java.util.Map<java.lang.String,CmsXmlContentProperty> settings,
boolean isAllowsSettingsInEditor,
boolean isStrictContainers,
java.util.Map<java.lang.String,java.lang.String[]> parameters)
Constructor for creating a new formatter configuration with resource structure id.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getJspRootPath()
Returns the root path of the formatter JSP in the OpenCms VFS.
|
CmsUUID |
getJspStructureId()
Returns the structure id of the JSP resource for this formatter.
|
java.util.Map<java.lang.String,java.lang.String[]> |
getParameters()
Gets the parameters the dynamic function should set for the included JSP.
|
int |
getRank()
Gets the rank.
|
CmsUUID |
getRealJspId()
Gets the actual JSP id of the function.
|
java.lang.String |
getRealJspRootPath()
Gets the root path of the configured JSP.
|
java.util.Collection<java.lang.String> |
getResourceTypeNames()
Gets the resource type names.
|
getAttributes, getContainerTypes, getCssHeadIncludes, getDescription, getDisplayType, getId, getInlineCss, getInlineJavascript, getJavascriptHeadIncludes, getLocation, getMaxWidth, getMetaMappings, getMinWidth, getNiceName, getSettings, hashCode, hasNestedFormatterSettings, isAllowsSettingsInEditor, isAutoEnabled, isDetailFormatter, isDisplayFormatter, isFromFormatterConfigFile, isMatchAll, isPreviewFormatter, isPreviewType, isSearchContent, isStrictContainers, isTypeFormatter, setJspStructureId, toString, useMetaMappingsForNormalElementspublic CmsFunctionFormatterBean(java.util.Set<java.lang.String> containerTypes, java.lang.String jspRootPath, CmsUUID jspStructureId, CmsUUID functionFormatterId, int minWidth, int maxWidth, java.lang.String location, java.util.List<java.lang.String> cssHeadIncludes, java.lang.String inlineCss, java.util.List<java.lang.String> javascriptHeadIncludes, java.lang.String inlineJavascript, java.lang.String niceName, java.lang.String description, java.lang.String id, java.util.Map<java.lang.String,CmsXmlContentProperty> settings, boolean isAllowsSettingsInEditor, boolean isStrictContainers, java.util.Map<java.lang.String,java.lang.String[]> parameters)
containerTypes - the formatter container typesjspRootPath - the formatter JSP VFS root pathjspStructureId - the structure id of the formatter JSPfunctionFormatterId - the standard function formatter structure idminWidth - the formatter min widthmaxWidth - the formatter max widthlocation - the location where this formatter was defined, should be an OpenCms VFS resource pathcssHeadIncludes - the CSS head includesinlineCss - the in-line CSSjavascriptHeadIncludes - the JavaScript headincludesinlineJavascript - the in-line JavaScriptniceName - the configuration display namedescription - the description text for the formatterid - the configuration idsettings - the settings configurationisAllowsSettingsInEditor - whether this formatter allows settings to be edited in the content editorisStrictContainers - true if this formatter will always render all nested containersparameters - the request parameters to add for the included JSPpublic java.lang.String getJspRootPath()
I_CmsFormatterBeangetJspRootPath in interface I_CmsFormatterBeangetJspRootPath in class CmsFormatterBeanThis is not the configured JSP, but the formatter JSP for the function_config type itself.public CmsUUID getJspStructureId()
I_CmsFormatterBeangetJspStructureId in interface I_CmsFormatterBeangetJspStructureId in class CmsFormatterBeanThis is not the configured JSP, but the formatter JSP for the function_config type itself.public java.util.Map<java.lang.String,java.lang.String[]> getParameters()
public int getRank()
I_CmsFormatterBeangetRank in interface I_CmsFormatterBeangetRank in class CmsFormatterBeanI_CmsFormatterBean.getRank()public CmsUUID getRealJspId()
public java.lang.String getRealJspRootPath()
public java.util.Collection<java.lang.String> getResourceTypeNames()
I_CmsFormatterBeangetResourceTypeNames in interface I_CmsFormatterBeangetResourceTypeNames in class CmsFormatterBeanI_CmsFormatterBean.getResourceTypeNames()