public class CMSSAPRecommendationComponentModel extends SimpleCMSComponentModel
Represents product recommendations for given context from SAP Marketing.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
CARTITEMDSTYPE
Generated constant - Attribute key of
CMSSAPRecommendationComponent.cartitemdstype attribute defined at extension sapymktrecommendation. |
static java.lang.String |
INCLUDECART
Generated constant - Attribute key of
CMSSAPRecommendationComponent.includecart attribute defined at extension sapymktrecommendation. |
static java.lang.String |
INCLUDERECENT
Generated constant - Attribute key of
CMSSAPRecommendationComponent.includerecent attribute defined at extension sapymktrecommendation. |
static java.lang.String |
LEADINGITEMDSTYPE
Generated constant - Attribute key of
CMSSAPRecommendationComponent.leadingitemdstype attribute defined at extension sapymktrecommendation. |
static java.lang.String |
LEADINGITEMTYPE
Generated constant - Attribute key of
CMSSAPRecommendationComponent.leadingitemtype attribute defined at extension sapymktrecommendation. |
static java.lang.String |
RECOTYPE
Generated constant - Attribute key of
CMSSAPRecommendationComponent.recotype attribute defined at extension sapymktrecommendation. |
static java.lang.String |
TITLE
Generated constant - Attribute key of
CMSSAPRecommendationComponent.title attribute defined at extension sapymktrecommendation. |
_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 |
|---|
CMSSAPRecommendationComponentModel()
Generated constructor - Default constructor for generic creation.
|
CMSSAPRecommendationComponentModel(CatalogVersionModel _catalogVersion,
ItemModel _owner,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
CMSSAPRecommendationComponentModel(CatalogVersionModel _catalogVersion,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
CMSSAPRecommendationComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCartitemdstype()
Generated method - Getter of the
CMSSAPRecommendationComponent.cartitemdstype attribute defined at extension sapymktrecommendation. |
java.lang.String |
getLeadingitemdstype()
Generated method - Getter of the
CMSSAPRecommendationComponent.leadingitemdstype attribute defined at extension sapymktrecommendation. |
java.lang.String |
getLeadingitemtype()
Generated method - Getter of the
CMSSAPRecommendationComponent.leadingitemtype attribute defined at extension sapymktrecommendation. |
java.lang.String |
getRecotype()
Generated method - Getter of the
CMSSAPRecommendationComponent.recotype attribute defined at extension sapymktrecommendation. |
java.lang.String |
getTitle()
Generated method - Getter of the
CMSSAPRecommendationComponent.title attribute defined at extension sapymktrecommendation. |
java.lang.String |
getTitle(java.util.Locale loc)
Generated method - Getter of the
CMSSAPRecommendationComponent.title attribute defined at extension sapymktrecommendation. |
boolean |
isIncludecart()
Generated method - Getter of the
CMSSAPRecommendationComponent.includecart attribute defined at extension sapymktrecommendation. |
boolean |
isIncluderecent()
Generated method - Getter of the
CMSSAPRecommendationComponent.includerecent attribute defined at extension sapymktrecommendation. |
void |
setCartitemdstype(java.lang.String value)
Generated method - Setter of
CMSSAPRecommendationComponent.cartitemdstype attribute defined at extension sapymktrecommendation. |
void |
setIncludecart(boolean value)
Generated method - Setter of
CMSSAPRecommendationComponent.includecart attribute defined at extension sapymktrecommendation. |
void |
setIncluderecent(boolean value)
Generated method - Setter of
CMSSAPRecommendationComponent.includerecent attribute defined at extension sapymktrecommendation. |
void |
setLeadingitemdstype(java.lang.String value)
Generated method - Setter of
CMSSAPRecommendationComponent.leadingitemdstype attribute defined at extension sapymktrecommendation. |
void |
setLeadingitemtype(java.lang.String value)
Generated method - Setter of
CMSSAPRecommendationComponent.leadingitemtype attribute defined at extension sapymktrecommendation. |
void |
setRecotype(java.lang.String value)
Generated method - Setter of
CMSSAPRecommendationComponent.recotype attribute defined at extension sapymktrecommendation. |
void |
setTitle(java.lang.String value)
Generated method - Setter of
CMSSAPRecommendationComponent.title attribute defined at extension sapymktrecommendation. |
void |
setTitle(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
CMSSAPRecommendationComponent.title attribute defined at extension sapymktrecommendation. |
getContainers, 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 TITLE
CMSSAPRecommendationComponent.title attribute defined at extension sapymktrecommendation.public static final java.lang.String RECOTYPE
CMSSAPRecommendationComponent.recotype attribute defined at extension sapymktrecommendation.public static final java.lang.String LEADINGITEMTYPE
CMSSAPRecommendationComponent.leadingitemtype attribute defined at extension sapymktrecommendation.public static final java.lang.String LEADINGITEMDSTYPE
CMSSAPRecommendationComponent.leadingitemdstype attribute defined at extension sapymktrecommendation.public static final java.lang.String CARTITEMDSTYPE
CMSSAPRecommendationComponent.cartitemdstype attribute defined at extension sapymktrecommendation.public static final java.lang.String INCLUDECART
CMSSAPRecommendationComponent.includecart attribute defined at extension sapymktrecommendation.public static final java.lang.String INCLUDERECENT
CMSSAPRecommendationComponent.includerecent attribute defined at extension sapymktrecommendation.public CMSSAPRecommendationComponentModel()
public CMSSAPRecommendationComponentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public CMSSAPRecommendationComponentModel(CatalogVersionModel _catalogVersion, java.lang.String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_uid - initial attribute declared by type CMSItem at extension cms2@Deprecated public CMSSAPRecommendationComponentModel(CatalogVersionModel _catalogVersion, ItemModel _owner, java.lang.String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_owner - initial attribute declared by type Item at extension core_uid - initial attribute declared by type CMSItem at extension cms2@Accessor(qualifier="cartitemdstype", type=GETTER) public java.lang.String getCartitemdstype()
CMSSAPRecommendationComponent.cartitemdstype attribute defined at extension sapymktrecommendation.@Accessor(qualifier="leadingitemdstype", type=GETTER) public java.lang.String getLeadingitemdstype()
CMSSAPRecommendationComponent.leadingitemdstype attribute defined at extension sapymktrecommendation.@Accessor(qualifier="leadingitemtype", type=GETTER) public java.lang.String getLeadingitemtype()
CMSSAPRecommendationComponent.leadingitemtype attribute defined at extension sapymktrecommendation.@Accessor(qualifier="recotype", type=GETTER) public java.lang.String getRecotype()
CMSSAPRecommendationComponent.recotype attribute defined at extension sapymktrecommendation.@Accessor(qualifier="title", type=GETTER) public java.lang.String getTitle()
CMSSAPRecommendationComponent.title attribute defined at extension sapymktrecommendation.@Accessor(qualifier="title", type=GETTER) public java.lang.String getTitle(java.util.Locale loc)
CMSSAPRecommendationComponent.title attribute defined at extension sapymktrecommendation.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="includecart", type=GETTER) public boolean isIncludecart()
CMSSAPRecommendationComponent.includecart attribute defined at extension sapymktrecommendation.@Accessor(qualifier="includerecent", type=GETTER) public boolean isIncluderecent()
CMSSAPRecommendationComponent.includerecent attribute defined at extension sapymktrecommendation.@Accessor(qualifier="cartitemdstype", type=SETTER) public void setCartitemdstype(java.lang.String value)
CMSSAPRecommendationComponent.cartitemdstype attribute defined at extension sapymktrecommendation.value - the cartitemdstype - Attribute that stores the cart data source type to be used@Accessor(qualifier="includecart", type=SETTER) public void setIncludecart(boolean value)
CMSSAPRecommendationComponent.includecart attribute defined at extension sapymktrecommendation.value - the includecart - Include the basket items as leading items@Accessor(qualifier="includerecent", type=SETTER) public void setIncluderecent(boolean value)
CMSSAPRecommendationComponent.includerecent attribute defined at extension sapymktrecommendation.value - the includerecent - Include the recently visited products as leading items@Accessor(qualifier="leadingitemdstype", type=SETTER) public void setLeadingitemdstype(java.lang.String value)
CMSSAPRecommendationComponent.leadingitemdstype attribute defined at extension sapymktrecommendation.value - the leadingitemdstype - Attribute that stores the leading item data source type to be used@Accessor(qualifier="leadingitemtype", type=SETTER) public void setLeadingitemtype(java.lang.String value)
CMSSAPRecommendationComponent.leadingitemtype attribute defined at extension sapymktrecommendation.value - the leadingitemtype - Attribute that stores the item type to be used@Accessor(qualifier="recotype", type=SETTER) public void setRecotype(java.lang.String value)
CMSSAPRecommendationComponent.recotype attribute defined at extension sapymktrecommendation.value - the recotype - Attribute that stores the recommendation scenario to be used@Accessor(qualifier="title", type=SETTER) public void setTitle(java.lang.String value)
CMSSAPRecommendationComponent.title attribute defined at extension sapymktrecommendation.value - the title - Attribute that stores the section title.@Accessor(qualifier="title", type=SETTER) public void setTitle(java.lang.String value, java.util.Locale loc)
CMSSAPRecommendationComponent.title attribute defined at extension sapymktrecommendation.value - the title - Attribute that stores the section title.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data languageCopyright © 2018 SAP SE. All Rights Reserved.