Class ContentPageModel

All Implemented Interfaces:
Serializable

public class ContentPageModel extends AbstractPageModel
Generated model class for type ContentPage first defined at extension cms2.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _BANNERSFORCONTENTPAGE

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

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

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

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

      public static final String LABELORID
      Generated constant - Attribute key of ContentPage.labelOrId attribute defined at extension cms2.
      See Also:
    • LINKCOMPONENTS

      public static final String LINKCOMPONENTS
      Generated constant - Attribute key of ContentPage.linkComponents attribute defined at extension cms2.
      See Also:
    • VIDEOCOMPONENTS

      public static final String VIDEOCOMPONENTS
      Generated constant - Attribute key of ContentPage.videoComponents attribute defined at extension cms2.
      See Also:
    • BANNERCOMPONETS

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

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

      public static final String KEYWORDS
      Generated constant - Attribute key of ContentPage.keywords attribute defined at extension acceleratorcms.
      See Also:
    • SIMPLEBANNERCOMPONENTS

      public static final String SIMPLEBANNERCOMPONENTS
      Generated constant - Attribute key of ContentPage.simpleBannerComponents attribute defined at extension acceleratorcms.
      See Also:
    • SIMPLERESPONSIVEBANNERCOMPONENTS

      public static final String SIMPLERESPONSIVEBANNERCOMPONENTS
      Generated constant - Attribute key of ContentPage.simpleResponsiveBannerComponents attribute defined at extension acceleratorcms.
      See Also:
  • Constructor Details

    • 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, 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, 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 Details

    • getBannerComponets

      @Accessor(qualifier="bannerComponets", type=GETTER) public 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
    • getFlashComponents

      @Accessor(qualifier="flashComponents", type=GETTER) public 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 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 String getKeywords(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:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getLabel

      @Accessor(qualifier="label", type=GETTER) public 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 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 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 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
    • getSimpleBannerComponents

      @Accessor(qualifier="simpleBannerComponents", type=GETTER) public List<SimpleBannerComponentModel> getSimpleBannerComponents()
      Generated method - Getter of the ContentPage.simpleBannerComponents attribute defined at extension acceleratorcms. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the simpleBannerComponents
    • getSimpleResponsiveBannerComponents

      @Accessor(qualifier="simpleResponsiveBannerComponents", type=GETTER) public List<SimpleResponsiveBannerComponentModel> getSimpleResponsiveBannerComponents()
      Generated method - Getter of the ContentPage.simpleResponsiveBannerComponents attribute defined at extension acceleratorcms. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the simpleResponsiveBannerComponents
    • getVideoComponents

      @Accessor(qualifier="videoComponents", type=GETTER) public List<VideoComponentModel> getVideoComponents()
      Generated method - Getter of the ContentPage.videoComponents attribute defined at extension cms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the videoComponents
    • 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(List<BannerComponentModel> value)
      Generated method - Setter of ContentPage.bannerComponets attribute defined at extension cms2lib.
      Parameters:
      value - the bannerComponets
    • setFlashComponents

      @Accessor(qualifier="flashComponents", type=SETTER) public void setFlashComponents(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(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(String value, 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:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setLabel

      @Accessor(qualifier="label", type=SETTER) public void setLabel(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(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(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
    • setSimpleBannerComponents

      @Accessor(qualifier="simpleBannerComponents", type=SETTER) public void setSimpleBannerComponents(List<SimpleBannerComponentModel> value)
      Generated method - Setter of ContentPage.simpleBannerComponents attribute defined at extension acceleratorcms.
      Parameters:
      value - the simpleBannerComponents
    • setSimpleResponsiveBannerComponents

      @Accessor(qualifier="simpleResponsiveBannerComponents", type=SETTER) public void setSimpleResponsiveBannerComponents(List<SimpleResponsiveBannerComponentModel> value)
      Generated method - Setter of ContentPage.simpleResponsiveBannerComponents attribute defined at extension acceleratorcms.
      Parameters:
      value - the simpleResponsiveBannerComponents
    • setVideoComponents

      @Accessor(qualifier="videoComponents", type=SETTER) public void setVideoComponents(List<VideoComponentModel> value)
      Generated method - Setter of ContentPage.videoComponents attribute defined at extension cms2.
      Parameters:
      value - the videoComponents