public class BannerComponentModel extends AbstractBannerComponentModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_BANNERSFORROTATINGCOMPONENT
Generated relation code constant for relation
BannersForRotatingComponent defining source attribute rotatingComponent in extension cms2lib. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
CONTENT
Generated constant - Attribute key of
BannerComponent.content attribute defined at extension cms2lib. |
static String |
HEADLINE
Generated constant - Attribute key of
BannerComponent.headline attribute defined at extension cms2lib. |
static String |
PAGE
Generated constant - Attribute key of
BannerComponent.page attribute defined at extension cms2lib. |
static String |
PAGELABELORID
Generated constant - Attribute key of
BannerComponent.pageLabelOrId attribute defined at extension cms2lib. |
static 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, PKLANGUAGE_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,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
BannerComponentModel(CatalogVersionModel _catalogVersion,
boolean _external,
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 |
|---|---|
String |
getContent()
Generated method - Getter of the
BannerComponent.content attribute defined at extension cms2lib. |
String |
getContent(Locale loc)
Generated method - Getter of the
BannerComponent.content attribute defined at extension cms2lib. |
String |
getHeadline()
Generated method - Getter of the
BannerComponent.headline attribute defined at extension cms2lib. |
String |
getHeadline(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. |
String |
getPageLabelOrId()
Generated method - Getter of the
BannerComponent.pageLabelOrId attribute defined at extension cms2lib. |
Collection<RotatingImagesComponentModel> |
getRotatingComponent()
Generated method - Getter of the
BannerComponent.rotatingComponent attribute defined at extension cms2lib. |
void |
setContent(String value)
Generated method - Setter of
BannerComponent.content attribute defined at extension cms2lib. |
void |
setContent(String value,
Locale loc)
Generated method - Setter of
BannerComponent.content attribute defined at extension cms2lib. |
void |
setHeadline(String value)
Generated method - Setter of
BannerComponent.headline attribute defined at extension cms2lib. |
void |
setHeadline(String value,
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(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, 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 String _TYPECODE
public static final String _BANNERSFORROTATINGCOMPONENT
BannersForRotatingComponent defining source attribute rotatingComponent in extension cms2lib.public static final String HEADLINE
BannerComponent.headline attribute defined at extension cms2lib.public static final String CONTENT
BannerComponent.content attribute defined at extension cms2lib.public static final String PAGELABELORID
BannerComponent.pageLabelOrId attribute defined at extension cms2lib.public static final String ROTATINGCOMPONENT
BannerComponent.rotatingComponent attribute defined at extension cms2lib.public static final 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, 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, 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 String getContent()
BannerComponent.content attribute defined at extension cms2lib.@Accessor(qualifier="content", type=GETTER) public String getContent(Locale loc)
BannerComponent.content attribute defined at extension cms2lib.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="headline", type=GETTER) public String getHeadline()
BannerComponent.headline attribute defined at extension cms2lib.@Accessor(qualifier="headline", type=GETTER) public String getHeadline(Locale loc)
BannerComponent.headline attribute defined at extension cms2lib.loc - the value localization keyIllegalArgumentException - 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 String getPageLabelOrId()
BannerComponent.pageLabelOrId attribute defined at extension cms2lib.@Accessor(qualifier="rotatingComponent", type=GETTER) public 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(String value)
BannerComponent.content attribute defined at extension cms2lib.value - the content@Accessor(qualifier="content", type=SETTER) public void setContent(String value, Locale loc)
BannerComponent.content attribute defined at extension cms2lib.value - the contentloc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="headline", type=SETTER) public void setHeadline(String value)
BannerComponent.headline attribute defined at extension cms2lib.value - the headline@Accessor(qualifier="headline", type=SETTER) public void setHeadline(String value, Locale loc)
BannerComponent.headline attribute defined at extension cms2lib.value - the headlineloc - the value localization keyIllegalArgumentException - 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(Collection<RotatingImagesComponentModel> value)
BannerComponent.rotatingComponent attribute defined at extension cms2lib.value - the rotatingComponentCopyright © 2017 SAP SE. All Rights Reserved.