Class NavigationComponentModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CategoryNavigationComponentModel, FooterNavigationComponentModel, VerticalNavigationListComponentModel

public class NavigationComponentModel extends SimpleCMSComponentModel
Generated model class for type NavigationComponent first defined at extension acceleratorcms.

It represents navigation component that contains cms navigation node. Nodes structure can be built in a hierarchical way.

See Also:
  • Field Details

    • _TYPECODE

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

      public static final String STYLECLASS
      Generated constant - Attribute key of NavigationComponent.styleClass attribute defined at extension acceleratorcms.
      See Also:
    • WRAPAFTER

      public static final String WRAPAFTER
      Generated constant - Attribute key of NavigationComponent.wrapAfter attribute defined at extension acceleratorcms.
      See Also:
  • Constructor Details

    • NavigationComponentModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public NavigationComponentModel(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
    • NavigationComponentModel

      @Deprecated(since="4.1.1", forRemoval=true) public NavigationComponentModel(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

    • getNavigationNode

      @Accessor(qualifier="navigationNode", type=GETTER) public CMSNavigationNodeModel getNavigationNode()
      Generated method - Getter of the NavigationComponent.navigationNode attribute defined at extension acceleratorcms.
      Returns:
      the navigationNode - The cms navigation node of this navigation component.
    • getStyleClass

      @Accessor(qualifier="styleClass", type=GETTER) public String getStyleClass()
      Generated method - Getter of the NavigationComponent.styleClass attribute defined at extension acceleratorcms.
      Returns:
      the styleClass - CSS style class of this navigation component.
    • getWrapAfter

      @Accessor(qualifier="wrapAfter", type=GETTER) public Integer getWrapAfter()
      Generated method - Getter of the NavigationComponent.wrapAfter attribute defined at extension acceleratorcms.
      Returns:
      the wrapAfter - Determines the number of navigation nodes when the following elements will be wrapped.
    • setNavigationNode

      @Accessor(qualifier="navigationNode", type=SETTER) public void setNavigationNode(CMSNavigationNodeModel value)
      Generated method - Setter of NavigationComponent.navigationNode attribute defined at extension acceleratorcms.
      Parameters:
      value - the navigationNode - The cms navigation node of this navigation component.
    • setStyleClass

      @Accessor(qualifier="styleClass", type=SETTER) public void setStyleClass(String value)
      Generated method - Setter of NavigationComponent.styleClass attribute defined at extension acceleratorcms.
      Parameters:
      value - the styleClass - CSS style class of this navigation component.
    • setWrapAfter

      @Accessor(qualifier="wrapAfter", type=SETTER) public void setWrapAfter(Integer value)
      Generated method - Setter of NavigationComponent.wrapAfter attribute defined at extension acceleratorcms.
      Parameters:
      value - the wrapAfter - Determines the number of navigation nodes when the following elements will be wrapped.