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 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 String |
CMSCONTENTPAGESFORNAVNODES_MARKMODIFIED
Relation disable markmodifed parameter constants for CMSContentPagesForNavNodes from ((cms2))
|
protected static String |
CMSCONTENTPAGESFORNAVNODES_SRC_ORDERED
Relation ordering override parameter constants for CMSContentPagesForNavNodes from ((cms2))
|
protected static String |
CMSCONTENTPAGESFORNAVNODES_TGT_ORDERED |
protected static String |
CMSLINKSFORNAVNODES_MARKMODIFIED
Relation disable markmodifed parameter constants for CMSLinksForNavNodes from ((cms2))
|
protected static String |
CMSLINKSFORNAVNODES_SRC_ORDERED
Relation ordering override parameter constants for CMSLinksForNavNodes from ((cms2))
|
protected static String |
CMSLINKSFORNAVNODES_TGT_ORDERED |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static 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 String |
LINKS
Qualifier of the
CMSNavigationNode.links attribute |
static String |
PAGES
Qualifier of the
CMSNavigationNode.pages attribute |
static 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 String |
PARENTPOS
Qualifier of the
CMSNavigationNode.parentPOS attribute |
static String |
TITLE
Qualifier of the
CMSNavigationNode.title attribute |
static 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.
|
Map<Language,String> |
getAllTitle()
Generated method - Getter of the
CMSNavigationNode.title attribute. |
Map<Language,String> |
getAllTitle(SessionContext ctx)
Generated method - Getter of the
CMSNavigationNode.title attribute. |
List<CMSNavigationNode> |
getChildren()
Generated method - Getter of the
CMSNavigationNode.children attribute. |
List<CMSNavigationNode> |
getChildren(SessionContext ctx)
Generated method - Getter of the
CMSNavigationNode.children attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
List<CMSNavigationEntry> |
getEntries()
Generated method - Getter of the
CMSNavigationNode.entries attribute. |
List<CMSNavigationEntry> |
getEntries(SessionContext ctx)
Generated method - Getter of the
CMSNavigationNode.entries attribute. |
List<CMSLinkComponent> |
getLinks()
Generated method - Getter of the
CMSNavigationNode.links attribute. |
List<CMSLinkComponent> |
getLinks(SessionContext ctx)
Generated method - Getter of the
CMSNavigationNode.links attribute. |
long |
getLinksCount() |
long |
getLinksCount(SessionContext ctx) |
List<ContentPage> |
getPages()
Generated method - Getter of the
CMSNavigationNode.pages attribute. |
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. |
String |
getTitle()
Generated method - Getter of the
CMSNavigationNode.title attribute. |
String |
getTitle(SessionContext ctx)
Generated method - Getter of the
CMSNavigationNode.title attribute. |
Boolean |
isVisible()
Generated method - Getter of the
CMSNavigationNode.visible attribute. |
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(Map<Language,String> value)
Generated method - Setter of the
CMSNavigationNode.title attribute. |
void |
setAllTitle(SessionContext ctx,
Map<Language,String> value)
Generated method - Setter of the
CMSNavigationNode.title attribute. |
void |
setChildren(List<CMSNavigationNode> value)
Generated method - Setter of the
CMSNavigationNode.children attribute. |
void |
setChildren(SessionContext ctx,
List<CMSNavigationNode> value)
Generated method - Setter of the
CMSNavigationNode.children attribute. |
void |
setEntries(List<CMSNavigationEntry> value)
Generated method - Setter of the
CMSNavigationNode.entries attribute. |
void |
setEntries(SessionContext ctx,
List<CMSNavigationEntry> value)
Generated method - Setter of the
CMSNavigationNode.entries attribute. |
void |
setLinks(List<CMSLinkComponent> value)
Generated method - Setter of the
CMSNavigationNode.links attribute. |
void |
setLinks(SessionContext ctx,
List<CMSLinkComponent> value)
Generated method - Setter of the
CMSNavigationNode.links attribute. |
void |
setPages(List<ContentPage> value)
Generated method - Setter of the
CMSNavigationNode.pages attribute. |
void |
setPages(SessionContext ctx,
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,
String value)
Generated method - Setter of the
CMSNavigationNode.title attribute. |
void |
setTitle(String value)
Generated method - Setter of the
CMSNavigationNode.title attribute. |
void |
setVisible(boolean value)
Generated method - Setter of the
CMSNavigationNode.visible attribute. |
void |
setVisible(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,
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, 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, readResolve, refreshRemote, 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, writeReplacegetImplementation, setTenantpublic static final String TITLE
CMSNavigationNode.title attributepublic static final String VISIBLE
CMSNavigationNode.visible attributepublic static final String PARENTPOS
CMSNavigationNode.parentPOS attributepublic static final String PARENT
CMSNavigationNode.parent attributepublic static final String CHILDREN
CMSNavigationNode.children attributepublic static final String LINKS
CMSNavigationNode.links attributeprotected static String CMSLINKSFORNAVNODES_SRC_ORDERED
protected static String CMSLINKSFORNAVNODES_TGT_ORDERED
protected static String CMSLINKSFORNAVNODES_MARKMODIFIED
public static final String PAGES
CMSNavigationNode.pages attributeprotected static String CMSCONTENTPAGESFORNAVNODES_SRC_ORDERED
protected static String CMSCONTENTPAGESFORNAVNODES_TGT_ORDERED
protected static String CMSCONTENTPAGESFORNAVNODES_MARKMODIFIED
public static final 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 Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class GeneratedCMSItempublic List<CMSNavigationNode> getChildren(SessionContext ctx)
CMSNavigationNode.children attribute.public List<CMSNavigationNode> getChildren()
CMSNavigationNode.children attribute.public void setChildren(SessionContext ctx, List<CMSNavigationNode> value)
CMSNavigationNode.children attribute.value - the childrenpublic void setChildren(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 List<CMSNavigationEntry> getEntries(SessionContext ctx)
CMSNavigationNode.entries attribute.public List<CMSNavigationEntry> getEntries()
CMSNavigationNode.entries attribute.public void setEntries(SessionContext ctx, List<CMSNavigationEntry> value)
CMSNavigationNode.entries attribute.value - the entriespublic void setEntries(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 List<CMSLinkComponent> getLinks(SessionContext ctx)
CMSNavigationNode.links attribute.public List<CMSLinkComponent> getLinks()
CMSNavigationNode.links attribute.public long getLinksCount(SessionContext ctx)
public long getLinksCount()
public void setLinks(SessionContext ctx, List<CMSLinkComponent> value)
CMSNavigationNode.links attribute.value - the linkspublic void setLinks(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 List<ContentPage> getPages(SessionContext ctx)
CMSNavigationNode.pages attribute.public List<ContentPage> getPages()
CMSNavigationNode.pages attribute.public long getPagesCount(SessionContext ctx)
public long getPagesCount()
public void setPages(SessionContext ctx, List<ContentPage> value)
CMSNavigationNode.pages attribute.value - the pagespublic void setPages(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 String getTitle(SessionContext ctx)
CMSNavigationNode.title attribute.public String getTitle()
CMSNavigationNode.title attribute.public Map<Language,String> getAllTitle(SessionContext ctx)
CMSNavigationNode.title attribute.public Map<Language,String> getAllTitle()
CMSNavigationNode.title attribute.public void setTitle(SessionContext ctx, String value)
CMSNavigationNode.title attribute.value - the titlepublic void setTitle(String value)
CMSNavigationNode.title attribute.value - the titlepublic void setAllTitle(SessionContext ctx, Map<Language,String> value)
CMSNavigationNode.title attribute.value - the titlepublic void setAllTitle(Map<Language,String> value)
CMSNavigationNode.title attribute.value - the titlepublic Boolean isVisible(SessionContext ctx)
CMSNavigationNode.visible attribute.public Boolean isVisible()
CMSNavigationNode.visible attribute.public boolean isVisibleAsPrimitive(SessionContext ctx)
CMSNavigationNode.visible attribute.public boolean isVisibleAsPrimitive()
CMSNavigationNode.visible attribute.public void setVisible(SessionContext ctx, Boolean value)
CMSNavigationNode.visible attribute.value - the visiblepublic void setVisible(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 © 2017 SAP SE. All Rights Reserved.