public class NavigationComponentModel extends SimpleCMSComponentModel
It represents navigation component that contains cms navigation node. Nodes structure can be built in a hierarchical way.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
NAVIGATIONNODE
Generated constant - Attribute key of
NavigationComponent.navigationNode attribute defined at extension acceleratorcms. |
static java.lang.String |
STYLECLASS
Generated constant - Attribute key of
NavigationComponent.styleClass attribute defined at extension acceleratorcms. |
static java.lang.String |
WRAPAFTER
Generated constant - Attribute key of
NavigationComponent.wrapAfter attribute defined at extension acceleratorcms. |
_ELEMENTSFORCONTAINER, CONTAINERS_ELEMENTSFORSLOT, ACTIONS, CONTAINER, ONLYONERESTRICTIONMUSTAPPLY, RESTRICTED, RESTRICTIONS, SLOTS, TYPE, TYPECODE, VISIBLECATALOGVERSION, NAME, UID_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
NavigationComponentModel()
Generated constructor - Default constructor for generic creation.
|
NavigationComponentModel(CatalogVersionModel _catalogVersion,
ItemModel _owner,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
NavigationComponentModel(CatalogVersionModel _catalogVersion,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
NavigationComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
CMSNavigationNodeModel |
getNavigationNode()
Generated method - Getter of the
NavigationComponent.navigationNode attribute defined at extension acceleratorcms. |
java.lang.String |
getStyleClass()
Generated method - Getter of the
NavigationComponent.styleClass attribute defined at extension acceleratorcms. |
java.lang.Integer |
getWrapAfter()
Generated method - Getter of the
NavigationComponent.wrapAfter attribute defined at extension acceleratorcms. |
void |
setNavigationNode(CMSNavigationNodeModel value)
Generated method - Setter of
NavigationComponent.navigationNode attribute defined at extension acceleratorcms. |
void |
setStyleClass(java.lang.String value)
Generated method - Setter of
NavigationComponent.styleClass attribute defined at extension acceleratorcms. |
void |
setWrapAfter(java.lang.Integer value)
Generated method - Setter of
NavigationComponent.wrapAfter attribute defined at extension acceleratorcms. |
getContainers, setContainersgetActions, getRestrictions, getSlots, getType, getType, getTypeCode, getVisible, isContainer, isOnlyOneRestrictionMustApply, isRestricted, setActions, setOnlyOneRestrictionMustApply, setRestrictions, setSlots, setVisiblegetCatalogVersion, getName, getUid, setCatalogVersion, setName, setUidgetComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerequals, 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, writeReplacepublic static final java.lang.String _TYPECODE
public static final java.lang.String NAVIGATIONNODE
NavigationComponent.navigationNode attribute defined at extension acceleratorcms.public static final java.lang.String STYLECLASS
NavigationComponent.styleClass attribute defined at extension acceleratorcms.public static final java.lang.String WRAPAFTER
NavigationComponent.wrapAfter attribute defined at extension acceleratorcms.public NavigationComponentModel()
public NavigationComponentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public NavigationComponentModel(CatalogVersionModel _catalogVersion, java.lang.String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_uid - initial attribute declared by type CMSItem at extension cms2@Deprecated public NavigationComponentModel(CatalogVersionModel _catalogVersion, ItemModel _owner, java.lang.String _uid)
_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@Accessor(qualifier="navigationNode", type=GETTER) public CMSNavigationNodeModel getNavigationNode()
NavigationComponent.navigationNode attribute defined at extension acceleratorcms.@Accessor(qualifier="styleClass", type=GETTER) public java.lang.String getStyleClass()
NavigationComponent.styleClass attribute defined at extension acceleratorcms.@Accessor(qualifier="wrapAfter", type=GETTER) public java.lang.Integer getWrapAfter()
NavigationComponent.wrapAfter attribute defined at extension acceleratorcms.@Accessor(qualifier="navigationNode", type=SETTER) public void setNavigationNode(CMSNavigationNodeModel value)
NavigationComponent.navigationNode attribute defined at extension acceleratorcms.value - the navigationNode - The cms navigation node of this navigation component.@Accessor(qualifier="styleClass", type=SETTER) public void setStyleClass(java.lang.String value)
NavigationComponent.styleClass attribute defined at extension acceleratorcms.value - the styleClass - CSS style class of this navigation component.@Accessor(qualifier="wrapAfter", type=SETTER) public void setWrapAfter(java.lang.Integer value)
NavigationComponent.wrapAfter attribute defined at extension acceleratorcms.value - the wrapAfter - Determines the number of navigation nodes when the following elements will be wrapped.Copyright © 2018 SAP SE. All Rights Reserved.