Class CMSNavigationNodeModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.cms2.model.contents.CMSItemModel
de.hybris.platform.cms2.model.navigation.CMSNavigationNodeModel
All Implemented Interfaces:
Serializable

public class CMSNavigationNodeModel extends CMSItemModel
Generated model class for type CMSNavigationNode first defined at extension cms2.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated relation code constant for relation CMSContentPagesForNavNodes defining source attribute pages in extension cms2.
    static final String
    Generated relation code constant for relation CMSLinksForNavNodes defining source attribute links in extension cms2.
    static final String
    Generated relation code constant for relation CMSNavigationNodeChildren defining source attribute parent in extension cms2.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of CMSNavigationNode.children attribute defined at extension cms2.
    static final String
    Generated constant - Attribute key of CMSNavigationNode.entries attribute defined at extension cms2.
    static final String
    Generated constant - Attribute key of CMSNavigationNode.links attribute defined at extension cms2.
    static final String
    Generated constant - Attribute key of CMSNavigationNode.pages attribute defined at extension cms2.
    static final String
    Generated constant - Attribute key of CMSNavigationNode.parent attribute defined at extension cms2.
    static final String
    Generated constant - Attribute key of CMSNavigationNode.parentPOS attribute defined at extension cms2.
    static final String
    Generated constant - Attribute key of CMSNavigationNode.title attribute defined at extension cms2.
    static final String
    Generated constant - Attribute key of CMSNavigationNode.visible attribute defined at extension cms2.

    Fields inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel

    CATALOGVERSION, NAME, SYNCHRONIZATIONBLOCKED, UID

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    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
    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
    CMSNavigationNodeModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the CMSNavigationNode.children attribute defined at extension cms2.
    Generated method - Getter of the CMSNavigationNode.entries attribute defined at extension cms2.
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 4.4
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 4.4
    Generated method - Getter of the CMSNavigationNode.parent attribute defined at extension cms2.
    Generated method - Getter of the CMSNavigationNode.title attribute defined at extension cms2.
    Generated method - Getter of the CMSNavigationNode.title attribute defined at extension cms2.
    boolean
    Generated method - Getter of the CMSNavigationNode.visible attribute defined at extension cms2.
    void
    Generated method - Setter of CMSNavigationNode.children attribute defined at extension cms2.
    void
    Generated method - Setter of CMSNavigationNode.entries attribute defined at extension cms2.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 4.4
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 4.4
    void
    Generated method - Setter of CMSNavigationNode.parent attribute defined at extension cms2.
    void
    Generated method - Setter of CMSNavigationNode.title attribute defined at extension cms2.
    void
    setTitle(String value, Locale loc)
    Generated method - Setter of CMSNavigationNode.title attribute defined at extension cms2.
    void
    setVisible(boolean value)
    Generated method - Setter of CMSNavigationNode.visible attribute defined at extension cms2.

    Methods inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel

    getCatalogVersion, getName, getUid, isSynchronizationBlocked, setCatalogVersion, setName, setSynchronizationBlocked, setUid

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

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

      public static final String _CMSNAVIGATIONNODECHILDREN
      Generated relation code constant for relation CMSNavigationNodeChildren defining source attribute parent in extension cms2.
      See Also:
    • _CMSLINKSFORNAVNODES

      public static final String _CMSLINKSFORNAVNODES
      Generated relation code constant for relation CMSLinksForNavNodes defining source attribute links in extension cms2.
      See Also:
    • _CMSCONTENTPAGESFORNAVNODES

      public static final String _CMSCONTENTPAGESFORNAVNODES
      Generated relation code constant for relation CMSContentPagesForNavNodes defining source attribute pages in extension cms2.
      See Also:
    • TITLE

      public static final String TITLE
      Generated constant - Attribute key of CMSNavigationNode.title attribute defined at extension cms2.
      See Also:
    • VISIBLE

      public static final String VISIBLE
      Generated constant - Attribute key of CMSNavigationNode.visible attribute defined at extension cms2.
      See Also:
    • PARENTPOS

      public static final String PARENTPOS
      Generated constant - Attribute key of CMSNavigationNode.parentPOS attribute defined at extension cms2.
      See Also:
    • PARENT

      public static final String PARENT
      Generated constant - Attribute key of CMSNavigationNode.parent attribute defined at extension cms2.
      See Also:
    • CHILDREN

      public static final String CHILDREN
      Generated constant - Attribute key of CMSNavigationNode.children attribute defined at extension cms2.
      See Also:
    • PAGES

      public static final String PAGES
      Generated constant - Attribute key of CMSNavigationNode.pages attribute defined at extension cms2.
      See Also:
    • ENTRIES

      public static final String ENTRIES
      Generated constant - Attribute key of CMSNavigationNode.entries attribute defined at extension cms2.
      See Also:
  • Constructor Details

    • CMSNavigationNodeModel

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

      public CMSNavigationNodeModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • CMSNavigationNodeModel

      @Deprecated(since="4.1.1", forRemoval=true) public CMSNavigationNodeModel(CatalogVersionModel _catalogVersion, 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
      _uid - initial attribute declared by type CMSItem at extension cms2
    • CMSNavigationNodeModel

      @Deprecated(since="4.1.1", forRemoval=true) public CMSNavigationNodeModel(CatalogVersionModel _catalogVersion, 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
      _owner - initial attribute declared by type Item at extension core
      _uid - initial attribute declared by type CMSItem at extension cms2
  • Method Details

    • getChildren

      @Accessor(qualifier="children", type=GETTER) public List<CMSNavigationNodeModel> getChildren()
      Generated method - Getter of the CMSNavigationNode.children attribute defined at extension cms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the children
    • getEntries

      @Accessor(qualifier="entries", type=GETTER) public List<CMSNavigationEntryModel> getEntries()
      Generated method - Getter of the CMSNavigationNode.entries attribute defined at extension cms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the entries
    • getLinks

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

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

      @Accessor(qualifier="parent", type=GETTER) public CMSNavigationNodeModel getParent()
      Generated method - Getter of the CMSNavigationNode.parent attribute defined at extension cms2.
      Returns:
      the parent
    • getTitle

      @Accessor(qualifier="title", type=GETTER) public String getTitle()
      Generated method - Getter of the CMSNavigationNode.title attribute defined at extension cms2.
      Returns:
      the title
    • getTitle

      @Accessor(qualifier="title", type=GETTER) public String getTitle(Locale loc)
      Generated method - Getter of the CMSNavigationNode.title attribute defined at extension cms2.
      Parameters:
      loc - the value localization key
      Returns:
      the title
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • isVisible

      @Accessor(qualifier="visible", type=GETTER) public boolean isVisible()
      Generated method - Getter of the CMSNavigationNode.visible attribute defined at extension cms2.
      Returns:
      the visible
    • setChildren

      @Accessor(qualifier="children", type=SETTER) public void setChildren(List<CMSNavigationNodeModel> value)
      Generated method - Setter of CMSNavigationNode.children attribute defined at extension cms2.
      Parameters:
      value - the children
    • setEntries

      @Accessor(qualifier="entries", type=SETTER) public void setEntries(List<CMSNavigationEntryModel> value)
      Generated method - Setter of CMSNavigationNode.entries attribute defined at extension cms2.
      Parameters:
      value - the entries
    • setLinks

      @Deprecated(since="4.4", forRemoval=true) @Accessor(qualifier="links", type=SETTER) public void setLinks(List<CMSLinkComponentModel> value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.4
      Generated method - Setter of CMSNavigationNode.links attribute defined at extension cms2.
      Parameters:
      value - the links
    • setPages

      @Deprecated(since="4.4", forRemoval=true) @Accessor(qualifier="pages", type=SETTER) public void setPages(List<ContentPageModel> value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.4
      Generated method - Setter of CMSNavigationNode.pages attribute defined at extension cms2.
      Parameters:
      value - the pages
    • setParent

      @Accessor(qualifier="parent", type=SETTER) public void setParent(CMSNavigationNodeModel value)
      Generated method - Setter of CMSNavigationNode.parent attribute defined at extension cms2.
      Parameters:
      value - the parent
    • setTitle

      @Accessor(qualifier="title", type=SETTER) public void setTitle(String value)
      Generated method - Setter of CMSNavigationNode.title attribute defined at extension cms2.
      Parameters:
      value - the title
    • setTitle

      @Accessor(qualifier="title", type=SETTER) public void setTitle(String value, Locale loc)
      Generated method - Setter of CMSNavigationNode.title attribute defined at extension cms2.
      Parameters:
      value - the title
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setVisible

      @Accessor(qualifier="visible", type=SETTER) public void setVisible(boolean value)
      Generated method - Setter of CMSNavigationNode.visible attribute defined at extension cms2.
      Parameters:
      value - the visible