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 String |
_TYPECODE
Generated model type code constant.
|
static String |
NAVIGATIONNODE
Generated constant - Attribute key of
NavigationComponent.navigationNode attribute defined at extension acceleratorcms. |
static String |
STYLECLASS
Generated constant - Attribute key of
NavigationComponent.styleClass attribute defined at extension acceleratorcms. |
static 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, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
NavigationComponentModel()
Generated constructor - Default constructor for generic creation.
|
NavigationComponentModel(CatalogVersionModel _catalogVersion,
ItemModel _owner,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
NavigationComponentModel(CatalogVersionModel _catalogVersion,
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. |
String |
getStyleClass()
Generated method - Getter of the
NavigationComponent.styleClass attribute defined at extension acceleratorcms. |
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(String value)
Generated method - Setter of
NavigationComponent.styleClass attribute defined at extension acceleratorcms. |
void |
setWrapAfter(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, 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 String _TYPECODE
public static final String NAVIGATIONNODE
NavigationComponent.navigationNode attribute defined at extension acceleratorcms.public static final String STYLECLASS
NavigationComponent.styleClass attribute defined at extension acceleratorcms.public static final 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, 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, 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 String getStyleClass()
NavigationComponent.styleClass attribute defined at extension acceleratorcms.@Accessor(qualifier="wrapAfter", type=GETTER) public 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(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(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 © 2017 SAP SE. All Rights Reserved.