Class NavigationBarComponentModel

All Implemented Interfaces:
Serializable

public class NavigationBarComponentModel extends SimpleCMSComponentModel
Generated model class for type NavigationBarComponent first defined at extension acceleratorcms.

Deprecated since 6.2, please use NavigationComponent instead. It represents navigation bar 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:
    • WRAPAFTER

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

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

    • NavigationBarComponentModel

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

      public NavigationBarComponentModel(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
    • NavigationBarComponentModel

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

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

    • getDropDownLayout

      @Accessor(qualifier="dropDownLayout", type=GETTER) public NavigationBarMenuLayout getDropDownLayout()
      Generated method - Getter of the NavigationBarComponent.dropDownLayout attribute defined at extension acceleratorcms.
      Returns:
      the dropDownLayout - Determines the way navigation drop down is positioned.
    • getLink

      @Accessor(qualifier="link", type=GETTER) public CMSLinkComponentModel getLink()
      Generated method - Getter of the NavigationBarComponent.link attribute defined at extension acceleratorcms.
      Returns:
      the link - The cms link component that is attached to this bar component.
    • getNavigationNode

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

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

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

      @Accessor(qualifier="dropDownLayout", type=SETTER) public void setDropDownLayout(NavigationBarMenuLayout value)
      Generated method - Setter of NavigationBarComponent.dropDownLayout attribute defined at extension acceleratorcms.
      Parameters:
      value - the dropDownLayout - Determines the way navigation drop down is positioned.
    • setLink

      @Accessor(qualifier="link", type=SETTER) public void setLink(CMSLinkComponentModel value)
      Generated method - Setter of NavigationBarComponent.link attribute defined at extension acceleratorcms.
      Parameters:
      value - the link - The cms link component that is attached to this bar component.
    • setNavigationNode

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

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

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