Class CmsMacroFormatterBean

    • Constructor Detail

      • CmsMacroFormatterBean

        public CmsMacroFormatterBean​(java.util.Set<java.lang.String> containerTypes,
                                     java.lang.String jspRootPath,
                                     CmsUUID jspStructureId,
                                     int minWidth,
                                     int maxWidth,
                                     boolean searchContent,
                                     java.lang.String location,
                                     java.lang.String niceName,
                                     java.lang.String description,
                                     java.util.Collection<java.lang.String> resourceTypeNames,
                                     int rank,
                                     java.lang.String id,
                                     java.lang.String defaultContentRootPath,
                                     CmsUUID defaultContentStructureId,
                                     CmsSettingConfiguration settingConfig,
                                     boolean isAutoEnabled,
                                     boolean isDetail,
                                     java.lang.String displayType,
                                     boolean isAllowsSettingsInEditor,
                                     java.lang.String macroInput,
                                     java.lang.String placeholderMacroInput,
                                     java.util.Map<java.lang.String,​CmsUUID> referencedFormatters,
                                     boolean online,
                                     java.util.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