Class CMSNavigationNodeModel
- 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.navigation.CMSNavigationNodeModel
-
- All Implemented Interfaces:
java.io.Serializable
public class CMSNavigationNodeModel extends CMSItemModel
Generated model class for type CMSNavigationNode first defined at extension cms2.- 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
_CMSCONTENTPAGESFORNAVNODES
Generated relation code constant for relationCMSContentPagesForNavNodes
defining source attributepages
in extensioncms2
.static java.lang.String
_CMSLINKSFORNAVNODES
Generated relation code constant for relationCMSLinksForNavNodes
defining source attributelinks
in extensioncms2
.static java.lang.String
_CMSNAVIGATIONNODECHILDREN
Generated relation code constant for relationCMSNavigationNodeChildren
defining source attributeparent
in extensioncms2
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
CHILDREN
Generated constant - Attribute key ofCMSNavigationNode.children
attribute defined at extensioncms2
.static java.lang.String
ENTRIES
Generated constant - Attribute key ofCMSNavigationNode.entries
attribute defined at extensioncms2
.static java.lang.String
LINKS
Generated constant - Attribute key ofCMSNavigationNode.links
attribute defined at extensioncms2
.static java.lang.String
PAGES
Generated constant - Attribute key ofCMSNavigationNode.pages
attribute defined at extensioncms2
.static java.lang.String
PARENT
Generated constant - Attribute key ofCMSNavigationNode.parent
attribute defined at extensioncms2
.static java.lang.String
PARENTPOS
Generated constant - Attribute key ofCMSNavigationNode.parentPOS
attribute defined at extensioncms2
.static java.lang.String
TITLE
Generated constant - Attribute key ofCMSNavigationNode.title
attribute defined at extensioncms2
.static java.lang.String
VISIBLE
Generated constant - Attribute key ofCMSNavigationNode.visible
attribute defined at extensioncms2
.-
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 CMSNavigationNodeModel()
Generated constructor - Default constructor for generic creation.CMSNavigationNodeModel(CatalogVersionModel _catalogVersion, 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 parametersCMSNavigationNodeModel(CatalogVersionModel _catalogVersion, 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 parametersCMSNavigationNodeModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.List<CMSNavigationNodeModel>
getChildren()
Generated method - Getter of theCMSNavigationNode.children
attribute defined at extensioncms2
.java.util.List<CMSNavigationEntryModel>
getEntries()
Generated method - Getter of theCMSNavigationNode.entries
attribute defined at extensioncms2
.java.util.List<CMSLinkComponentModel>
getLinks()
Deprecated, for removal: This API element is subject to removal in a future version.since 4.4java.util.List<ContentPageModel>
getPages()
Deprecated, for removal: This API element is subject to removal in a future version.since 4.4CMSNavigationNodeModel
getParent()
Generated method - Getter of theCMSNavigationNode.parent
attribute defined at extensioncms2
.java.lang.String
getTitle()
Generated method - Getter of theCMSNavigationNode.title
attribute defined at extensioncms2
.java.lang.String
getTitle(java.util.Locale loc)
Generated method - Getter of theCMSNavigationNode.title
attribute defined at extensioncms2
.boolean
isVisible()
Generated method - Getter of theCMSNavigationNode.visible
attribute defined at extensioncms2
.void
setChildren(java.util.List<CMSNavigationNodeModel> value)
Generated method - Setter ofCMSNavigationNode.children
attribute defined at extensioncms2
.void
setEntries(java.util.List<CMSNavigationEntryModel> value)
Generated method - Setter ofCMSNavigationNode.entries
attribute defined at extensioncms2
.void
setLinks(java.util.List<CMSLinkComponentModel> value)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.4void
setPages(java.util.List<ContentPageModel> value)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.4void
setParent(CMSNavigationNodeModel value)
Generated method - Setter ofCMSNavigationNode.parent
attribute defined at extensioncms2
.void
setTitle(java.lang.String value)
Generated method - Setter ofCMSNavigationNode.title
attribute defined at extensioncms2
.void
setTitle(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofCMSNavigationNode.title
attribute defined at extensioncms2
.void
setVisible(boolean value)
Generated method - Setter ofCMSNavigationNode.visible
attribute defined at extensioncms2
.-
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
-
_CMSNAVIGATIONNODECHILDREN
public static final java.lang.String _CMSNAVIGATIONNODECHILDREN
Generated relation code constant for relationCMSNavigationNodeChildren
defining source attributeparent
in extensioncms2
.- See Also:
- Constant Field Values
-
_CMSLINKSFORNAVNODES
public static final java.lang.String _CMSLINKSFORNAVNODES
Generated relation code constant for relationCMSLinksForNavNodes
defining source attributelinks
in extensioncms2
.- See Also:
- Constant Field Values
-
_CMSCONTENTPAGESFORNAVNODES
public static final java.lang.String _CMSCONTENTPAGESFORNAVNODES
Generated relation code constant for relationCMSContentPagesForNavNodes
defining source attributepages
in extensioncms2
.- See Also:
- Constant Field Values
-
TITLE
public static final java.lang.String TITLE
Generated constant - Attribute key ofCMSNavigationNode.title
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
VISIBLE
public static final java.lang.String VISIBLE
Generated constant - Attribute key ofCMSNavigationNode.visible
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
PARENTPOS
public static final java.lang.String PARENTPOS
Generated constant - Attribute key ofCMSNavigationNode.parentPOS
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
PARENT
public static final java.lang.String PARENT
Generated constant - Attribute key ofCMSNavigationNode.parent
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
CHILDREN
public static final java.lang.String CHILDREN
Generated constant - Attribute key ofCMSNavigationNode.children
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
LINKS
public static final java.lang.String LINKS
Generated constant - Attribute key ofCMSNavigationNode.links
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
PAGES
public static final java.lang.String PAGES
Generated constant - Attribute key ofCMSNavigationNode.pages
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
ENTRIES
public static final java.lang.String ENTRIES
Generated constant - Attribute key ofCMSNavigationNode.entries
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CMSNavigationNodeModel
public CMSNavigationNodeModel()
Generated constructor - Default constructor for generic creation.
-
CMSNavigationNodeModel
public CMSNavigationNodeModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
CMSNavigationNodeModel
@Deprecated(since="4.1.1", forRemoval=true) public CMSNavigationNodeModel(CatalogVersionModel _catalogVersion, 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 typeCMSItem
at extensioncms2
_uid
- initial attribute declared by typeCMSItem
at extensioncms2
-
CMSNavigationNodeModel
@Deprecated(since="4.1.1", forRemoval=true) public CMSNavigationNodeModel(CatalogVersionModel _catalogVersion, 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 typeCMSItem
at extensioncms2
_owner
- initial attribute declared by typeItem
at extensioncore
_uid
- initial attribute declared by typeCMSItem
at extensioncms2
-
-
Method Detail
-
getChildren
@Accessor(qualifier="children", type=GETTER) public java.util.List<CMSNavigationNodeModel> getChildren()
Generated method - Getter of theCMSNavigationNode.children
attribute defined at extensioncms2
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the children
-
getEntries
@Accessor(qualifier="entries", type=GETTER) public java.util.List<CMSNavigationEntryModel> getEntries()
Generated method - Getter of theCMSNavigationNode.entries
attribute defined at extensioncms2
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the entries
-
getLinks
@Deprecated(since="4.4", forRemoval=true) @Accessor(qualifier="links", type=GETTER) public java.util.List<CMSLinkComponentModel> getLinks()
Deprecated, for removal: This API element is subject to removal in a future version.since 4.4Generated method - Getter of theCMSNavigationNode.links
attribute defined at extensioncms2
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the links
-
getPages
@Deprecated(since="4.4", forRemoval=true) @Accessor(qualifier="pages", type=GETTER) public java.util.List<ContentPageModel> getPages()
Deprecated, for removal: This API element is subject to removal in a future version.since 4.4Generated method - Getter of theCMSNavigationNode.pages
attribute defined at extensioncms2
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the pages
-
getParent
@Accessor(qualifier="parent", type=GETTER) public CMSNavigationNodeModel getParent()
Generated method - Getter of theCMSNavigationNode.parent
attribute defined at extensioncms2
.- Returns:
- the parent
-
getTitle
@Accessor(qualifier="title", type=GETTER) public java.lang.String getTitle()
Generated method - Getter of theCMSNavigationNode.title
attribute defined at extensioncms2
.- Returns:
- the title
-
getTitle
@Accessor(qualifier="title", type=GETTER) public java.lang.String getTitle(java.util.Locale loc)
Generated method - Getter of theCMSNavigationNode.title
attribute defined at extensioncms2
.- Parameters:
loc
- the value localization key- Returns:
- the title
- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
isVisible
@Accessor(qualifier="visible", type=GETTER) public boolean isVisible()
Generated method - Getter of theCMSNavigationNode.visible
attribute defined at extensioncms2
.- Returns:
- the visible
-
setChildren
@Accessor(qualifier="children", type=SETTER) public void setChildren(java.util.List<CMSNavigationNodeModel> value)
Generated method - Setter ofCMSNavigationNode.children
attribute defined at extensioncms2
.- Parameters:
value
- the children
-
setEntries
@Accessor(qualifier="entries", type=SETTER) public void setEntries(java.util.List<CMSNavigationEntryModel> value)
Generated method - Setter ofCMSNavigationNode.entries
attribute defined at extensioncms2
.- Parameters:
value
- the entries
-
setLinks
@Deprecated(since="4.4", forRemoval=true) @Accessor(qualifier="links", type=SETTER) public void setLinks(java.util.List<CMSLinkComponentModel> value)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.4Generated method - Setter ofCMSNavigationNode.links
attribute defined at extensioncms2
.- Parameters:
value
- the links
-
setPages
@Deprecated(since="4.4", forRemoval=true) @Accessor(qualifier="pages", type=SETTER) public void setPages(java.util.List<ContentPageModel> value)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.4Generated method - Setter ofCMSNavigationNode.pages
attribute defined at extensioncms2
.- Parameters:
value
- the pages
-
setParent
@Accessor(qualifier="parent", type=SETTER) public void setParent(CMSNavigationNodeModel value)
Generated method - Setter ofCMSNavigationNode.parent
attribute defined at extensioncms2
.- Parameters:
value
- the parent
-
setTitle
@Accessor(qualifier="title", type=SETTER) public void setTitle(java.lang.String value)
Generated method - Setter ofCMSNavigationNode.title
attribute defined at extensioncms2
.- Parameters:
value
- the title
-
setTitle
@Accessor(qualifier="title", type=SETTER) public void setTitle(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofCMSNavigationNode.title
attribute defined at extensioncms2
.- Parameters:
value
- the titleloc
- the value localization key- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
-