Class CmsFlexFormatterBean

java.lang.Object
org.opencms.xml.containerpage.CmsFormatterBean
org.opencms.xml.containerpage.CmsFlexFormatterBean
All Implemented Interfaces:
Cloneable, I_CmsFormatterBean

Formatter configuration for flex formatters.

  • Constructor Details

    • CmsFlexFormatterBean

      public CmsFlexFormatterBean(Set<String> containerTypes, String jspRootPath, CmsUUID jspStructureId, String key, int minWidth, int maxWidth, boolean searchContent, String location, String niceName, String description, Collection<String> resourceTypeNames, int rank, String id, String defaultContentRootPath, CmsUUID defaultContentStructureId, CmsSettingConfiguration settingConfig, boolean isAutoEnabled, boolean isDetail, String displayType, boolean isAllowsSettingsInEditor, String stringTemplate, String placeholderStringTemplate, List<CmsMetaMapping> metaMappings, boolean useMetaMappingsForNormalElements)
      Constructor for creating a new formatter configuration with resource structure id.

      Parameters:
      containerTypes - the formatter container types
      jspRootPath - the formatter JSP VFS root path
      jspStructureId - the structure id of the formatter JSP
      key - the formatter key
      minWidth - the formatter min width
      maxWidth - the formatter max width
      searchContent - indicates if the content should be searchable in the online index when this formatter is used
      location - the location where this formatter was defined, should be an OpenCms VFS resource path
      niceName - the configuration display name
      description - the help text for the formatter
      resourceTypeNames - the resource type names
      rank - the configuration rank
      id - the configuration id
      defaultContentRootPath - the root path to the default content
      defaultContentStructureId - the UUID of the default content resource
      settingConfig - the settings configuration
      isDetail - true if detail formatter
      isAutoEnabled - true if auto enabled
      displayType - the display type
      isAllowsSettingsInEditor - whether this formatter allows settings to be edited in the content editor
      stringTemplate - the string template
      placeholderStringTemplate - the placeholder string template
      metaMappings - the meta mappings
      useMetaMappingsForNormalElements - if true, meta mappings will be evaluated for normal container elements, not just detail elements
  • Method Details