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 String |
BANNERSFORROTATINGCOMPONENT_MARKMODIFIED
Relation disable markmodifed parameter constants for BannersForRotatingComponent from ((cms2lib))
|
protected static String |
BANNERSFORROTATINGCOMPONENT_SRC_ORDERED
Relation ordering override parameter constants for BannersForRotatingComponent from ((cms2lib))
|
protected static String |
BANNERSFORROTATINGCOMPONENT_TGT_ORDERED |
static String |
CONTENT
Qualifier of the
BannerComponent.content attribute |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
HEADLINE
Qualifier of the
BannerComponent.headline attribute |
static 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 String |
PAGELABELORID
Qualifier of the
BannerComponent.pageLabelOrId attribute |
static 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.
|
Map<Language,String> |
getAllContent()
Generated method - Getter of the
BannerComponent.content attribute. |
Map<Language,String> |
getAllContent(SessionContext ctx)
Generated method - Getter of the
BannerComponent.content attribute. |
Map<Language,String> |
getAllHeadline()
Generated method - Getter of the
BannerComponent.headline attribute. |
Map<Language,String> |
getAllHeadline(SessionContext ctx)
Generated method - Getter of the
BannerComponent.headline attribute. |
String |
getContent()
Generated method - Getter of the
BannerComponent.content attribute. |
String |
getContent(SessionContext ctx)
Generated method - Getter of the
BannerComponent.content attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
String |
getHeadline()
Generated method - Getter of the
BannerComponent.headline attribute. |
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. |
String |
getPageLabelOrId()
Generated method - Getter of the
BannerComponent.pageLabelOrId attribute. |
abstract String |
getPageLabelOrId(SessionContext ctx)
Generated method - Getter of the
BannerComponent.pageLabelOrId attribute. |
Collection<RotatingImagesComponent> |
getRotatingComponent()
Generated method - Getter of the
BannerComponent.rotatingComponent attribute. |
Collection<RotatingImagesComponent> |
getRotatingComponent(SessionContext ctx)
Generated method - Getter of the
BannerComponent.rotatingComponent attribute. |
long |
getRotatingComponentCount() |
long |
getRotatingComponentCount(SessionContext ctx) |
void |
removeFromRotatingComponent(RotatingImagesComponent value)
Generated method - Removes
value from rotatingComponent. |
void |
removeFromRotatingComponent(SessionContext ctx,
RotatingImagesComponent value)
Generated method - Removes
value from rotatingComponent. |
void |
setAllContent(Map<Language,String> value)
Generated method - Setter of the
BannerComponent.content attribute. |
void |
setAllContent(SessionContext ctx,
Map<Language,String> value)
Generated method - Setter of the
BannerComponent.content attribute. |
void |
setAllHeadline(Map<Language,String> value)
Generated method - Setter of the
BannerComponent.headline attribute. |
void |
setAllHeadline(SessionContext ctx,
Map<Language,String> value)
Generated method - Setter of the
BannerComponent.headline attribute. |
void |
setContent(SessionContext ctx,
String value)
Generated method - Setter of the
BannerComponent.content attribute. |
void |
setContent(String value)
Generated method - Setter of the
BannerComponent.content attribute. |
void |
setHeadline(SessionContext ctx,
String value)
Generated method - Setter of the
BannerComponent.headline attribute. |
void |
setHeadline(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(Collection<RotatingImagesComponent> value)
Generated method - Setter of the
BannerComponent.rotatingComponent attribute. |
void |
setRotatingComponent(SessionContext ctx,
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, 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 HEADLINE
BannerComponent.headline attributepublic static final String CONTENT
BannerComponent.content attributepublic static final String PAGELABELORID
BannerComponent.pageLabelOrId attributepublic static final String ROTATINGCOMPONENT
BannerComponent.rotatingComponent attributeprotected static String BANNERSFORROTATINGCOMPONENT_SRC_ORDERED
protected static String BANNERSFORROTATINGCOMPONENT_TGT_ORDERED
protected static String BANNERSFORROTATINGCOMPONENT_MARKMODIFIED
public static final 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 Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class GeneratedAbstractBannerComponentpublic String getContent(SessionContext ctx)
BannerComponent.content attribute.public String getContent()
BannerComponent.content attribute.public Map<Language,String> getAllContent(SessionContext ctx)
BannerComponent.content attribute.public Map<Language,String> getAllContent()
BannerComponent.content attribute.public void setContent(SessionContext ctx, String value)
BannerComponent.content attribute.value - the contentpublic void setContent(String value)
BannerComponent.content attribute.value - the contentpublic void setAllContent(SessionContext ctx, Map<Language,String> value)
BannerComponent.content attribute.value - the contentpublic void setAllContent(Map<Language,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 String getHeadline(SessionContext ctx)
BannerComponent.headline attribute.public String getHeadline()
BannerComponent.headline attribute.public Map<Language,String> getAllHeadline(SessionContext ctx)
BannerComponent.headline attribute.public Map<Language,String> getAllHeadline()
BannerComponent.headline attribute.public void setHeadline(SessionContext ctx, String value)
BannerComponent.headline attribute.value - the headlinepublic void setHeadline(String value)
BannerComponent.headline attribute.value - the headlinepublic void setAllHeadline(SessionContext ctx, Map<Language,String> value)
BannerComponent.headline attribute.value - the headlinepublic void setAllHeadline(Map<Language,String> value)
BannerComponent.headline attribute.value - the headlinepublic 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 String getPageLabelOrId(SessionContext ctx)
BannerComponent.pageLabelOrId attribute.public String getPageLabelOrId()
BannerComponent.pageLabelOrId attribute.public Collection<RotatingImagesComponent> getRotatingComponent(SessionContext ctx)
BannerComponent.rotatingComponent attribute.public Collection<RotatingImagesComponent> getRotatingComponent()
BannerComponent.rotatingComponent attribute.public long getRotatingComponentCount(SessionContext ctx)
public long getRotatingComponentCount()
public void setRotatingComponent(SessionContext ctx, Collection<RotatingImagesComponent> value)
BannerComponent.rotatingComponent attribute.value - the rotatingComponentpublic void setRotatingComponent(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 © 2017 SAP SE. All Rights Reserved.