public abstract class GeneratedCMSNavigationNode extends CMSItem
CMSNavigationNode.GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CHILDREN
Qualifier of the
CMSNavigationNode.children attribute |
protected static OneToManyHandler<CMSNavigationNode> |
CHILDRENHANDLER
OneToManyHandler for handling 1:n CHILDREN's relation attributes from 'many' side. |
protected static java.lang.String |
CMSCONTENTPAGESFORNAVNODES_MARKMODIFIED
Relation disable markmodifed parameter constants for CMSContentPagesForNavNodes from ((cms2))
|
protected static java.lang.String |
CMSCONTENTPAGESFORNAVNODES_SRC_ORDERED
Relation ordering override parameter constants for CMSContentPagesForNavNodes from ((cms2))
|
protected static java.lang.String |
CMSCONTENTPAGESFORNAVNODES_TGT_ORDERED |
protected static java.lang.String |
CMSLINKSFORNAVNODES_MARKMODIFIED
Relation disable markmodifed parameter constants for CMSLinksForNavNodes from ((cms2))
|
protected static java.lang.String |
CMSLINKSFORNAVNODES_SRC_ORDERED
Relation ordering override parameter constants for CMSLinksForNavNodes from ((cms2))
|
protected static java.lang.String |
CMSLINKSFORNAVNODES_TGT_ORDERED |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
ENTRIES
Qualifier of the
CMSNavigationNode.entries attribute |
protected static OneToManyHandler<CMSNavigationEntry> |
ENTRIESHANDLER
OneToManyHandler for handling 1:n ENTRIES's relation attributes from 'many' side. |
static java.lang.String |
LINKS
Qualifier of the
CMSNavigationNode.links attribute |
static java.lang.String |
PAGES
Qualifier of the
CMSNavigationNode.pages attribute |
static java.lang.String |
PARENT
Qualifier of the
CMSNavigationNode.parent attribute |
protected static BidirectionalOneToManyHandler<GeneratedCMSNavigationNode> |
PARENTHANDLER
BidirectionalOneToManyHandler for handling 1:n PARENT's relation attributes from 'one' side. |
static java.lang.String |
PARENTPOS
Qualifier of the
CMSNavigationNode.parentPOS attribute |
static java.lang.String |
TITLE
Qualifier of the
CMSNavigationNode.title attribute |
static java.lang.String |
VISIBLE
Qualifier of the
CMSNavigationNode.visible attribute |
CATALOGVERSION, NAME, UIDLANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
GeneratedCMSNavigationNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToChildren(CMSNavigationNode value)
Generated method - Adds
value to children. |
void |
addToChildren(SessionContext ctx,
CMSNavigationNode value)
Generated method - Adds
value to children. |
void |
addToEntries(CMSNavigationEntry value)
Generated method - Adds
value to entries. |
void |
addToEntries(SessionContext ctx,
CMSNavigationEntry value)
Generated method - Adds
value to entries. |
void |
addToLinks(CMSLinkComponent value)
Generated method - Adds
value to links. |
void |
addToLinks(SessionContext ctx,
CMSLinkComponent value)
Generated method - Adds
value to links. |
void |
addToPages(ContentPage value)
Generated method - Adds
value to pages. |
void |
addToPages(SessionContext ctx,
ContentPage value)
Generated method - Adds
value to pages. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
java.util.Map<Language,java.lang.String> |
getAllTitle()
Generated method - Getter of the
CMSNavigationNode.title attribute. |
java.util.Map<Language,java.lang.String> |
getAllTitle(SessionContext ctx)
Generated method - Getter of the
CMSNavigationNode.title attribute. |
java.util.List<CMSNavigationNode> |
getChildren()
Generated method - Getter of the
CMSNavigationNode.children attribute. |
java.util.List<CMSNavigationNode> |
getChildren(SessionContext ctx)
Generated method - Getter of the
CMSNavigationNode.children attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.util.List<CMSNavigationEntry> |
getEntries()
Generated method - Getter of the
CMSNavigationNode.entries attribute. |
java.util.List<CMSNavigationEntry> |
getEntries(SessionContext ctx)
Generated method - Getter of the
CMSNavigationNode.entries attribute. |
java.util.List<CMSLinkComponent> |
getLinks()
Generated method - Getter of the
CMSNavigationNode.links attribute. |
java.util.List<CMSLinkComponent> |
getLinks(SessionContext ctx)
Generated method - Getter of the
CMSNavigationNode.links attribute. |
long |
getLinksCount() |
long |
getLinksCount(SessionContext ctx) |
java.util.List<ContentPage> |
getPages()
Generated method - Getter of the
CMSNavigationNode.pages attribute. |
java.util.List<ContentPage> |
getPages(SessionContext ctx)
Generated method - Getter of the
CMSNavigationNode.pages attribute. |
long |
getPagesCount() |
long |
getPagesCount(SessionContext ctx) |
CMSNavigationNode |
getParent()
Generated method - Getter of the
CMSNavigationNode.parent attribute. |
CMSNavigationNode |
getParent(SessionContext ctx)
Generated method - Getter of the
CMSNavigationNode.parent attribute. |
java.lang.String |
getTitle()
Generated method - Getter of the
CMSNavigationNode.title attribute. |
java.lang.String |
getTitle(SessionContext ctx)
Generated method - Getter of the
CMSNavigationNode.title attribute. |
boolean |
isMarkModifiedDisabled(Item referencedItem) |
java.lang.Boolean |
isVisible()
Generated method - Getter of the
CMSNavigationNode.visible attribute. |
java.lang.Boolean |
isVisible(SessionContext ctx)
Generated method - Getter of the
CMSNavigationNode.visible attribute. |
boolean |
isVisibleAsPrimitive()
Generated method - Getter of the
CMSNavigationNode.visible attribute. |
boolean |
isVisibleAsPrimitive(SessionContext ctx)
Generated method - Getter of the
CMSNavigationNode.visible attribute. |
void |
removeFromChildren(CMSNavigationNode value)
Generated method - Removes
value from children. |
void |
removeFromChildren(SessionContext ctx,
CMSNavigationNode value)
Generated method - Removes
value from children. |
void |
removeFromEntries(CMSNavigationEntry value)
Generated method - Removes
value from entries. |
void |
removeFromEntries(SessionContext ctx,
CMSNavigationEntry value)
Generated method - Removes
value from entries. |
void |
removeFromLinks(CMSLinkComponent value)
Generated method - Removes
value from links. |
void |
removeFromLinks(SessionContext ctx,
CMSLinkComponent value)
Generated method - Removes
value from links. |
void |
removeFromPages(ContentPage value)
Generated method - Removes
value from pages. |
void |
removeFromPages(SessionContext ctx,
ContentPage value)
Generated method - Removes
value from pages. |
void |
setAllTitle(java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
CMSNavigationNode.title attribute. |
void |
setAllTitle(SessionContext ctx,
java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
CMSNavigationNode.title attribute. |
void |
setChildren(java.util.List<CMSNavigationNode> value)
Generated method - Setter of the
CMSNavigationNode.children attribute. |
void |
setChildren(SessionContext ctx,
java.util.List<CMSNavigationNode> value)
Generated method - Setter of the
CMSNavigationNode.children attribute. |
void |
setEntries(java.util.List<CMSNavigationEntry> value)
Generated method - Setter of the
CMSNavigationNode.entries attribute. |
void |
setEntries(SessionContext ctx,
java.util.List<CMSNavigationEntry> value)
Generated method - Setter of the
CMSNavigationNode.entries attribute. |
void |
setLinks(java.util.List<CMSLinkComponent> value)
Generated method - Setter of the
CMSNavigationNode.links attribute. |
void |
setLinks(SessionContext ctx,
java.util.List<CMSLinkComponent> value)
Generated method - Setter of the
CMSNavigationNode.links attribute. |
void |
setPages(java.util.List<ContentPage> value)
Generated method - Setter of the
CMSNavigationNode.pages attribute. |
void |
setPages(SessionContext ctx,
java.util.List<ContentPage> value)
Generated method - Setter of the
CMSNavigationNode.pages attribute. |
void |
setParent(CMSNavigationNode value)
Generated method - Setter of the
CMSNavigationNode.parent attribute. |
void |
setParent(SessionContext ctx,
CMSNavigationNode value)
Generated method - Setter of the
CMSNavigationNode.parent attribute. |
void |
setTitle(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
CMSNavigationNode.title attribute. |
void |
setTitle(java.lang.String value)
Generated method - Setter of the
CMSNavigationNode.title attribute. |
void |
setVisible(boolean value)
Generated method - Setter of the
CMSNavigationNode.visible attribute. |
void |
setVisible(java.lang.Boolean value)
Generated method - Setter of the
CMSNavigationNode.visible attribute. |
void |
setVisible(SessionContext ctx,
boolean value)
Generated method - Setter of the
CMSNavigationNode.visible attribute. |
void |
setVisible(SessionContext ctx,
java.lang.Boolean value)
Generated method - Setter of the
CMSNavigationNode.visible attribute. |
getCatalogVersion, getCatalogVersion, getName, getUid, getUid, setCatalogVersion, setCatalogVersion, setName, setName, setUid, setUidgetInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getImplementation, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, 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, 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, toString, useTA, writeReplacesetTenantpublic static final java.lang.String TITLE
CMSNavigationNode.title attributepublic static final java.lang.String VISIBLE
CMSNavigationNode.visible attributepublic static final java.lang.String PARENTPOS
CMSNavigationNode.parentPOS attributepublic static final java.lang.String PARENT
CMSNavigationNode.parent attributepublic static final java.lang.String CHILDREN
CMSNavigationNode.children attributepublic static final java.lang.String LINKS
CMSNavigationNode.links attributeprotected static java.lang.String CMSLINKSFORNAVNODES_SRC_ORDERED
protected static java.lang.String CMSLINKSFORNAVNODES_TGT_ORDERED
protected static java.lang.String CMSLINKSFORNAVNODES_MARKMODIFIED
public static final java.lang.String PAGES
CMSNavigationNode.pages attributeprotected static java.lang.String CMSCONTENTPAGESFORNAVNODES_SRC_ORDERED
protected static java.lang.String CMSCONTENTPAGESFORNAVNODES_TGT_ORDERED
protected static java.lang.String CMSCONTENTPAGESFORNAVNODES_MARKMODIFIED
public static final java.lang.String ENTRIES
CMSNavigationNode.entries attributeprotected static final BidirectionalOneToManyHandler<GeneratedCMSNavigationNode> PARENTHANDLER
BidirectionalOneToManyHandler for handling 1:n PARENT's relation attributes from 'one' side.protected static final OneToManyHandler<CMSNavigationNode> CHILDRENHANDLER
OneToManyHandler for handling 1:n CHILDREN's relation attributes from 'many' side.protected static final OneToManyHandler<CMSNavigationEntry> ENTRIESHANDLER
OneToManyHandler for handling 1:n ENTRIES's relation attributes from 'many' side.protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class GeneratedCMSItempublic java.util.List<CMSNavigationNode> getChildren(SessionContext ctx)
CMSNavigationNode.children attribute.public java.util.List<CMSNavigationNode> getChildren()
CMSNavigationNode.children attribute.public void setChildren(SessionContext ctx, java.util.List<CMSNavigationNode> value)
CMSNavigationNode.children attribute.value - the childrenpublic void setChildren(java.util.List<CMSNavigationNode> value)
CMSNavigationNode.children attribute.value - the childrenpublic void addToChildren(SessionContext ctx, CMSNavigationNode value)
value to children.value - the item to add to childrenpublic void addToChildren(CMSNavigationNode value)
value to children.value - the item to add to childrenpublic void removeFromChildren(SessionContext ctx, CMSNavigationNode value)
value from children.value - the item to remove from childrenpublic void removeFromChildren(CMSNavigationNode value)
value from children.value - the item to remove from childrenprotected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
ItemComposedType.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; }
createItem in class CMSItemctx - 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 )JaloBusinessException - indicates an error during creation - any changes will be rollbackedpublic java.util.List<CMSNavigationEntry> getEntries(SessionContext ctx)
CMSNavigationNode.entries attribute.public java.util.List<CMSNavigationEntry> getEntries()
CMSNavigationNode.entries attribute.public void setEntries(SessionContext ctx, java.util.List<CMSNavigationEntry> value)
CMSNavigationNode.entries attribute.value - the entriespublic void setEntries(java.util.List<CMSNavigationEntry> value)
CMSNavigationNode.entries attribute.value - the entriespublic void addToEntries(SessionContext ctx, CMSNavigationEntry value)
value to entries.value - the item to add to entriespublic void addToEntries(CMSNavigationEntry value)
value to entries.value - the item to add to entriespublic void removeFromEntries(SessionContext ctx, CMSNavigationEntry value)
value from entries.value - the item to remove from entriespublic void removeFromEntries(CMSNavigationEntry value)
value from entries.value - the item to remove from entriespublic boolean isMarkModifiedDisabled(Item referencedItem)
isMarkModifiedDisabled in class Itempublic java.util.List<CMSLinkComponent> getLinks(SessionContext ctx)
CMSNavigationNode.links attribute.public java.util.List<CMSLinkComponent> getLinks()
CMSNavigationNode.links attribute.public long getLinksCount(SessionContext ctx)
public long getLinksCount()
public void setLinks(SessionContext ctx, java.util.List<CMSLinkComponent> value)
CMSNavigationNode.links attribute.value - the linkspublic void setLinks(java.util.List<CMSLinkComponent> value)
CMSNavigationNode.links attribute.value - the linkspublic void addToLinks(SessionContext ctx, CMSLinkComponent value)
value to links.value - the item to add to linkspublic void addToLinks(CMSLinkComponent value)
value to links.value - the item to add to linkspublic void removeFromLinks(SessionContext ctx, CMSLinkComponent value)
value from links.value - the item to remove from linkspublic void removeFromLinks(CMSLinkComponent value)
value from links.value - the item to remove from linkspublic java.util.List<ContentPage> getPages(SessionContext ctx)
CMSNavigationNode.pages attribute.public java.util.List<ContentPage> getPages()
CMSNavigationNode.pages attribute.public long getPagesCount(SessionContext ctx)
public long getPagesCount()
public void setPages(SessionContext ctx, java.util.List<ContentPage> value)
CMSNavigationNode.pages attribute.value - the pagespublic void setPages(java.util.List<ContentPage> value)
CMSNavigationNode.pages attribute.value - the pagespublic void addToPages(SessionContext ctx, ContentPage value)
value to pages.value - the item to add to pagespublic void addToPages(ContentPage value)
value to pages.value - the item to add to pagespublic void removeFromPages(SessionContext ctx, ContentPage value)
value from pages.value - the item to remove from pagespublic void removeFromPages(ContentPage value)
value from pages.value - the item to remove from pagespublic CMSNavigationNode getParent(SessionContext ctx)
CMSNavigationNode.parent attribute.public CMSNavigationNode getParent()
CMSNavigationNode.parent attribute.public void setParent(SessionContext ctx, CMSNavigationNode value)
CMSNavigationNode.parent attribute.value - the parentpublic void setParent(CMSNavigationNode value)
CMSNavigationNode.parent attribute.value - the parentpublic java.lang.String getTitle(SessionContext ctx)
CMSNavigationNode.title attribute.public java.lang.String getTitle()
CMSNavigationNode.title attribute.public java.util.Map<Language,java.lang.String> getAllTitle(SessionContext ctx)
CMSNavigationNode.title attribute.public java.util.Map<Language,java.lang.String> getAllTitle()
CMSNavigationNode.title attribute.public void setTitle(SessionContext ctx, java.lang.String value)
CMSNavigationNode.title attribute.value - the titlepublic void setTitle(java.lang.String value)
CMSNavigationNode.title attribute.value - the titlepublic void setAllTitle(SessionContext ctx, java.util.Map<Language,java.lang.String> value)
CMSNavigationNode.title attribute.value - the titlepublic void setAllTitle(java.util.Map<Language,java.lang.String> value)
CMSNavigationNode.title attribute.value - the titlepublic java.lang.Boolean isVisible(SessionContext ctx)
CMSNavigationNode.visible attribute.public java.lang.Boolean isVisible()
CMSNavigationNode.visible attribute.public boolean isVisibleAsPrimitive(SessionContext ctx)
CMSNavigationNode.visible attribute.public boolean isVisibleAsPrimitive()
CMSNavigationNode.visible attribute.public void setVisible(SessionContext ctx, java.lang.Boolean value)
CMSNavigationNode.visible attribute.value - the visiblepublic void setVisible(java.lang.Boolean value)
CMSNavigationNode.visible attribute.value - the visiblepublic void setVisible(SessionContext ctx, boolean value)
CMSNavigationNode.visible attribute.value - the visiblepublic void setVisible(boolean value)
CMSNavigationNode.visible attribute.value - the visibleCopyright © 2018 SAP SE. All Rights Reserved.