Class NavigationBarComponentModel
- 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.contents.components.AbstractCMSComponentModel
-
- de.hybris.platform.cms2.model.contents.components.SimpleCMSComponentModel
-
- de.hybris.platform.acceleratorcms.model.components.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringDROPDOWNLAYOUTGenerated constant - Attribute key ofNavigationBarComponent.dropDownLayoutattribute defined at extensionacceleratorcms.static java.lang.StringLINKGenerated constant - Attribute key ofNavigationBarComponent.linkattribute defined at extensionacceleratorcms.static java.lang.StringNAVIGATIONNODEGenerated constant - Attribute key ofNavigationBarComponent.navigationNodeattribute defined at extensionacceleratorcms.static java.lang.StringSTYLECLASSGenerated constant - Attribute key ofNavigationBarComponent.styleClassattribute defined at extensionacceleratorcms.static java.lang.StringWRAPAFTERGenerated constant - Attribute key ofNavigationBarComponent.wrapAfterattribute defined at extensionacceleratorcms.-
Fields inherited from class de.hybris.platform.cms2.model.contents.components.SimpleCMSComponentModel
_ELEMENTSFORCONTAINER, CONTAINERS
-
Fields inherited from class de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel
_ELEMENTSFORSLOT, ACTIONS, CONTAINER, ONLYONERESTRICTIONMUSTAPPLY, RESTRICTED, RESTRICTIONS, SLOTS, TYPE, TYPECODE, VISIBLE
-
Fields inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
CATALOGVERSION, NAME, 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 NavigationBarComponentModel()Generated constructor - Default constructor for generic creation.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 parametersNavigationBarComponentModel(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 parametersNavigationBarComponentModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NavigationBarMenuLayoutgetDropDownLayout()Generated method - Getter of theNavigationBarComponent.dropDownLayoutattribute defined at extensionacceleratorcms.CMSLinkComponentModelgetLink()Generated method - Getter of theNavigationBarComponent.linkattribute defined at extensionacceleratorcms.CMSNavigationNodeModelgetNavigationNode()Generated method - Getter of theNavigationBarComponent.navigationNodeattribute defined at extensionacceleratorcms.java.lang.StringgetStyleClass()Generated method - Getter of theNavigationBarComponent.styleClassattribute defined at extensionacceleratorcms.java.lang.IntegergetWrapAfter()Generated method - Getter of theNavigationBarComponent.wrapAfterattribute defined at extensionacceleratorcms.voidsetDropDownLayout(NavigationBarMenuLayout value)Generated method - Setter ofNavigationBarComponent.dropDownLayoutattribute defined at extensionacceleratorcms.voidsetLink(CMSLinkComponentModel value)Generated method - Setter ofNavigationBarComponent.linkattribute defined at extensionacceleratorcms.voidsetNavigationNode(CMSNavigationNodeModel value)Generated method - Setter ofNavigationBarComponent.navigationNodeattribute defined at extensionacceleratorcms.voidsetStyleClass(java.lang.String value)Generated method - Setter ofNavigationBarComponent.styleClassattribute defined at extensionacceleratorcms.voidsetWrapAfter(java.lang.Integer value)Generated method - Setter ofNavigationBarComponent.wrapAfterattribute defined at extensionacceleratorcms.-
Methods inherited from class de.hybris.platform.cms2.model.contents.components.SimpleCMSComponentModel
getContainers, setContainers
-
Methods inherited from class de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel
getActions, getRestrictions, getSlots, getType, getType, getTypeCode, getVisible, isContainer, isOnlyOneRestrictionMustApply, isRestricted, setActions, setOnlyOneRestrictionMustApply, setRestrictions, setSlots, setVisible
-
Methods inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
getCatalogVersion, getName, getUid, setCatalogVersion, setName, 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
-
-
-
-
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 ofNavigationBarComponent.dropDownLayoutattribute defined at extensionacceleratorcms.- See Also:
- Constant Field Values
-
NAVIGATIONNODE
public static final java.lang.String NAVIGATIONNODE
Generated constant - Attribute key ofNavigationBarComponent.navigationNodeattribute defined at extensionacceleratorcms.- See Also:
- Constant Field Values
-
WRAPAFTER
public static final java.lang.String WRAPAFTER
Generated constant - Attribute key ofNavigationBarComponent.wrapAfterattribute defined at extensionacceleratorcms.- See Also:
- Constant Field Values
-
LINK
public static final java.lang.String LINK
Generated constant - Attribute key ofNavigationBarComponent.linkattribute defined at extensionacceleratorcms.- See Also:
- Constant Field Values
-
STYLECLASS
public static final java.lang.String STYLECLASS
Generated constant - Attribute key ofNavigationBarComponent.styleClassattribute defined at extensionacceleratorcms.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_catalogVersion- initial attribute declared by typeCMSItemat extensioncms2_link- initial attribute declared by typeNavigationBarComponentat extensionacceleratorcms_uid- initial attribute declared by typeCMSItemat extensioncms2
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogVersion- initial attribute declared by typeCMSItemat extensioncms2_link- initial attribute declared by typeNavigationBarComponentat extensionacceleratorcms_owner- initial attribute declared by typeItemat extensioncore_uid- initial attribute declared by typeCMSItemat extensioncms2
-
-
Method Detail
-
getDropDownLayout
@Accessor(qualifier="dropDownLayout", type=GETTER) public NavigationBarMenuLayout getDropDownLayout()
Generated method - Getter of theNavigationBarComponent.dropDownLayoutattribute defined at extensionacceleratorcms.- Returns:
- the dropDownLayout - Determines the way navigation drop down is positioned.
-
getLink
@Accessor(qualifier="link", type=GETTER) public CMSLinkComponentModel getLink()
Generated method - Getter of theNavigationBarComponent.linkattribute defined at extensionacceleratorcms.- 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 theNavigationBarComponent.navigationNodeattribute defined at extensionacceleratorcms.- 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 theNavigationBarComponent.styleClassattribute defined at extensionacceleratorcms.- 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 theNavigationBarComponent.wrapAfterattribute defined at extensionacceleratorcms.- 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 ofNavigationBarComponent.dropDownLayoutattribute defined at extensionacceleratorcms.- 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 ofNavigationBarComponent.linkattribute defined at extensionacceleratorcms.- 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 ofNavigationBarComponent.navigationNodeattribute defined at extensionacceleratorcms.- 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 ofNavigationBarComponent.styleClassattribute defined at extensionacceleratorcms.- 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 ofNavigationBarComponent.wrapAfterattribute defined at extensionacceleratorcms.- Parameters:
value- the wrapAfter - Determines the number of navigation nodes when the following elements will be wrapped.
-
-