Class GeneratedCMSNavigationNode
java.lang.Object
de.hybris.platform.util.BridgeAbstraction
de.hybris.platform.jalo.Item
de.hybris.platform.jalo.ExtensibleItem
de.hybris.platform.jalo.c2l.LocalizableItem
de.hybris.platform.jalo.GenericItem
de.hybris.platform.cms2.jalo.contents.GeneratedCMSItem
de.hybris.platform.cms2.jalo.contents.CMSItem
de.hybris.platform.cms2.jalo.navigation.GeneratedCMSNavigationNode
- All Implemented Interfaces:
Serializable,Comparable
- Direct Known Subclasses:
CMSNavigationNode
Generated class for type
CMSNavigationNode.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.Item
Item.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringQualifier of theCMSNavigationNode.childrenattributeprotected static final OneToManyHandler<CMSNavigationNode>OneToManyHandlerfor handling 1:n CHILDREN's relation attributes from 'many' side.protected static StringRelation disable markmodifed parameter constants for CMSContentPagesForNavNodes from ((cms2))protected static StringRelation ordering override parameter constants for CMSContentPagesForNavNodes from ((cms2))protected static Stringprotected static StringRelation disable markmodifed parameter constants for CMSLinksForNavNodes from ((cms2))protected static StringRelation ordering override parameter constants for CMSLinksForNavNodes from ((cms2))protected static Stringprotected static final Map<String,Item.AttributeMode> static final StringQualifier of theCMSNavigationNode.entriesattributeprotected static final OneToManyHandler<CMSNavigationEntry>OneToManyHandlerfor handling 1:n ENTRIES's relation attributes from 'many' side.static final StringQualifier of theCMSNavigationNode.linksattributestatic final StringQualifier of theCMSNavigationNode.pagesattributestatic final StringQualifier of theCMSNavigationNode.parentattributeprotected static final BidirectionalOneToManyHandler<GeneratedCMSNavigationNode>BidirectionalOneToManyHandlerfor handling 1:n PARENT's relation attributes from 'one' side.static final StringQualifier of theCMSNavigationNode.parentPOSattributestatic final StringQualifier of theCMSNavigationNode.titleattributestatic final StringQualifier of theCMSNavigationNode.visibleattributeFields inherited from class de.hybris.platform.cms2.jalo.contents.GeneratedCMSItem
CATALOGVERSION, NAME, SYNCHRONIZATIONBLOCKED, UIDFields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLEDFields inherited from class de.hybris.platform.jalo.Item
_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, HJMPTS, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEFields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToChildren(CMSNavigationNode value) Generated method - Addsvalueto children.voidaddToChildren(SessionContext ctx, CMSNavigationNode value) Generated method - Addsvalueto children.voidaddToEntries(CMSNavigationEntry value) Generated method - Addsvalueto entries.voidaddToEntries(SessionContext ctx, CMSNavigationEntry value) Generated method - Addsvalueto entries.voidaddToLinks(CMSLinkComponent value) Generated method - Addsvalueto links.voidaddToLinks(SessionContext ctx, CMSLinkComponent value) Generated method - Addsvalueto links.voidaddToPages(ContentPage value) Generated method - Addsvalueto pages.voidaddToPages(SessionContext ctx, ContentPage value) Generated method - Addsvalueto pages.protected ItemcreateItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) Has to be implemented for each concrete subtype of item.Generated method - Getter of theCMSNavigationNode.titleattribute.Generated method - Getter of theCMSNavigationNode.titleattribute.Generated method - Getter of theCMSNavigationNode.childrenattribute.Generated method - Getter of theCMSNavigationNode.childrenattribute.protected Map<String,Item.AttributeMode> Generated method - Getter of theCMSNavigationNode.entriesattribute.getEntries(SessionContext ctx) Generated method - Getter of theCMSNavigationNode.entriesattribute.getLinks()Generated method - Getter of theCMSNavigationNode.linksattribute.getLinks(SessionContext ctx) Generated method - Getter of theCMSNavigationNode.linksattribute.longlonggetPages()Generated method - Getter of theCMSNavigationNode.pagesattribute.getPages(SessionContext ctx) Generated method - Getter of theCMSNavigationNode.pagesattribute.longlongGenerated method - Getter of theCMSNavigationNode.parentattribute.getParent(SessionContext ctx) Generated method - Getter of theCMSNavigationNode.parentattribute.getTitle()Generated method - Getter of theCMSNavigationNode.titleattribute.getTitle(SessionContext ctx) Generated method - Getter of theCMSNavigationNode.titleattribute.booleanisMarkModifiedDisabled(Item referencedItem) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theCMSNavigationNode.visibleattribute.isVisible(SessionContext ctx) Generated method - Getter of theCMSNavigationNode.visibleattribute.booleanGenerated method - Getter of theCMSNavigationNode.visibleattribute.booleanGenerated method - Getter of theCMSNavigationNode.visibleattribute.voidGenerated method - Removesvaluefrom children.voidremoveFromChildren(SessionContext ctx, CMSNavigationNode value) Generated method - Removesvaluefrom children.voidGenerated method - Removesvaluefrom entries.voidremoveFromEntries(SessionContext ctx, CMSNavigationEntry value) Generated method - Removesvaluefrom entries.voidremoveFromLinks(CMSLinkComponent value) Generated method - Removesvaluefrom links.voidremoveFromLinks(SessionContext ctx, CMSLinkComponent value) Generated method - Removesvaluefrom links.voidremoveFromPages(ContentPage value) Generated method - Removesvaluefrom pages.voidremoveFromPages(SessionContext ctx, ContentPage value) Generated method - Removesvaluefrom pages.voidsetAllTitle(SessionContext ctx, Map<Language, String> value) Generated method - Setter of theCMSNavigationNode.titleattribute.voidsetAllTitle(Map<Language, String> value) Generated method - Setter of theCMSNavigationNode.titleattribute.voidsetChildren(SessionContext ctx, List<CMSNavigationNode> value) Generated method - Setter of theCMSNavigationNode.childrenattribute.voidsetChildren(List<CMSNavigationNode> value) Generated method - Setter of theCMSNavigationNode.childrenattribute.voidsetEntries(SessionContext ctx, List<CMSNavigationEntry> value) Generated method - Setter of theCMSNavigationNode.entriesattribute.voidsetEntries(List<CMSNavigationEntry> value) Generated method - Setter of theCMSNavigationNode.entriesattribute.voidsetLinks(SessionContext ctx, List<CMSLinkComponent> value) Generated method - Setter of theCMSNavigationNode.linksattribute.voidsetLinks(List<CMSLinkComponent> value) Generated method - Setter of theCMSNavigationNode.linksattribute.voidsetPages(SessionContext ctx, List<ContentPage> value) Generated method - Setter of theCMSNavigationNode.pagesattribute.voidsetPages(List<ContentPage> value) Generated method - Setter of theCMSNavigationNode.pagesattribute.voidsetParent(CMSNavigationNode value) Generated method - Setter of theCMSNavigationNode.parentattribute.voidsetParent(SessionContext ctx, CMSNavigationNode value) Generated method - Setter of theCMSNavigationNode.parentattribute.voidsetTitle(SessionContext ctx, String value) Generated method - Setter of theCMSNavigationNode.titleattribute.voidGenerated method - Setter of theCMSNavigationNode.titleattribute.voidsetVisible(boolean value) Generated method - Setter of theCMSNavigationNode.visibleattribute.voidsetVisible(SessionContext ctx, boolean value) Generated method - Setter of theCMSNavigationNode.visibleattribute.voidsetVisible(SessionContext ctx, Boolean value) Generated method - Setter of theCMSNavigationNode.visibleattribute.voidsetVisible(Boolean value) Generated method - Setter of theCMSNavigationNode.visibleattribute.Methods inherited from class de.hybris.platform.cms2.jalo.contents.GeneratedCMSItem
getCatalogVersion, getCatalogVersion, getName, getUid, getUid, isSynchronizationBlocked, isSynchronizationBlocked, isSynchronizationBlockedAsPrimitive, isSynchronizationBlockedAsPrimitive, setCatalogVersion, setCatalogVersion, setName, setName, setSynchronizationBlocked, setSynchronizationBlocked, setSynchronizationBlocked, setSynchronizationBlocked, setUid, setUidMethods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, getRelatedItems, setRelatedItemsMethods inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertyMethods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyMethods inherited from class de.hybris.platform.jalo.Item
addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPartOfRemovedSessionMarker, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, notifyManagerAboutItemRemoval, readResolve, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, suppressRelation, toString, useTA, writeReplaceMethods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
Field Details
-
TITLE
Qualifier of theCMSNavigationNode.titleattribute- See Also:
-
VISIBLE
Qualifier of theCMSNavigationNode.visibleattribute- See Also:
-
PARENTPOS
Qualifier of theCMSNavigationNode.parentPOSattribute- See Also:
-
PARENT
Qualifier of theCMSNavigationNode.parentattribute- See Also:
-
CHILDREN
Qualifier of theCMSNavigationNode.childrenattribute- See Also:
-
LINKS
Qualifier of theCMSNavigationNode.linksattribute- See Also:
-
CMSLINKSFORNAVNODES_SRC_ORDERED
Relation ordering override parameter constants for CMSLinksForNavNodes from ((cms2)) -
CMSLINKSFORNAVNODES_TGT_ORDERED
-
CMSLINKSFORNAVNODES_MARKMODIFIED
Relation disable markmodifed parameter constants for CMSLinksForNavNodes from ((cms2)) -
PAGES
Qualifier of theCMSNavigationNode.pagesattribute- See Also:
-
CMSCONTENTPAGESFORNAVNODES_SRC_ORDERED
Relation ordering override parameter constants for CMSContentPagesForNavNodes from ((cms2)) -
CMSCONTENTPAGESFORNAVNODES_TGT_ORDERED
-
CMSCONTENTPAGESFORNAVNODES_MARKMODIFIED
Relation disable markmodifed parameter constants for CMSContentPagesForNavNodes from ((cms2)) -
ENTRIES
Qualifier of theCMSNavigationNode.entriesattribute- See Also:
-
PARENTHANDLER
BidirectionalOneToManyHandlerfor handling 1:n PARENT's relation attributes from 'one' side. -
CHILDRENHANDLER
OneToManyHandlerfor handling 1:n CHILDREN's relation attributes from 'many' side. -
ENTRIESHANDLER
OneToManyHandlerfor handling 1:n ENTRIES's relation attributes from 'many' side. -
DEFAULT_INITIAL_ATTRIBUTES
-
-
Constructor Details
-
GeneratedCMSNavigationNode
public GeneratedCMSNavigationNode()
-
-
Method Details
-
getDefaultAttributeModes
- Overrides:
getDefaultAttributeModesin classGeneratedCMSItem
-
getChildren
Generated method - Getter of theCMSNavigationNode.childrenattribute.- Returns:
- the children
-
getChildren
Generated method - Getter of theCMSNavigationNode.childrenattribute.- Returns:
- the children
-
setChildren
Generated method - Setter of theCMSNavigationNode.childrenattribute.- Parameters:
value- the children
-
setChildren
Generated method - Setter of theCMSNavigationNode.childrenattribute.- Parameters:
value- the children
-
createItem
protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException Description copied from class:ItemHas to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) duringComposedType.newInstance(Map).In case this method uses any of the attribute values during creation it is required to override
Item.getNonInitialAttributes(SessionContext, ItemAttributeMap)too.
Sn example:public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) ); // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes( SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret = super.getNonInitialAttributes( ctx, allAttributes ); // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }- Overrides:
createItemin classCMSItem- Parameters:
ctx- the current session context which this item is created withintype- the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )- Returns:
- the new item instance
- Throws:
JaloBusinessException- indicates an error during creation - any changes will be rollbacked
-
getEntries
Generated method - Getter of theCMSNavigationNode.entriesattribute.- Returns:
- the entries
-
getEntries
Generated method - Getter of theCMSNavigationNode.entriesattribute.- Returns:
- the entries
-
setEntries
Generated method - Setter of theCMSNavigationNode.entriesattribute.- Parameters:
value- the entries
-
setEntries
Generated method - Setter of theCMSNavigationNode.entriesattribute.- Parameters:
value- the entries
-
isMarkModifiedDisabled
@Deprecated(since="2105", forRemoval=true) public boolean isMarkModifiedDisabled(Item referencedItem) Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
isMarkModifiedDisabledin classItem
-
getLinks
Generated method - Getter of theCMSNavigationNode.linksattribute.- Returns:
- the links
-
getLinks
Generated method - Getter of theCMSNavigationNode.linksattribute.- Returns:
- the links
-
getLinksCount
-
getLinksCount
public long getLinksCount() -
setLinks
Generated method - Setter of theCMSNavigationNode.linksattribute.- Parameters:
value- the links
-
setLinks
Generated method - Setter of theCMSNavigationNode.linksattribute.- Parameters:
value- the links
-
addToLinks
Generated method - Addsvalueto links.- Parameters:
value- the item to add to links
-
addToLinks
Generated method - Addsvalueto links.- Parameters:
value- the item to add to links
-
removeFromLinks
Generated method - Removesvaluefrom links.- Parameters:
value- the item to remove from links
-
removeFromLinks
Generated method - Removesvaluefrom links.- Parameters:
value- the item to remove from links
-
getPages
Generated method - Getter of theCMSNavigationNode.pagesattribute.- Returns:
- the pages
-
getPages
Generated method - Getter of theCMSNavigationNode.pagesattribute.- Returns:
- the pages
-
getPagesCount
-
getPagesCount
public long getPagesCount() -
setPages
Generated method - Setter of theCMSNavigationNode.pagesattribute.- Parameters:
value- the pages
-
setPages
Generated method - Setter of theCMSNavigationNode.pagesattribute.- Parameters:
value- the pages
-
addToPages
Generated method - Addsvalueto pages.- Parameters:
value- the item to add to pages
-
addToPages
Generated method - Addsvalueto pages.- Parameters:
value- the item to add to pages
-
removeFromPages
Generated method - Removesvaluefrom pages.- Parameters:
value- the item to remove from pages
-
removeFromPages
Generated method - Removesvaluefrom pages.- Parameters:
value- the item to remove from pages
-
getParent
Generated method - Getter of theCMSNavigationNode.parentattribute.- Returns:
- the parent
-
getParent
Generated method - Getter of theCMSNavigationNode.parentattribute.- Returns:
- the parent
-
getTitle
Generated method - Getter of theCMSNavigationNode.titleattribute.- Returns:
- the title
-
getTitle
Generated method - Getter of theCMSNavigationNode.titleattribute.- Returns:
- the title
-
getAllTitle
Generated method - Getter of theCMSNavigationNode.titleattribute.- Returns:
- the localized title
-
getAllTitle
Generated method - Getter of theCMSNavigationNode.titleattribute.- Returns:
- the localized title
-
setTitle
Generated method - Setter of theCMSNavigationNode.titleattribute.- Parameters:
value- the title
-
setTitle
Generated method - Setter of theCMSNavigationNode.titleattribute.- Parameters:
value- the title
-
setAllTitle
Generated method - Setter of theCMSNavigationNode.titleattribute.- Parameters:
value- the title
-
setAllTitle
Generated method - Setter of theCMSNavigationNode.titleattribute.- Parameters:
value- the title
-
isVisible
Generated method - Getter of theCMSNavigationNode.visibleattribute.- Returns:
- the visible
-
isVisible
Generated method - Getter of theCMSNavigationNode.visibleattribute.- Returns:
- the visible
-
isVisibleAsPrimitive
Generated method - Getter of theCMSNavigationNode.visibleattribute.- Returns:
- the visible
-
isVisibleAsPrimitive
public boolean isVisibleAsPrimitive()Generated method - Getter of theCMSNavigationNode.visibleattribute.- Returns:
- the visible
-
setVisible
Generated method - Setter of theCMSNavigationNode.visibleattribute.- Parameters:
value- the visible
-
setVisible
Generated method - Setter of theCMSNavigationNode.visibleattribute.- Parameters:
value- the visible
-
setVisible
Generated method - Setter of theCMSNavigationNode.visibleattribute.- Parameters:
value- the visible
-
setVisible
public void setVisible(boolean value) Generated method - Setter of theCMSNavigationNode.visibleattribute.- Parameters:
value- the visible
-
Utilities.getMarkModifiedOverride(de.hybris.platform.jalo.type.RelationType)