public class CMSSAPRecommendationComponentModel extends SimpleCMSComponentModel
It represents a PRI recommender that provides recommendations with given context.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
CARTITEMDSTYPE
Generated constant - Attribute key of
CMSSAPRecommendationComponent.cartitemdstype attribute defined at extension sapproductrecommendation. |
static String |
INCLUDECART
Generated constant - Attribute key of
CMSSAPRecommendationComponent.includecart attribute defined at extension sapproductrecommendation. |
static String |
INCLUDERECENT
Generated constant - Attribute key of
CMSSAPRecommendationComponent.includerecent attribute defined at extension sapproductrecommendation. |
static String |
LEADINGITEMDSTYPE
Generated constant - Attribute key of
CMSSAPRecommendationComponent.leadingitemdstype attribute defined at extension sapproductrecommendation. |
static String |
LEADINGITEMTYPE
Generated constant - Attribute key of
CMSSAPRecommendationComponent.leadingitemtype attribute defined at extension sapproductrecommendation. |
static String |
RECOTYPE
Generated constant - Attribute key of
CMSSAPRecommendationComponent.recotype attribute defined at extension sapproductrecommendation. |
static String |
TITLE
Generated constant - Attribute key of
CMSSAPRecommendationComponent.title attribute defined at extension sapproductrecommendation. |
_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 |
|---|
CMSSAPRecommendationComponentModel()
Generated constructor - Default constructor for generic creation.
|
CMSSAPRecommendationComponentModel(CatalogVersionModel _catalogVersion,
ItemModel _owner,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
CMSSAPRecommendationComponentModel(CatalogVersionModel _catalogVersion,
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 |
|---|---|
String |
getCartitemdstype()
Generated method - Getter of the
CMSSAPRecommendationComponent.cartitemdstype attribute defined at extension sapproductrecommendation. |
String |
getLeadingitemdstype()
Generated method - Getter of the
CMSSAPRecommendationComponent.leadingitemdstype attribute defined at extension sapproductrecommendation. |
String |
getLeadingitemtype()
Generated method - Getter of the
CMSSAPRecommendationComponent.leadingitemtype attribute defined at extension sapproductrecommendation. |
String |
getRecotype()
Generated method - Getter of the
CMSSAPRecommendationComponent.recotype attribute defined at extension sapproductrecommendation. |
String |
getTitle()
Generated method - Getter of the
CMSSAPRecommendationComponent.title attribute defined at extension sapproductrecommendation. |
String |
getTitle(Locale loc)
Generated method - Getter of the
CMSSAPRecommendationComponent.title attribute defined at extension sapproductrecommendation. |
boolean |
isIncludecart()
Generated method - Getter of the
CMSSAPRecommendationComponent.includecart attribute defined at extension sapproductrecommendation. |
boolean |
isIncluderecent()
Generated method - Getter of the
CMSSAPRecommendationComponent.includerecent attribute defined at extension sapproductrecommendation. |
void |
setCartitemdstype(String value)
Generated method - Setter of
CMSSAPRecommendationComponent.cartitemdstype attribute defined at extension sapproductrecommendation. |
void |
setIncludecart(boolean value)
Generated method - Setter of
CMSSAPRecommendationComponent.includecart attribute defined at extension sapproductrecommendation. |
void |
setIncluderecent(boolean value)
Generated method - Setter of
CMSSAPRecommendationComponent.includerecent attribute defined at extension sapproductrecommendation. |
void |
setLeadingitemdstype(String value)
Generated method - Setter of
CMSSAPRecommendationComponent.leadingitemdstype attribute defined at extension sapproductrecommendation. |
void |
setLeadingitemtype(String value)
Generated method - Setter of
CMSSAPRecommendationComponent.leadingitemtype attribute defined at extension sapproductrecommendation. |
void |
setRecotype(String value)
Generated method - Setter of
CMSSAPRecommendationComponent.recotype attribute defined at extension sapproductrecommendation. |
void |
setTitle(String value)
Generated method - Setter of
CMSSAPRecommendationComponent.title attribute defined at extension sapproductrecommendation. |
void |
setTitle(String value,
Locale loc)
Generated method - Setter of
CMSSAPRecommendationComponent.title attribute defined at extension sapproductrecommendation. |
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 TITLE
CMSSAPRecommendationComponent.title attribute defined at extension sapproductrecommendation.public static final String RECOTYPE
CMSSAPRecommendationComponent.recotype attribute defined at extension sapproductrecommendation.public static final String LEADINGITEMTYPE
CMSSAPRecommendationComponent.leadingitemtype attribute defined at extension sapproductrecommendation.public static final String LEADINGITEMDSTYPE
CMSSAPRecommendationComponent.leadingitemdstype attribute defined at extension sapproductrecommendation.public static final String CARTITEMDSTYPE
CMSSAPRecommendationComponent.cartitemdstype attribute defined at extension sapproductrecommendation.public static final String INCLUDECART
CMSSAPRecommendationComponent.includecart attribute defined at extension sapproductrecommendation.public static final String INCLUDERECENT
CMSSAPRecommendationComponent.includerecent attribute defined at extension sapproductrecommendation.public CMSSAPRecommendationComponentModel()
public CMSSAPRecommendationComponentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public CMSSAPRecommendationComponentModel(CatalogVersionModel _catalogVersion, 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, 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 String getCartitemdstype()
CMSSAPRecommendationComponent.cartitemdstype attribute defined at extension sapproductrecommendation.@Accessor(qualifier="leadingitemdstype", type=GETTER) public String getLeadingitemdstype()
CMSSAPRecommendationComponent.leadingitemdstype attribute defined at extension sapproductrecommendation.@Accessor(qualifier="leadingitemtype", type=GETTER) public String getLeadingitemtype()
CMSSAPRecommendationComponent.leadingitemtype attribute defined at extension sapproductrecommendation.@Accessor(qualifier="recotype", type=GETTER) public String getRecotype()
CMSSAPRecommendationComponent.recotype attribute defined at extension sapproductrecommendation.@Accessor(qualifier="title", type=GETTER) public String getTitle()
CMSSAPRecommendationComponent.title attribute defined at extension sapproductrecommendation.@Accessor(qualifier="title", type=GETTER) public String getTitle(Locale loc)
CMSSAPRecommendationComponent.title attribute defined at extension sapproductrecommendation.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="includecart", type=GETTER) public boolean isIncludecart()
CMSSAPRecommendationComponent.includecart attribute defined at extension sapproductrecommendation.@Accessor(qualifier="includerecent", type=GETTER) public boolean isIncluderecent()
CMSSAPRecommendationComponent.includerecent attribute defined at extension sapproductrecommendation.@Accessor(qualifier="cartitemdstype", type=SETTER) public void setCartitemdstype(String value)
CMSSAPRecommendationComponent.cartitemdstype attribute defined at extension sapproductrecommendation.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 sapproductrecommendation.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 sapproductrecommendation.value - the includerecent - Include the recently visited products as leading items@Accessor(qualifier="leadingitemdstype", type=SETTER) public void setLeadingitemdstype(String value)
CMSSAPRecommendationComponent.leadingitemdstype attribute defined at extension sapproductrecommendation.value - the leadingitemdstype - Attribute that stores the leading item data source type to be used.@Accessor(qualifier="leadingitemtype", type=SETTER) public void setLeadingitemtype(String value)
CMSSAPRecommendationComponent.leadingitemtype attribute defined at extension sapproductrecommendation.value - the leadingitemtype - Attribute that stores the item type to be used.@Accessor(qualifier="recotype", type=SETTER) public void setRecotype(String value)
CMSSAPRecommendationComponent.recotype attribute defined at extension sapproductrecommendation.value - the recotype - Attribute that stores the recommendation scenario to be used.@Accessor(qualifier="title", type=SETTER) public void setTitle(String value)
CMSSAPRecommendationComponent.title attribute defined at extension sapproductrecommendation.value - the title - Attribute that stores the section title.@Accessor(qualifier="title", type=SETTER) public void setTitle(String value, Locale loc)
CMSSAPRecommendationComponent.title attribute defined at extension sapproductrecommendation.value - the title - Attribute that stores the section title.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data languageCopyright © 2017 SAP SE. All Rights Reserved.