public abstract class GeneratedCMSLinkComponent extends SimpleCMSComponent
CMSLinkComponent.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 |
CATEGORY
Qualifier of the
CMSLinkComponent.category attribute |
static String |
CATEGORYCODE
Qualifier of the
CMSLinkComponent.categoryCode attribute |
protected static BidirectionalOneToManyHandler<GeneratedCMSLinkComponent> |
CATEGORYHANDLER
BidirectionalOneToManyHandler for handling 1:n CATEGORY's relation attributes from 'one' side. |
static String |
CATEGORYPOS
Qualifier of the
CMSLinkComponent.categoryPOS attribute |
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 |
static String |
CONTENTPAGE
Qualifier of the
CMSLinkComponent.contentPage attribute |
protected static BidirectionalOneToManyHandler<GeneratedCMSLinkComponent> |
CONTENTPAGEHANDLER
BidirectionalOneToManyHandler for handling 1:n CONTENTPAGE's relation attributes from 'one' side. |
static String |
CONTENTPAGELABELORID
Qualifier of the
CMSLinkComponent.contentPageLabelOrId attribute |
static String |
CONTENTPAGEPOS
Qualifier of the
CMSLinkComponent.contentPagePOS attribute |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
EXTERNAL
Qualifier of the
CMSLinkComponent.external attribute |
static String |
LINKNAME
Qualifier of the
CMSLinkComponent.linkName attribute |
static String |
NAVIGATIONNODES
Qualifier of the
CMSLinkComponent.navigationNodes attribute |
static String |
PRODUCT
Qualifier of the
CMSLinkComponent.product attribute |
static String |
PRODUCTCODE
Qualifier of the
CMSLinkComponent.productCode attribute |
protected static BidirectionalOneToManyHandler<GeneratedCMSLinkComponent> |
PRODUCTHANDLER
BidirectionalOneToManyHandler for handling 1:n PRODUCT's relation attributes from 'one' side. |
static String |
PRODUCTPOS
Qualifier of the
CMSLinkComponent.productPOS attribute |
static String |
TARGET
Qualifier of the
CMSLinkComponent.target attribute |
static String |
URL
Qualifier of the
CMSLinkComponent.url attribute |
CONTAINERS, ELEMENTSFORCONTAINER_MARKMODIFIED, ELEMENTSFORCONTAINER_SRC_ORDERED, ELEMENTSFORCONTAINER_TGT_ORDEREDCONTAINER, ELEMENTSFORSLOT_MARKMODIFIED, ELEMENTSFORSLOT_SRC_ORDERED, ELEMENTSFORSLOT_TGT_ORDERED, ONLYONERESTRICTIONMUSTAPPLY, RESTRICTED, RESTRICTIONS, RESTRICTIONSFORCOMPONENTS_MARKMODIFIED, RESTRICTIONSFORCOMPONENTS_SRC_ORDERED, RESTRICTIONSFORCOMPONENTS_TGT_ORDERED, SLOTS, TYPE, TYPECODE, VISIBLECATALOGVERSION, 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, staticTransientObjectsimpl, tenant| Constructor and Description |
|---|
GeneratedCMSLinkComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToNavigationNodes(CMSNavigationNode value)
Generated method - Adds
value to navigationNodes. |
void |
addToNavigationNodes(SessionContext ctx,
CMSNavigationNode value)
Generated method - Adds
value to navigationNodes. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
Map<Language,String> |
getAllLinkName()
Generated method - Getter of the
CMSLinkComponent.linkName attribute. |
Map<Language,String> |
getAllLinkName(SessionContext ctx)
Generated method - Getter of the
CMSLinkComponent.linkName attribute. |
Category |
getCategory()
Generated method - Getter of the
CMSLinkComponent.category attribute. |
Category |
getCategory(SessionContext ctx)
Generated method - Getter of the
CMSLinkComponent.category attribute. |
String |
getCategoryCode()
Generated method - Getter of the
CMSLinkComponent.categoryCode attribute. |
abstract String |
getCategoryCode(SessionContext ctx)
Generated method - Getter of the
CMSLinkComponent.categoryCode attribute. |
ContentPage |
getContentPage()
Generated method - Getter of the
CMSLinkComponent.contentPage attribute. |
ContentPage |
getContentPage(SessionContext ctx)
Generated method - Getter of the
CMSLinkComponent.contentPage attribute. |
String |
getContentPageLabelOrId()
Generated method - Getter of the
CMSLinkComponent.contentPageLabelOrId attribute. |
abstract String |
getContentPageLabelOrId(SessionContext ctx)
Generated method - Getter of the
CMSLinkComponent.contentPageLabelOrId attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
String |
getLinkName()
Generated method - Getter of the
CMSLinkComponent.linkName attribute. |
String |
getLinkName(SessionContext ctx)
Generated method - Getter of the
CMSLinkComponent.linkName attribute. |
List<CMSNavigationNode> |
getNavigationNodes()
Generated method - Getter of the
CMSLinkComponent.navigationNodes attribute. |
List<CMSNavigationNode> |
getNavigationNodes(SessionContext ctx)
Generated method - Getter of the
CMSLinkComponent.navigationNodes attribute. |
long |
getNavigationNodesCount() |
long |
getNavigationNodesCount(SessionContext ctx) |
Product |
getProduct()
Generated method - Getter of the
CMSLinkComponent.product attribute. |
Product |
getProduct(SessionContext ctx)
Generated method - Getter of the
CMSLinkComponent.product attribute. |
String |
getProductCode()
Generated method - Getter of the
CMSLinkComponent.productCode attribute. |
abstract String |
getProductCode(SessionContext ctx)
Generated method - Getter of the
CMSLinkComponent.productCode attribute. |
EnumerationValue |
getTarget()
Generated method - Getter of the
CMSLinkComponent.target attribute. |
EnumerationValue |
getTarget(SessionContext ctx)
Generated method - Getter of the
CMSLinkComponent.target attribute. |
String |
getUrl()
Generated method - Getter of the
CMSLinkComponent.url attribute. |
String |
getUrl(SessionContext ctx)
Generated method - Getter of the
CMSLinkComponent.url attribute. |
Boolean |
isExternal()
Generated method - Getter of the
CMSLinkComponent.external attribute. |
Boolean |
isExternal(SessionContext ctx)
Generated method - Getter of the
CMSLinkComponent.external attribute. |
boolean |
isExternalAsPrimitive()
Generated method - Getter of the
CMSLinkComponent.external attribute. |
boolean |
isExternalAsPrimitive(SessionContext ctx)
Generated method - Getter of the
CMSLinkComponent.external attribute. |
void |
removeFromNavigationNodes(CMSNavigationNode value)
Generated method - Removes
value from navigationNodes. |
void |
removeFromNavigationNodes(SessionContext ctx,
CMSNavigationNode value)
Generated method - Removes
value from navigationNodes. |
void |
setAllLinkName(Map<Language,String> value)
Generated method - Setter of the
CMSLinkComponent.linkName attribute. |
void |
setAllLinkName(SessionContext ctx,
Map<Language,String> value)
Generated method - Setter of the
CMSLinkComponent.linkName attribute. |
void |
setCategory(Category value)
Generated method - Setter of the
CMSLinkComponent.category attribute. |
void |
setCategory(SessionContext ctx,
Category value)
Generated method - Setter of the
CMSLinkComponent.category attribute. |
void |
setContentPage(ContentPage value)
Generated method - Setter of the
CMSLinkComponent.contentPage attribute. |
void |
setContentPage(SessionContext ctx,
ContentPage value)
Generated method - Setter of the
CMSLinkComponent.contentPage attribute. |
void |
setExternal(boolean value)
Generated method - Setter of the
CMSLinkComponent.external attribute. |
void |
setExternal(Boolean value)
Generated method - Setter of the
CMSLinkComponent.external attribute. |
void |
setExternal(SessionContext ctx,
boolean value)
Generated method - Setter of the
CMSLinkComponent.external attribute. |
void |
setExternal(SessionContext ctx,
Boolean value)
Generated method - Setter of the
CMSLinkComponent.external attribute. |
void |
setLinkName(SessionContext ctx,
String value)
Generated method - Setter of the
CMSLinkComponent.linkName attribute. |
void |
setLinkName(String value)
Generated method - Setter of the
CMSLinkComponent.linkName attribute. |
void |
setNavigationNodes(List<CMSNavigationNode> value)
Generated method - Setter of the
CMSLinkComponent.navigationNodes attribute. |
void |
setNavigationNodes(SessionContext ctx,
List<CMSNavigationNode> value)
Generated method - Setter of the
CMSLinkComponent.navigationNodes attribute. |
void |
setProduct(Product value)
Generated method - Setter of the
CMSLinkComponent.product attribute. |
void |
setProduct(SessionContext ctx,
Product value)
Generated method - Setter of the
CMSLinkComponent.product attribute. |
void |
setTarget(EnumerationValue value)
Generated method - Setter of the
CMSLinkComponent.target attribute. |
void |
setTarget(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
CMSLinkComponent.target attribute. |
void |
setUrl(SessionContext ctx,
String value)
Generated method - Setter of the
CMSLinkComponent.url attribute. |
void |
setUrl(String value)
Generated method - Setter of the
CMSLinkComponent.url attribute. |
isContaineraddToContainers, addToContainers, getContainers, getContainers, getContainersCount, getContainersCount, removeFromContainers, removeFromContainers, setContainers, setContainersgetAllType, getType, getTypeCode, isRestricted, isVisibleaddToRestrictions, addToRestrictions, addToSlots, addToSlots, getAllType, getRestrictions, getRestrictions, getRestrictionsCount, getRestrictionsCount, getSlots, getSlots, getSlotsCount, getSlotsCount, getType, getTypeCode, isContainer, isContainerAsPrimitive, isContainerAsPrimitive, isOnlyOneRestrictionMustApply, isOnlyOneRestrictionMustApply, isOnlyOneRestrictionMustApplyAsPrimitive, isOnlyOneRestrictionMustApplyAsPrimitive, isRestricted, isRestrictedAsPrimitive, isRestrictedAsPrimitive, isVisible, isVisibleAsPrimitive, isVisibleAsPrimitive, removeFromRestrictions, removeFromRestrictions, removeFromSlots, removeFromSlots, setOnlyOneRestrictionMustApply, setOnlyOneRestrictionMustApply, setOnlyOneRestrictionMustApply, setOnlyOneRestrictionMustApply, setRestrictions, setRestrictions, setSlots, setSlots, setVisible, setVisible, setVisible, setVisiblegetCatalogVersion, 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 LINKNAME
CMSLinkComponent.linkName attributepublic static final String EXTERNAL
CMSLinkComponent.external attributepublic static final String URL
CMSLinkComponent.url attributepublic static final String CONTENTPAGELABELORID
CMSLinkComponent.contentPageLabelOrId attributepublic static final String PRODUCTCODE
CMSLinkComponent.productCode attributepublic static final String CATEGORYCODE
CMSLinkComponent.categoryCode attributepublic static final String TARGET
CMSLinkComponent.target attributepublic static final String NAVIGATIONNODES
CMSLinkComponent.navigationNodes attributeprotected static String CMSLINKSFORNAVNODES_SRC_ORDERED
protected static String CMSLINKSFORNAVNODES_TGT_ORDERED
protected static String CMSLINKSFORNAVNODES_MARKMODIFIED
public static final String CONTENTPAGEPOS
CMSLinkComponent.contentPagePOS attributepublic static final String CONTENTPAGE
CMSLinkComponent.contentPage attributepublic static final String PRODUCTPOS
CMSLinkComponent.productPOS attributepublic static final String PRODUCT
CMSLinkComponent.product attributepublic static final String CATEGORYPOS
CMSLinkComponent.categoryPOS attributepublic static final String CATEGORY
CMSLinkComponent.category attributeprotected static final BidirectionalOneToManyHandler<GeneratedCMSLinkComponent> CONTENTPAGEHANDLER
BidirectionalOneToManyHandler for handling 1:n CONTENTPAGE's relation attributes from 'one' side.protected static final BidirectionalOneToManyHandler<GeneratedCMSLinkComponent> PRODUCTHANDLER
BidirectionalOneToManyHandler for handling 1:n PRODUCT's relation attributes from 'one' side.protected static final BidirectionalOneToManyHandler<GeneratedCMSLinkComponent> CATEGORYHANDLER
BidirectionalOneToManyHandler for handling 1:n CATEGORY's relation attributes from 'one' side.protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class GeneratedSimpleCMSComponentpublic Category getCategory(SessionContext ctx)
CMSLinkComponent.category attribute.public Category getCategory()
CMSLinkComponent.category attribute.public void setCategory(SessionContext ctx, Category value)
CMSLinkComponent.category attribute.value - the categorypublic void setCategory(Category value)
CMSLinkComponent.category attribute.value - the categorypublic abstract String getCategoryCode(SessionContext ctx)
CMSLinkComponent.categoryCode attribute.public String getCategoryCode()
CMSLinkComponent.categoryCode attribute.public ContentPage getContentPage(SessionContext ctx)
CMSLinkComponent.contentPage attribute.public ContentPage getContentPage()
CMSLinkComponent.contentPage attribute.public void setContentPage(SessionContext ctx, ContentPage value)
CMSLinkComponent.contentPage attribute.value - the contentPagepublic void setContentPage(ContentPage value)
CMSLinkComponent.contentPage attribute.value - the contentPagepublic abstract String getContentPageLabelOrId(SessionContext ctx)
CMSLinkComponent.contentPageLabelOrId attribute.public String getContentPageLabelOrId()
CMSLinkComponent.contentPageLabelOrId attribute.protected 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 AbstractCMSComponentctx - 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 Boolean isExternal(SessionContext ctx)
CMSLinkComponent.external attribute.public Boolean isExternal()
CMSLinkComponent.external attribute.public boolean isExternalAsPrimitive(SessionContext ctx)
CMSLinkComponent.external attribute.public boolean isExternalAsPrimitive()
CMSLinkComponent.external attribute.public void setExternal(SessionContext ctx, Boolean value)
CMSLinkComponent.external attribute.value - the externalpublic void setExternal(Boolean value)
CMSLinkComponent.external attribute.value - the externalpublic void setExternal(SessionContext ctx, boolean value)
CMSLinkComponent.external attribute.value - the externalpublic void setExternal(boolean value)
CMSLinkComponent.external attribute.value - the externalpublic String getLinkName(SessionContext ctx)
CMSLinkComponent.linkName attribute.public String getLinkName()
CMSLinkComponent.linkName attribute.public Map<Language,String> getAllLinkName(SessionContext ctx)
CMSLinkComponent.linkName attribute.public Map<Language,String> getAllLinkName()
CMSLinkComponent.linkName attribute.public void setLinkName(SessionContext ctx, String value)
CMSLinkComponent.linkName attribute.value - the linkNamepublic void setLinkName(String value)
CMSLinkComponent.linkName attribute.value - the linkNamepublic void setAllLinkName(SessionContext ctx, Map<Language,String> value)
CMSLinkComponent.linkName attribute.value - the linkNamepublic void setAllLinkName(Map<Language,String> value)
CMSLinkComponent.linkName attribute.value - the linkNamepublic List<CMSNavigationNode> getNavigationNodes(SessionContext ctx)
CMSLinkComponent.navigationNodes attribute.public List<CMSNavigationNode> getNavigationNodes()
CMSLinkComponent.navigationNodes attribute.public long getNavigationNodesCount(SessionContext ctx)
public long getNavigationNodesCount()
public void setNavigationNodes(SessionContext ctx, List<CMSNavigationNode> value)
CMSLinkComponent.navigationNodes attribute.value - the navigationNodespublic void setNavigationNodes(List<CMSNavigationNode> value)
CMSLinkComponent.navigationNodes attribute.value - the navigationNodespublic void addToNavigationNodes(SessionContext ctx, CMSNavigationNode value)
value to navigationNodes.value - the item to add to navigationNodespublic void addToNavigationNodes(CMSNavigationNode value)
value to navigationNodes.value - the item to add to navigationNodespublic void removeFromNavigationNodes(SessionContext ctx, CMSNavigationNode value)
value from navigationNodes.value - the item to remove from navigationNodespublic void removeFromNavigationNodes(CMSNavigationNode value)
value from navigationNodes.value - the item to remove from navigationNodespublic Product getProduct(SessionContext ctx)
CMSLinkComponent.product attribute.public Product getProduct()
CMSLinkComponent.product attribute.public void setProduct(SessionContext ctx, Product value)
CMSLinkComponent.product attribute.value - the productpublic void setProduct(Product value)
CMSLinkComponent.product attribute.value - the productpublic abstract String getProductCode(SessionContext ctx)
CMSLinkComponent.productCode attribute.public String getProductCode()
CMSLinkComponent.productCode attribute.public EnumerationValue getTarget(SessionContext ctx)
CMSLinkComponent.target attribute.public EnumerationValue getTarget()
CMSLinkComponent.target attribute.public void setTarget(SessionContext ctx, EnumerationValue value)
CMSLinkComponent.target attribute.value - the targetpublic void setTarget(EnumerationValue value)
CMSLinkComponent.target attribute.value - the targetpublic String getUrl(SessionContext ctx)
CMSLinkComponent.url attribute.public String getUrl()
CMSLinkComponent.url attribute.public void setUrl(SessionContext ctx, String value)
CMSLinkComponent.url attribute.value - the urlpublic void setUrl(String value)
CMSLinkComponent.url attribute.value - the urlCopyright © 2017 SAP SE. All Rights Reserved.