public class DynamicBannerComponentModel extends AbstractBannerComponentModel
Banner component implementation that displays media that code is dynamically evaluated basing on given parameters.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
MEDIACODEPATTERN
Generated constant - Attribute key of
DynamicBannerComponent.mediaCodePattern attribute defined at extension acceleratorcms. |
EXTERNAL, MEDIA, URLLINK_ELEMENTSFORCONTAINER, CONTAINERS_ELEMENTSFORSLOT, ACTIONS, CONTAINER, ONLYONERESTRICTIONMUSTAPPLY, RESTRICTED, RESTRICTIONS, SLOTS, TYPE, TYPECODE, VISIBLECATALOGVERSION, NAME, UID_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
DynamicBannerComponentModel()
Generated constructor - Default constructor for generic creation.
|
DynamicBannerComponentModel(CatalogVersionModel _catalogVersion,
boolean _external,
ItemModel _owner,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
DynamicBannerComponentModel(CatalogVersionModel _catalogVersion,
boolean _external,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
DynamicBannerComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMediaCodePattern()
Generated method - Getter of the
DynamicBannerComponent.mediaCodePattern attribute defined at extension acceleratorcms. |
void |
setMediaCodePattern(java.lang.String value)
Generated method - Setter of
DynamicBannerComponent.mediaCodePattern attribute defined at extension acceleratorcms. |
getMedia, getMedia, getUrlLink, isExternal, setExternal, setMedia, setMedia, setUrlLinkgetContainers, setContainersgetActions, getRestrictions, getSlots, getType, getType, getTypeCode, getVisible, isContainer, isOnlyOneRestrictionMustApply, isRestricted, setActions, setOnlyOneRestrictionMustApply, setRestrictions, setSlots, setVisiblegetCatalogVersion, getName, getUid, setCatalogVersion, setName, setUidgetComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerequals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplacepublic static final java.lang.String _TYPECODE
public static final java.lang.String MEDIACODEPATTERN
DynamicBannerComponent.mediaCodePattern attribute defined at extension acceleratorcms.public DynamicBannerComponentModel()
public DynamicBannerComponentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public DynamicBannerComponentModel(CatalogVersionModel _catalogVersion, boolean _external, java.lang.String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_external - initial attribute declared by type AbstractBannerComponent at extension cms2lib_uid - initial attribute declared by type CMSItem at extension cms2@Deprecated public DynamicBannerComponentModel(CatalogVersionModel _catalogVersion, boolean _external, ItemModel _owner, java.lang.String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_external - initial attribute declared by type AbstractBannerComponent at extension cms2lib_owner - initial attribute declared by type Item at extension core_uid - initial attribute declared by type CMSItem at extension cms2@Accessor(qualifier="mediaCodePattern", type=GETTER) public java.lang.String getMediaCodePattern()
DynamicBannerComponent.mediaCodePattern attribute defined at extension acceleratorcms.@Accessor(qualifier="mediaCodePattern", type=SETTER) public void setMediaCodePattern(java.lang.String value)
DynamicBannerComponent.mediaCodePattern attribute defined at extension acceleratorcms.value - the mediaCodePattern - Media code pattern that will be used for evaluation.Copyright © 2018 SAP SE. All Rights Reserved.