Class CmsMacroFormatterBean

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

Formatter configuration for macro formatters.

  • Constructor Details

    • CmsMacroFormatterBean

      public CmsMacroFormatterBean(Set<String> containerTypes, String jspRootPath, CmsUUID jspStructureId, 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 macroInput, String placeholderMacroInput, Map<String,CmsUUID> referencedFormatters, boolean online, 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
      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 description
      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
      macroInput - the macro input
      placeholderMacroInput - the placeholder macro input
      referencedFormatters - the referenced formatters
      online - if this is the online version
      metaMappings - the meta mappings
      useMetaMappingsForNormalElements - if true, meta mappings will be evaluated for normal container elements, not just detail elements
  • Method Details