public abstract class GeneratedBannerComponent extends AbstractBannerComponent
BannerComponent.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 |
|---|---|
protected static java.lang.String |
BANNERSFORROTATINGCOMPONENT_MARKMODIFIED
Relation disable markmodifed parameter constants for BannersForRotatingComponent from ((cms2lib))
|
protected static java.lang.String |
BANNERSFORROTATINGCOMPONENT_SRC_ORDERED
Relation ordering override parameter constants for BannersForRotatingComponent from ((cms2lib))
|
protected static java.lang.String |
BANNERSFORROTATINGCOMPONENT_TGT_ORDERED |
static java.lang.String |
CONTENT
Qualifier of the
BannerComponent.content attribute |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
HEADLINE
Qualifier of the
BannerComponent.headline attribute |
static java.lang.String |
PAGE
Qualifier of the
BannerComponent.page attribute |
protected static BidirectionalOneToManyHandler<GeneratedBannerComponent> |
PAGEHANDLER
BidirectionalOneToManyHandler for handling 1:n PAGE's relation attributes from 'one' side. |
static java.lang.String |
PAGELABELORID
Qualifier of the
BannerComponent.pageLabelOrId attribute |
static java.lang.String |
ROTATINGCOMPONENT
Qualifier of the
BannerComponent.rotatingComponent attribute |
EXTERNAL, MEDIA, URLLINKCONTAINERS, 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 |
|---|
GeneratedBannerComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToRotatingComponent(RotatingImagesComponent value)
Generated method - Adds
value to rotatingComponent. |
void |
addToRotatingComponent(SessionContext ctx,
RotatingImagesComponent value)
Generated method - Adds
value to rotatingComponent. |
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> |
getAllContent()
Generated method - Getter of the
BannerComponent.content attribute. |
java.util.Map<Language,java.lang.String> |
getAllContent(SessionContext ctx)
Generated method - Getter of the
BannerComponent.content attribute. |
java.util.Map<Language,java.lang.String> |
getAllHeadline()
Generated method - Getter of the
BannerComponent.headline attribute. |
java.util.Map<Language,java.lang.String> |
getAllHeadline(SessionContext ctx)
Generated method - Getter of the
BannerComponent.headline attribute. |
java.lang.String |
getContent()
Generated method - Getter of the
BannerComponent.content attribute. |
java.lang.String |
getContent(SessionContext ctx)
Generated method - Getter of the
BannerComponent.content attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.lang.String |
getHeadline()
Generated method - Getter of the
BannerComponent.headline attribute. |
java.lang.String |
getHeadline(SessionContext ctx)
Generated method - Getter of the
BannerComponent.headline attribute. |
ContentPage |
getPage()
Generated method - Getter of the
BannerComponent.page attribute. |
ContentPage |
getPage(SessionContext ctx)
Generated method - Getter of the
BannerComponent.page attribute. |
java.lang.String |
getPageLabelOrId()
Generated method - Getter of the
BannerComponent.pageLabelOrId attribute. |
abstract java.lang.String |
getPageLabelOrId(SessionContext ctx)
Generated method - Getter of the
BannerComponent.pageLabelOrId attribute. |
java.util.Collection<RotatingImagesComponent> |
getRotatingComponent()
Generated method - Getter of the
BannerComponent.rotatingComponent attribute. |
java.util.Collection<RotatingImagesComponent> |
getRotatingComponent(SessionContext ctx)
Generated method - Getter of the
BannerComponent.rotatingComponent attribute. |
long |
getRotatingComponentCount() |
long |
getRotatingComponentCount(SessionContext ctx) |
boolean |
isMarkModifiedDisabled(Item referencedItem) |
void |
removeFromRotatingComponent(RotatingImagesComponent value)
Generated method - Removes
value from rotatingComponent. |
void |
removeFromRotatingComponent(SessionContext ctx,
RotatingImagesComponent value)
Generated method - Removes
value from rotatingComponent. |
void |
setAllContent(java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
BannerComponent.content attribute. |
void |
setAllContent(SessionContext ctx,
java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
BannerComponent.content attribute. |
void |
setAllHeadline(java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
BannerComponent.headline attribute. |
void |
setAllHeadline(SessionContext ctx,
java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
BannerComponent.headline attribute. |
void |
setContent(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
BannerComponent.content attribute. |
void |
setContent(java.lang.String value)
Generated method - Setter of the
BannerComponent.content attribute. |
void |
setHeadline(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
BannerComponent.headline attribute. |
void |
setHeadline(java.lang.String value)
Generated method - Setter of the
BannerComponent.headline attribute. |
void |
setPage(ContentPage value)
Generated method - Setter of the
BannerComponent.page attribute. |
void |
setPage(SessionContext ctx,
ContentPage value)
Generated method - Setter of the
BannerComponent.page attribute. |
void |
setRotatingComponent(java.util.Collection<RotatingImagesComponent> value)
Generated method - Setter of the
BannerComponent.rotatingComponent attribute. |
void |
setRotatingComponent(SessionContext ctx,
java.util.Collection<RotatingImagesComponent> value)
Generated method - Setter of the
BannerComponent.rotatingComponent attribute. |
getAllMedia, getAllMedia, getMedia, getMedia, getUrlLink, getUrlLink, isExternal, isExternal, isExternalAsPrimitive, isExternalAsPrimitive, setAllMedia, setAllMedia, setExternal, setExternal, setExternal, setExternal, setMedia, setMedia, setUrlLink, setUrlLinkisContaineraddToContainers, 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, 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 HEADLINE
BannerComponent.headline attributepublic static final java.lang.String CONTENT
BannerComponent.content attributepublic static final java.lang.String PAGELABELORID
BannerComponent.pageLabelOrId attributepublic static final java.lang.String ROTATINGCOMPONENT
BannerComponent.rotatingComponent attributeprotected static java.lang.String BANNERSFORROTATINGCOMPONENT_SRC_ORDERED
protected static java.lang.String BANNERSFORROTATINGCOMPONENT_TGT_ORDERED
protected static java.lang.String BANNERSFORROTATINGCOMPONENT_MARKMODIFIED
public static final java.lang.String PAGE
BannerComponent.page attributeprotected static final BidirectionalOneToManyHandler<GeneratedBannerComponent> PAGEHANDLER
BidirectionalOneToManyHandler for handling 1:n PAGE's relation attributes from 'one' 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 GeneratedAbstractBannerComponentpublic java.lang.String getContent(SessionContext ctx)
BannerComponent.content attribute.public java.lang.String getContent()
BannerComponent.content attribute.public java.util.Map<Language,java.lang.String> getAllContent(SessionContext ctx)
BannerComponent.content attribute.public java.util.Map<Language,java.lang.String> getAllContent()
BannerComponent.content attribute.public void setContent(SessionContext ctx, java.lang.String value)
BannerComponent.content attribute.value - the contentpublic void setContent(java.lang.String value)
BannerComponent.content attribute.value - the contentpublic void setAllContent(SessionContext ctx, java.util.Map<Language,java.lang.String> value)
BannerComponent.content attribute.value - the contentpublic void setAllContent(java.util.Map<Language,java.lang.String> value)
BannerComponent.content attribute.value - the contentprotected 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 AbstractBannerComponentctx - 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.lang.String getHeadline(SessionContext ctx)
BannerComponent.headline attribute.public java.lang.String getHeadline()
BannerComponent.headline attribute.public java.util.Map<Language,java.lang.String> getAllHeadline(SessionContext ctx)
BannerComponent.headline attribute.public java.util.Map<Language,java.lang.String> getAllHeadline()
BannerComponent.headline attribute.public void setHeadline(SessionContext ctx, java.lang.String value)
BannerComponent.headline attribute.value - the headlinepublic void setHeadline(java.lang.String value)
BannerComponent.headline attribute.value - the headlinepublic void setAllHeadline(SessionContext ctx, java.util.Map<Language,java.lang.String> value)
BannerComponent.headline attribute.value - the headlinepublic void setAllHeadline(java.util.Map<Language,java.lang.String> value)
BannerComponent.headline attribute.value - the headlinepublic boolean isMarkModifiedDisabled(Item referencedItem)
isMarkModifiedDisabled in class GeneratedSimpleCMSComponentpublic ContentPage getPage(SessionContext ctx)
BannerComponent.page attribute.public ContentPage getPage()
BannerComponent.page attribute.public void setPage(SessionContext ctx, ContentPage value)
BannerComponent.page attribute.value - the pagepublic void setPage(ContentPage value)
BannerComponent.page attribute.value - the pagepublic abstract java.lang.String getPageLabelOrId(SessionContext ctx)
BannerComponent.pageLabelOrId attribute.public java.lang.String getPageLabelOrId()
BannerComponent.pageLabelOrId attribute.public java.util.Collection<RotatingImagesComponent> getRotatingComponent(SessionContext ctx)
BannerComponent.rotatingComponent attribute.public java.util.Collection<RotatingImagesComponent> getRotatingComponent()
BannerComponent.rotatingComponent attribute.public long getRotatingComponentCount(SessionContext ctx)
public long getRotatingComponentCount()
public void setRotatingComponent(SessionContext ctx, java.util.Collection<RotatingImagesComponent> value)
BannerComponent.rotatingComponent attribute.value - the rotatingComponentpublic void setRotatingComponent(java.util.Collection<RotatingImagesComponent> value)
BannerComponent.rotatingComponent attribute.value - the rotatingComponentpublic void addToRotatingComponent(SessionContext ctx, RotatingImagesComponent value)
value to rotatingComponent.value - the item to add to rotatingComponentpublic void addToRotatingComponent(RotatingImagesComponent value)
value to rotatingComponent.value - the item to add to rotatingComponentpublic void removeFromRotatingComponent(SessionContext ctx, RotatingImagesComponent value)
value from rotatingComponent.value - the item to remove from rotatingComponentpublic void removeFromRotatingComponent(RotatingImagesComponent value)
value from rotatingComponent.value - the item to remove from rotatingComponentCopyright © 2018 SAP SE. All Rights Reserved.