Class NavigationBarComponentModel

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • DROPDOWNLAYOUT

        public static final java.lang.String DROPDOWNLAYOUT
        Generated constant - Attribute key of NavigationBarComponent.dropDownLayout attribute defined at extension acceleratorcms.
        See Also:
        Constant Field Values
      • NAVIGATIONNODE

        public static final java.lang.String NAVIGATIONNODE
        Generated constant - Attribute key of NavigationBarComponent.navigationNode attribute defined at extension acceleratorcms.
        See Also:
        Constant Field Values
      • WRAPAFTER

        public static final java.lang.String WRAPAFTER
        Generated constant - Attribute key of NavigationBarComponent.wrapAfter attribute defined at extension acceleratorcms.
        See Also:
        Constant Field Values
      • LINK

        public static final java.lang.String LINK
        Generated constant - Attribute key of NavigationBarComponent.link attribute defined at extension acceleratorcms.
        See Also:
        Constant Field Values
      • STYLECLASS

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

      • NavigationBarComponentModel

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

        public NavigationBarComponentModel​(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,
                                           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
        _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,
                                           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
        _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 Detail

      • 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 java.lang.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 java.lang.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​(java.lang.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​(java.lang.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.