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:
Serializable
Generated model class for type CMSNavigationNode first defined at extension cms2.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationCMSContentPagesForNavNodesdefining source attributepagesin extensioncms2.static final StringGenerated relation code constant for relationCMSLinksForNavNodesdefining source attributelinksin extensioncms2.static final StringGenerated relation code constant for relationCMSNavigationNodeChildrendefining source attributeparentin extensioncms2.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofCMSNavigationNode.childrenattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSNavigationNode.entriesattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSNavigationNode.linksattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSNavigationNode.pagesattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSNavigationNode.parentattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSNavigationNode.parentPOSattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSNavigationNode.titleattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSNavigationNode.visibleattribute defined at extensioncms2.Fields inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
CATALOGVERSION, NAME, SYNCHRONIZATIONBLOCKED, UIDFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.CMSNavigationNodeModel(CatalogVersionModel _catalogVersion, ItemModel _owner, 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, 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 - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theCMSNavigationNode.childrenattribute defined at extensioncms2.Generated method - Getter of theCMSNavigationNode.entriesattribute defined at extensioncms2.getLinks()Deprecated, for removal: This API element is subject to removal in a future version.since 4.4getPages()Deprecated, for removal: This API element is subject to removal in a future version.since 4.4Generated method - Getter of theCMSNavigationNode.parentattribute defined at extensioncms2.getTitle()Generated method - Getter of theCMSNavigationNode.titleattribute defined at extensioncms2.Generated method - Getter of theCMSNavigationNode.titleattribute defined at extensioncms2.booleanGenerated method - Getter of theCMSNavigationNode.visibleattribute defined at extensioncms2.voidsetChildren(List<CMSNavigationNodeModel> value) Generated method - Setter ofCMSNavigationNode.childrenattribute defined at extensioncms2.voidsetEntries(List<CMSNavigationEntryModel> value) Generated method - Setter ofCMSNavigationNode.entriesattribute defined at extensioncms2.voidsetLinks(List<CMSLinkComponentModel> value) Deprecated, for removal: This API element is subject to removal in a future version.since 4.4voidsetPages(List<ContentPageModel> value) Deprecated, for removal: This API element is subject to removal in a future version.since 4.4voidsetParent(CMSNavigationNodeModel value) Generated method - Setter ofCMSNavigationNode.parentattribute defined at extensioncms2.voidGenerated method - Setter ofCMSNavigationNode.titleattribute defined at extensioncms2.voidGenerated method - Setter ofCMSNavigationNode.titleattribute defined at extensioncms2.voidsetVisible(boolean value) Generated method - Setter ofCMSNavigationNode.visibleattribute defined at extensioncms2.Methods inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
getCatalogVersion, getName, getUid, isSynchronizationBlocked, setCatalogVersion, setName, setSynchronizationBlocked, setUidMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_CMSNAVIGATIONNODECHILDREN
Generated relation code constant for relationCMSNavigationNodeChildrendefining source attributeparentin extensioncms2.- See Also:
-
_CMSLINKSFORNAVNODES
Generated relation code constant for relationCMSLinksForNavNodesdefining source attributelinksin extensioncms2.- See Also:
-
_CMSCONTENTPAGESFORNAVNODES
Generated relation code constant for relationCMSContentPagesForNavNodesdefining source attributepagesin extensioncms2.- See Also:
-
TITLE
Generated constant - Attribute key ofCMSNavigationNode.titleattribute defined at extensioncms2.- See Also:
-
VISIBLE
Generated constant - Attribute key ofCMSNavigationNode.visibleattribute defined at extensioncms2.- See Also:
-
PARENTPOS
Generated constant - Attribute key ofCMSNavigationNode.parentPOSattribute defined at extensioncms2.- See Also:
-
PARENT
Generated constant - Attribute key ofCMSNavigationNode.parentattribute defined at extensioncms2.- See Also:
-
CHILDREN
Generated constant - Attribute key ofCMSNavigationNode.childrenattribute defined at extensioncms2.- See Also:
-
LINKS
Generated constant - Attribute key ofCMSNavigationNode.linksattribute defined at extensioncms2.- See Also:
-
PAGES
Generated constant - Attribute key ofCMSNavigationNode.pagesattribute defined at extensioncms2.- See Also:
-
ENTRIES
Generated constant - Attribute key ofCMSNavigationNode.entriesattribute defined at extensioncms2.- See Also:
-
-
Constructor Details
-
CMSNavigationNodeModel
public CMSNavigationNodeModel()Generated constructor - Default constructor for generic creation. -
CMSNavigationNodeModel
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, 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_uid- initial attribute declared by typeCMSItemat extensioncms2
-
CMSNavigationNodeModel
@Deprecated(since="4.1.1", forRemoval=true) public CMSNavigationNodeModel(CatalogVersionModel _catalogVersion, ItemModel _owner, 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_owner- initial attribute declared by typeItemat extensioncore_uid- initial attribute declared by typeCMSItemat extensioncms2
-
-
Method Details
-
getChildren
Generated method - Getter of theCMSNavigationNode.childrenattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the children
-
getEntries
Generated method - Getter of theCMSNavigationNode.entriesattribute 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 List<CMSLinkComponentModel> getLinks()Deprecated, for removal: This API element is subject to removal in a future version.since 4.4Generated method - Getter of theCMSNavigationNode.linksattribute 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 List<ContentPageModel> getPages()Deprecated, for removal: This API element is subject to removal in a future version.since 4.4Generated method - Getter of theCMSNavigationNode.pagesattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the pages
-
getParent
Generated method - Getter of theCMSNavigationNode.parentattribute defined at extensioncms2.- Returns:
- the parent
-
getTitle
Generated method - Getter of theCMSNavigationNode.titleattribute defined at extensioncms2.- Returns:
- the title
-
getTitle
Generated method - Getter of theCMSNavigationNode.titleattribute defined at extensioncms2.- Parameters:
loc- the value localization key- Returns:
- the title
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
isVisible
Generated method - Getter of theCMSNavigationNode.visibleattribute defined at extensioncms2.- Returns:
- the visible
-
setChildren
@Accessor(qualifier="children", type=SETTER) public void setChildren(List<CMSNavigationNodeModel> value) Generated method - Setter ofCMSNavigationNode.childrenattribute defined at extensioncms2.- Parameters:
value- the children
-
setEntries
@Accessor(qualifier="entries", type=SETTER) public void setEntries(List<CMSNavigationEntryModel> value) Generated method - Setter ofCMSNavigationNode.entriesattribute defined at extensioncms2.- Parameters:
value- the entries
-
setLinks
@Deprecated(since="4.4", forRemoval=true) @Accessor(qualifier="links", type=SETTER) public void setLinks(List<CMSLinkComponentModel> value) Deprecated, for removal: This API element is subject to removal in a future version.since 4.4Generated method - Setter ofCMSNavigationNode.linksattribute defined at extensioncms2.- Parameters:
value- the links
-
setPages
@Deprecated(since="4.4", forRemoval=true) @Accessor(qualifier="pages", type=SETTER) public void setPages(List<ContentPageModel> value) Deprecated, for removal: This API element is subject to removal in a future version.since 4.4Generated method - Setter ofCMSNavigationNode.pagesattribute defined at extensioncms2.- Parameters:
value- the pages
-
setTitle
Generated method - Setter ofCMSNavigationNode.titleattribute defined at extensioncms2.- Parameters:
value- the title
-
setTitle
Generated method - Setter ofCMSNavigationNode.titleattribute defined at extensioncms2.- Parameters:
value- the titleloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setVisible
Generated method - Setter ofCMSNavigationNode.visibleattribute defined at extensioncms2.- Parameters:
value- the visible
-