Class ContentCatalogModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class ContentCatalogModel
    extends CatalogModel
    Generated model class for type ContentCatalog first defined at extension cms2.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _CATALOGSFORCMSSITE

        public static final java.lang.String _CATALOGSFORCMSSITE
        Generated relation code constant for relation CatalogsForCMSSite defining source attribute cmsSites in extension cms2.
        See Also:
        Constant Field Values
      • _CATALOG2CATALOGRELATION

        public static final java.lang.String _CATALOG2CATALOGRELATION
        Generated relation code constant for relation Catalog2CatalogRelation defining source attribute superCatalog in extension cms2.
        See Also:
        Constant Field Values
      • CATALOGLEVELNAME

        public static final java.lang.String CATALOGLEVELNAME
        Generated constant - Attribute key of ContentCatalog.catalogLevelName attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • CMSSITES

        public static final java.lang.String CMSSITES
        Generated constant - Attribute key of ContentCatalog.cmsSites attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • SUPERCATALOG

        public static final java.lang.String SUPERCATALOG
        Generated constant - Attribute key of ContentCatalog.superCatalog attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • SUBCATALOGS

        public static final java.lang.String SUBCATALOGS
        Generated constant - Attribute key of ContentCatalog.subCatalogs attribute defined at extension cms2.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ContentCatalogModel

        public ContentCatalogModel()
        Generated constructor - Default constructor for generic creation.
      • ContentCatalogModel

        public ContentCatalogModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • ContentCatalogModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ContentCatalogModel​(java.lang.String _id)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _id - initial attribute declared by type Catalog at extension catalog
      • ContentCatalogModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ContentCatalogModel​(java.lang.String _id,
                                   ItemModel _owner)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _id - initial attribute declared by type Catalog at extension catalog
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getCatalogLevelName

        @Accessor(qualifier="catalogLevelName",
                  type=GETTER)
        public java.lang.String getCatalogLevelName()
        Generated method - Getter of the ContentCatalog.catalogLevelName attribute defined at extension cms2.
        Returns:
        the catalogLevelName
      • getCatalogLevelName

        @Accessor(qualifier="catalogLevelName",
                  type=GETTER)
        public java.lang.String getCatalogLevelName​(java.util.Locale loc)
        Generated method - Getter of the ContentCatalog.catalogLevelName attribute defined at extension cms2.
        Parameters:
        loc - the value localization key
        Returns:
        the catalogLevelName
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • getCmsSites

        @Accessor(qualifier="cmsSites",
                  type=GETTER)
        public java.util.Collection<CMSSiteModel> getCmsSites()
        Generated method - Getter of the ContentCatalog.cmsSites attribute defined at extension cms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the cmsSites
      • getSubCatalogs

        @Accessor(qualifier="subCatalogs",
                  type=GETTER)
        public java.util.Set<ContentCatalogModel> getSubCatalogs()
        Generated method - Getter of the ContentCatalog.subCatalogs attribute defined at extension cms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the subCatalogs - Sub Catalogs
      • getSuperCatalog

        @Accessor(qualifier="superCatalog",
                  type=GETTER)
        public ContentCatalogModel getSuperCatalog()
        Generated method - Getter of the ContentCatalog.superCatalog attribute defined at extension cms2.
        Returns:
        the superCatalog - Super Catalog
      • setCatalogLevelName

        @Accessor(qualifier="catalogLevelName",
                  type=SETTER)
        public void setCatalogLevelName​(java.lang.String value)
        Generated method - Setter of ContentCatalog.catalogLevelName attribute defined at extension cms2.
        Parameters:
        value - the catalogLevelName
      • setCatalogLevelName

        @Accessor(qualifier="catalogLevelName",
                  type=SETTER)
        public void setCatalogLevelName​(java.lang.String value,
                                        java.util.Locale loc)
        Generated method - Setter of ContentCatalog.catalogLevelName attribute defined at extension cms2.
        Parameters:
        value - the catalogLevelName
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • setCmsSites

        @Accessor(qualifier="cmsSites",
                  type=SETTER)
        public void setCmsSites​(java.util.Collection<CMSSiteModel> value)
        Generated method - Setter of ContentCatalog.cmsSites attribute defined at extension cms2.
        Parameters:
        value - the cmsSites
      • setSubCatalogs

        @Accessor(qualifier="subCatalogs",
                  type=SETTER)
        public void setSubCatalogs​(java.util.Set<ContentCatalogModel> value)
        Generated method - Setter of ContentCatalog.subCatalogs attribute defined at extension cms2.
        Parameters:
        value - the subCatalogs - Sub Catalogs
      • setSuperCatalog

        @Accessor(qualifier="superCatalog",
                  type=SETTER)
        public void setSuperCatalog​(ContentCatalogModel value)
        Generated method - Setter of ContentCatalog.superCatalog attribute defined at extension cms2.
        Parameters:
        value - the superCatalog - Super Catalog