Package org.opencms.xml.containerpage
Class CmsFunctionFormatterBean
java.lang.Object
org.opencms.xml.containerpage.CmsFormatterBean
org.opencms.xml.containerpage.CmsFunctionFormatterBean
- All Implemented Interfaces:
 Cloneable,I_CmsFormatterBean
A bean containing formatter configuration data as strings.
- 
Field Summary
Fields inherited from class org.opencms.xml.containerpage.CmsFormatterBean
DEFAULT_CONFIGURATION_RANK, DEFAULT_SCHEMA_RANK, m_aliasKeys, 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_key, m_location, m_matchAll, m_maxWidth, m_metaMappings, m_minWidth, m_nestedFormatterSettings, m_niceName, m_plugins, m_rank, m_resourceTypeNames, m_search, m_strictContainers, m_useMetaMappingsForNormalElements, PREVIEW_TYPE, PREVIEW_WIDTH, WILDCARD_TYPE - 
Constructor Summary
ConstructorsConstructorDescriptionCmsFunctionFormatterBean(Set<String> containerTypes, String jspRootPath, CmsUUID jspStructureId, String key, Set<String> aliasKeys, CmsUUID functionFormatterId, int minWidth, int maxWidth, String location, List<String> cssHeadIncludes, String inlineCss, List<String> javascriptHeadIncludes, String inlineJavascript, List<CmsTemplatePlugin> plugins, String niceName, String description, String id, CmsSettingConfiguration settingConfig, boolean isAllowsSettingsInEditor, boolean isStrictContainers, Map<String, String[]> parameters) Constructor for creating a new formatter configuration with resource structure id. - 
Method Summary
Modifier and TypeMethodDescriptionReturns the root path of the formatter JSP in the OpenCms VFS.Returns the structure id of the JSP resource for this formatter.Gets the parameters the dynamic function should set for the included JSP.intgetRank()Gets the rank.Gets the actual JSP id of the function.Gets the root path of the configured JSP.Gets the resource type names.Methods inherited from class org.opencms.xml.containerpage.CmsFormatterBean
getAliasKeys, getAllKeys, getAttributes, getContainerTypes, getCssHeadIncludes, getDescription, getDisplayType, getId, getInlineCss, getInlineJavascript, getJavascriptHeadIncludes, getKey, getLocation, getMaxWidth, getMetaMappings, getMinWidth, getNiceName, getSettings, getTemplatePlugins, hashCode, hasNestedFormatterSettings, isAllowsSettingsInEditor, isAutoEnabled, isDetailFormatter, isDisplayFormatter, isFromFormatterConfigFile, isMatchAll, isPreviewFormatter, isPreviewType, isSearchContent, isStrictContainers, isTypeFormatter, setJspStructureId, toString, useMetaMappingsForNormalElements, withKeysMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opencms.xml.containerpage.I_CmsFormatterBean
getKeyOrId 
- 
Constructor Details
- 
CmsFunctionFormatterBean
public CmsFunctionFormatterBean(Set<String> containerTypes, String jspRootPath, CmsUUID jspStructureId, String key, Set<String> aliasKeys, CmsUUID functionFormatterId, int minWidth, int maxWidth, String location, List<String> cssHeadIncludes, String inlineCss, List<String> javascriptHeadIncludes, String inlineJavascript, List<CmsTemplatePlugin> plugins, String niceName, String description, String id, CmsSettingConfiguration settingConfig, boolean isAllowsSettingsInEditor, boolean isStrictContainers, Map<String, String[]> parameters) Constructor for creating a new formatter configuration with resource structure id.- Parameters:
 containerTypes- the formatter container typesjspRootPath- the formatter JSP VFS root pathjspStructureId- the structure id of the formatter JSPkey- the keyaliasKeys- the alias keysfunctionFormatterId- 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 JavaScriptplugins- the template pluginsniceName- the configuration display namedescription- the description text for the formatterid- the configuration idsettingConfig- the settings configurationisAllowsSettingsInEditor- whether this formatter allows settings to be edited in the content editorisStrictContainers-trueif this formatter will always render all nested containersparameters- the request parameters to add for the included JSP
 
 - 
 - 
Method Details
- 
getJspRootPath
Description copied from interface:I_CmsFormatterBeanReturns the root path of the formatter JSP in the OpenCms VFS.- Specified by:
 getJspRootPathin interfaceI_CmsFormatterBean- Overrides:
 getJspRootPathin classCmsFormatterBean- Returns:
 - the root path of the formatter JSP in the OpenCms VFS.
 - See Also:
 
 - 
getJspStructureId
Description copied from interface:I_CmsFormatterBeanReturns the structure id of the JSP resource for this formatter.- Specified by:
 getJspStructureIdin interfaceI_CmsFormatterBean- Overrides:
 getJspStructureIdin classCmsFormatterBean- Returns:
 - the structure id of the JSP resource for this formatter
 - See Also:
 
 - 
getParameters
Gets the parameters the dynamic function should set for the included JSP.- Returns:
 - the map of parameters to add for the included JSP
 
 - 
getRank
Description copied from interface:I_CmsFormatterBeanGets the rank.- Specified by:
 getRankin interfaceI_CmsFormatterBean- Overrides:
 getRankin classCmsFormatterBean- Returns:
 - the rank
 - See Also:
 
 - 
getRealJspId
Gets the actual JSP id of the function.- Returns:
 - the JSP structure id
 
 - 
getRealJspRootPath
Gets the root path of the configured JSP.- Returns:
 - the root path of the configured JSP
 
 - 
getResourceTypeNames
Description copied from interface:I_CmsFormatterBeanGets the resource type names.- Specified by:
 getResourceTypeNamesin interfaceI_CmsFormatterBean- Overrides:
 getResourceTypeNamesin classCmsFormatterBean- Returns:
 - the resource type names
 - See Also:
 
 
 -