Class ContentPageModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class ContentPageModel
    extends AbstractPageModel
    Generated model class for type ContentPage 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
      • _BANNERSFORCONTENTPAGE

        public static final java.lang.String _BANNERSFORCONTENTPAGE
        Generated relation code constant for relation BannersForContentPage defining source attribute bannerComponets in extension cms2lib.
        See Also:
        Constant Field Values
      • _FLASHCOMPONENTSFORCONTENTPAGE

        public static final java.lang.String _FLASHCOMPONENTSFORCONTENTPAGE
        Generated relation code constant for relation FlashComponentsForContentPage defining source attribute flashComponents in extension cms2lib.
        See Also:
        Constant Field Values
      • LABEL

        public static final java.lang.String LABEL
        Generated constant - Attribute key of ContentPage.label attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • HOMEPAGE

        public static final java.lang.String HOMEPAGE
        Generated constant - Attribute key of ContentPage.homepage attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • LABELORID

        public static final java.lang.String LABELORID
        Generated constant - Attribute key of ContentPage.labelOrId attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • NAVIGATIONNODES

        public static final java.lang.String NAVIGATIONNODES
        Generated constant - Attribute key of ContentPage.navigationNodes attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • LINKCOMPONENTS

        public static final java.lang.String LINKCOMPONENTS
        Generated constant - Attribute key of ContentPage.linkComponents attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • BANNERCOMPONETS

        public static final java.lang.String BANNERCOMPONETS
        Generated constant - Attribute key of ContentPage.bannerComponets attribute defined at extension cms2lib.
        See Also:
        Constant Field Values
      • FLASHCOMPONENTS

        public static final java.lang.String FLASHCOMPONENTS
        Generated constant - Attribute key of ContentPage.flashComponents attribute defined at extension cms2lib.
        See Also:
        Constant Field Values
      • KEYWORDS

        public static final java.lang.String KEYWORDS
        Generated constant - Attribute key of ContentPage.keywords attribute defined at extension acceleratorcms.
        See Also:
        Constant Field Values
      • DESCRIPTION

        public static final java.lang.String DESCRIPTION
        Generated constant - Attribute key of ContentPage.description attribute defined at extension acceleratorcms.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ContentPageModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ContentPageModel​(CatalogVersionModel _catalogVersion,
                                PageTemplateModel _masterTemplate,
                                java.lang.String _uid)
        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:
        _catalogVersion - initial attribute declared by type CMSItem at extension cms2
        _masterTemplate - initial attribute declared by type AbstractPage at extension cms2
        _uid - initial attribute declared by type CMSItem at extension cms2
      • ContentPageModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ContentPageModel​(CatalogVersionModel _catalogVersion,
                                PageTemplateModel _masterTemplate,
                                ItemModel _owner,
                                java.lang.String _uid)
        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:
        _catalogVersion - initial attribute declared by type CMSItem at extension cms2
        _masterTemplate - initial attribute declared by type AbstractPage at extension cms2
        _owner - initial attribute declared by type Item at extension core
        _uid - initial attribute declared by type CMSItem at extension cms2
    • Method Detail

      • getBannerComponets

        @Accessor(qualifier="bannerComponets",
                  type=GETTER)
        public java.util.List<BannerComponentModel> getBannerComponets()
        Generated method - Getter of the ContentPage.bannerComponets attribute defined at extension cms2lib. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the bannerComponets
      • getDescription

        @Accessor(qualifier="description",
                  type=GETTER)
        public java.lang.String getDescription()
        Generated method - Getter of the ContentPage.description attribute defined at extension acceleratorcms.
        Returns:
        the description - Localized content page description.
      • getDescription

        @Accessor(qualifier="description",
                  type=GETTER)
        public java.lang.String getDescription​(java.util.Locale loc)
        Generated method - Getter of the ContentPage.description attribute defined at extension acceleratorcms.
        Parameters:
        loc - the value localization key
        Returns:
        the description - Localized content page description.
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • getFlashComponents

        @Accessor(qualifier="flashComponents",
                  type=GETTER)
        public java.util.List<FlashComponentModel> getFlashComponents()
        Generated method - Getter of the ContentPage.flashComponents attribute defined at extension cms2lib. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the flashComponents
      • getKeywords

        @Accessor(qualifier="keywords",
                  type=GETTER)
        public java.lang.String getKeywords()
        Generated method - Getter of the ContentPage.keywords attribute defined at extension acceleratorcms.
        Returns:
        the keywords - Localized content page keywords.
      • getKeywords

        @Accessor(qualifier="keywords",
                  type=GETTER)
        public java.lang.String getKeywords​(java.util.Locale loc)
        Generated method - Getter of the ContentPage.keywords attribute defined at extension acceleratorcms.
        Parameters:
        loc - the value localization key
        Returns:
        the keywords - Localized content page keywords.
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • getLabel

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

        @Deprecated(since="4.3",
                    forRemoval=true)
        @Accessor(qualifier="labelOrId",
                  type=GETTER)
        public java.lang.String getLabelOrId()
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.3
        Generated method - Getter of the ContentPage.labelOrId attribute defined at extension cms2.
        Returns:
        the labelOrId
      • getLinkComponents

        @Accessor(qualifier="linkComponents",
                  type=GETTER)
        public java.util.List<CMSLinkComponentModel> getLinkComponents()
        Generated method - Getter of the ContentPage.linkComponents attribute defined at extension cms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the linkComponents
      • getNavigationNodes

        @Deprecated(since="4.4",
                    forRemoval=true)
        @Accessor(qualifier="navigationNodes",
                  type=GETTER)
        public java.util.List<CMSNavigationNodeModel> getNavigationNodes()
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.4
        Generated method - Getter of the ContentPage.navigationNodes attribute defined at extension cms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the navigationNodes
      • isHomepage

        @Accessor(qualifier="homepage",
                  type=GETTER)
        public boolean isHomepage()
        Generated method - Getter of the ContentPage.homepage attribute defined at extension cms2.
        Returns:
        the homepage
      • setBannerComponets

        @Accessor(qualifier="bannerComponets",
                  type=SETTER)
        public void setBannerComponets​(java.util.List<BannerComponentModel> value)
        Generated method - Setter of ContentPage.bannerComponets attribute defined at extension cms2lib.
        Parameters:
        value - the bannerComponets
      • setDescription

        @Accessor(qualifier="description",
                  type=SETTER)
        public void setDescription​(java.lang.String value)
        Generated method - Setter of ContentPage.description attribute defined at extension acceleratorcms.
        Parameters:
        value - the description - Localized content page description.
      • setDescription

        @Accessor(qualifier="description",
                  type=SETTER)
        public void setDescription​(java.lang.String value,
                                   java.util.Locale loc)
        Generated method - Setter of ContentPage.description attribute defined at extension acceleratorcms.
        Parameters:
        value - the description - Localized content page description.
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • setFlashComponents

        @Accessor(qualifier="flashComponents",
                  type=SETTER)
        public void setFlashComponents​(java.util.List<FlashComponentModel> value)
        Generated method - Setter of ContentPage.flashComponents attribute defined at extension cms2lib.
        Parameters:
        value - the flashComponents
      • setHomepage

        @Accessor(qualifier="homepage",
                  type=SETTER)
        public void setHomepage​(boolean value)
        Generated method - Setter of ContentPage.homepage attribute defined at extension cms2.
        Parameters:
        value - the homepage
      • setKeywords

        @Accessor(qualifier="keywords",
                  type=SETTER)
        public void setKeywords​(java.lang.String value)
        Generated method - Setter of ContentPage.keywords attribute defined at extension acceleratorcms.
        Parameters:
        value - the keywords - Localized content page keywords.
      • setKeywords

        @Accessor(qualifier="keywords",
                  type=SETTER)
        public void setKeywords​(java.lang.String value,
                                java.util.Locale loc)
        Generated method - Setter of ContentPage.keywords attribute defined at extension acceleratorcms.
        Parameters:
        value - the keywords - Localized content page keywords.
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • setLabel

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

        @Accessor(qualifier="linkComponents",
                  type=SETTER)
        public void setLinkComponents​(java.util.List<CMSLinkComponentModel> value)
        Generated method - Setter of ContentPage.linkComponents attribute defined at extension cms2.
        Parameters:
        value - the linkComponents
      • setNavigationNodes

        @Deprecated(since="4.4",
                    forRemoval=true)
        @Accessor(qualifier="navigationNodes",
                  type=SETTER)
        public void setNavigationNodes​(java.util.List<CMSNavigationNodeModel> value)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.4
        Generated method - Setter of ContentPage.navigationNodes attribute defined at extension cms2.
        Parameters:
        value - the navigationNodes