public class BannerComponentModel extends AbstractBannerComponentModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_BANNERSFORROTATINGCOMPONENT
Generated relation code constant for relation
BannersForRotatingComponent defining source attribute rotatingComponent in extension cms2lib. |
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
CONTENT
Generated constant - Attribute key of
BannerComponent.content attribute defined at extension cms2lib. |
static java.lang.String |
HEADLINE
Generated constant - Attribute key of
BannerComponent.headline attribute defined at extension cms2lib. |
static java.lang.String |
PAGE
Generated constant - Attribute key of
BannerComponent.page attribute defined at extension cms2lib. |
static java.lang.String |
PAGELABELORID
Generated constant - Attribute key of
BannerComponent.pageLabelOrId attribute defined at extension cms2lib. |
static java.lang.String |
ROTATINGCOMPONENT
Generated constant - Attribute key of
BannerComponent.rotatingComponent attribute defined at extension cms2lib. |
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 |
|---|
BannerComponentModel()
Generated constructor - Default constructor for generic creation.
|
BannerComponentModel(CatalogVersionModel _catalogVersion,
boolean _external,
ItemModel _owner,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
BannerComponentModel(CatalogVersionModel _catalogVersion,
boolean _external,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
BannerComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContent()
Generated method - Getter of the
BannerComponent.content attribute defined at extension cms2lib. |
java.lang.String |
getContent(java.util.Locale loc)
Generated method - Getter of the
BannerComponent.content attribute defined at extension cms2lib. |
java.lang.String |
getHeadline()
Generated method - Getter of the
BannerComponent.headline attribute defined at extension cms2lib. |
java.lang.String |
getHeadline(java.util.Locale loc)
Generated method - Getter of the
BannerComponent.headline attribute defined at extension cms2lib. |
ContentPageModel |
getPage()
Generated method - Getter of the
BannerComponent.page attribute defined at extension cms2lib. |
java.lang.String |
getPageLabelOrId()
Generated method - Getter of the
BannerComponent.pageLabelOrId attribute defined at extension cms2lib. |
java.util.Collection<RotatingImagesComponentModel> |
getRotatingComponent()
Generated method - Getter of the
BannerComponent.rotatingComponent attribute defined at extension cms2lib. |
void |
setContent(java.lang.String value)
Generated method - Setter of
BannerComponent.content attribute defined at extension cms2lib. |
void |
setContent(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
BannerComponent.content attribute defined at extension cms2lib. |
void |
setHeadline(java.lang.String value)
Generated method - Setter of
BannerComponent.headline attribute defined at extension cms2lib. |
void |
setHeadline(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
BannerComponent.headline attribute defined at extension cms2lib. |
void |
setPage(ContentPageModel value)
Generated method - Setter of
BannerComponent.page attribute defined at extension cms2lib. |
void |
setRotatingComponent(java.util.Collection<RotatingImagesComponentModel> value)
Generated method - Setter of
BannerComponent.rotatingComponent attribute defined at extension cms2lib. |
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 _BANNERSFORROTATINGCOMPONENT
BannersForRotatingComponent defining source attribute rotatingComponent in extension cms2lib.public static final java.lang.String HEADLINE
BannerComponent.headline attribute defined at extension cms2lib.public static final java.lang.String CONTENT
BannerComponent.content attribute defined at extension cms2lib.public static final java.lang.String PAGELABELORID
BannerComponent.pageLabelOrId attribute defined at extension cms2lib.public static final java.lang.String ROTATINGCOMPONENT
BannerComponent.rotatingComponent attribute defined at extension cms2lib.public static final java.lang.String PAGE
BannerComponent.page attribute defined at extension cms2lib.public BannerComponentModel()
public BannerComponentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public BannerComponentModel(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 BannerComponentModel(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="content", type=GETTER) public java.lang.String getContent()
BannerComponent.content attribute defined at extension cms2lib.@Accessor(qualifier="content", type=GETTER) public java.lang.String getContent(java.util.Locale loc)
BannerComponent.content attribute defined at extension cms2lib.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="headline", type=GETTER) public java.lang.String getHeadline()
BannerComponent.headline attribute defined at extension cms2lib.@Accessor(qualifier="headline", type=GETTER) public java.lang.String getHeadline(java.util.Locale loc)
BannerComponent.headline attribute defined at extension cms2lib.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="page", type=GETTER) public ContentPageModel getPage()
BannerComponent.page attribute defined at extension cms2lib.@Accessor(qualifier="pageLabelOrId", type=GETTER) public java.lang.String getPageLabelOrId()
BannerComponent.pageLabelOrId attribute defined at extension cms2lib.@Accessor(qualifier="rotatingComponent", type=GETTER) public java.util.Collection<RotatingImagesComponentModel> getRotatingComponent()
BannerComponent.rotatingComponent attribute defined at extension cms2lib.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="content", type=SETTER) public void setContent(java.lang.String value)
BannerComponent.content attribute defined at extension cms2lib.value - the content@Accessor(qualifier="content", type=SETTER) public void setContent(java.lang.String value, java.util.Locale loc)
BannerComponent.content attribute defined at extension cms2lib.value - the contentloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="headline", type=SETTER) public void setHeadline(java.lang.String value)
BannerComponent.headline attribute defined at extension cms2lib.value - the headline@Accessor(qualifier="headline", type=SETTER) public void setHeadline(java.lang.String value, java.util.Locale loc)
BannerComponent.headline attribute defined at extension cms2lib.value - the headlineloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="page", type=SETTER) public void setPage(ContentPageModel value)
BannerComponent.page attribute defined at extension cms2lib.value - the page@Accessor(qualifier="rotatingComponent", type=SETTER) public void setRotatingComponent(java.util.Collection<RotatingImagesComponentModel> value)
BannerComponent.rotatingComponent attribute defined at extension cms2lib.value - the rotatingComponentCopyright © 2018 SAP SE. All Rights Reserved.