public class AbstractBannerComponentModel extends SimpleCMSComponentModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
EXTERNAL
Generated constant - Attribute key of
AbstractBannerComponent.external attribute defined at extension cms2lib. |
static String |
MEDIA
Generated constant - Attribute key of
AbstractBannerComponent.media attribute defined at extension cms2lib. |
static String |
URLLINK
Generated constant - Attribute key of
AbstractBannerComponent.urlLink attribute defined at extension cms2lib. |
_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 |
|---|
AbstractBannerComponentModel()
Generated constructor - Default constructor for generic creation.
|
AbstractBannerComponentModel(CatalogVersionModel _catalogVersion,
boolean _external,
ItemModel _owner,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
AbstractBannerComponentModel(CatalogVersionModel _catalogVersion,
boolean _external,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
AbstractBannerComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
MediaModel |
getMedia()
Generated method - Getter of the
AbstractBannerComponent.media attribute defined at extension cms2lib. |
MediaModel |
getMedia(Locale loc)
Generated method - Getter of the
AbstractBannerComponent.media attribute defined at extension cms2lib. |
String |
getUrlLink()
Generated method - Getter of the
AbstractBannerComponent.urlLink attribute defined at extension cms2lib. |
boolean |
isExternal()
Generated method - Getter of the
AbstractBannerComponent.external attribute defined at extension cms2lib. |
void |
setExternal(boolean value)
Generated method - Setter of
AbstractBannerComponent.external attribute defined at extension cms2lib. |
void |
setMedia(MediaModel value)
Generated method - Setter of
AbstractBannerComponent.media attribute defined at extension cms2lib. |
void |
setMedia(MediaModel value,
Locale loc)
Generated method - Setter of
AbstractBannerComponent.media attribute defined at extension cms2lib. |
void |
setUrlLink(String value)
Generated method - Setter of
AbstractBannerComponent.urlLink attribute defined at extension cms2lib. |
getContainers, 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 MEDIA
AbstractBannerComponent.media attribute defined at extension cms2lib.public static final String URLLINK
AbstractBannerComponent.urlLink attribute defined at extension cms2lib.public static final String EXTERNAL
AbstractBannerComponent.external attribute defined at extension cms2lib.public AbstractBannerComponentModel()
public AbstractBannerComponentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public AbstractBannerComponentModel(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 AbstractBannerComponentModel(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="media", type=GETTER) public MediaModel getMedia()
AbstractBannerComponent.media attribute defined at extension cms2lib.@Accessor(qualifier="media", type=GETTER) public MediaModel getMedia(Locale loc)
AbstractBannerComponent.media attribute defined at extension cms2lib.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="urlLink", type=GETTER) public String getUrlLink()
AbstractBannerComponent.urlLink attribute defined at extension cms2lib.@Accessor(qualifier="external", type=GETTER) public boolean isExternal()
AbstractBannerComponent.external attribute defined at extension cms2lib.@Accessor(qualifier="external", type=SETTER) public void setExternal(boolean value)
AbstractBannerComponent.external attribute defined at extension cms2lib.value - the external@Accessor(qualifier="media", type=SETTER) public void setMedia(MediaModel value)
AbstractBannerComponent.media attribute defined at extension cms2lib.value - the media@Accessor(qualifier="media", type=SETTER) public void setMedia(MediaModel value, Locale loc)
AbstractBannerComponent.media attribute defined at extension cms2lib.value - the medialoc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data languageCopyright © 2017 SAP SE. All Rights Reserved.