public class SimpleSuggestionComponentModel extends ProductReferencesComponentModel
Represents the suggestion component that displays suggestions to the user.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
FILTERPURCHASED
Generated constant - Attribute key of
SimpleSuggestionComponent.filterPurchased attribute defined at extension acceleratorcms. |
DISPLAYPRODUCTPRICES, DISPLAYPRODUCTTITLES, MAXIMUMNUMBERPRODUCTS, PRODUCTREFERENCETYPES, TITLE_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 |
|---|
SimpleSuggestionComponentModel()
Generated constructor - Default constructor for generic creation.
|
SimpleSuggestionComponentModel(CatalogVersionModel _catalogVersion,
ItemModel _owner,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
SimpleSuggestionComponentModel(CatalogVersionModel _catalogVersion,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
SimpleSuggestionComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFilterPurchased()
Generated method - Getter of the
SimpleSuggestionComponent.filterPurchased attribute defined at extension acceleratorcms. |
void |
setFilterPurchased(boolean value)
Generated method - Setter of
SimpleSuggestionComponent.filterPurchased attribute defined at extension acceleratorcms. |
getMaximumNumberProducts, getProductReferenceTypes, getTitle, getTitle, isDisplayProductPrices, isDisplayProductTitles, setDisplayProductPrices, setDisplayProductTitles, setMaximumNumberProducts, setProductReferenceTypes, setTitle, setTitlegetContainers, 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 FILTERPURCHASED
SimpleSuggestionComponent.filterPurchased attribute defined at extension acceleratorcms.public SimpleSuggestionComponentModel()
public SimpleSuggestionComponentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public SimpleSuggestionComponentModel(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 SimpleSuggestionComponentModel(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="filterPurchased", type=GETTER) public boolean isFilterPurchased()
SimpleSuggestionComponent.filterPurchased attribute defined at extension acceleratorcms.@Accessor(qualifier="filterPurchased", type=SETTER) public void setFilterPurchased(boolean value)
SimpleSuggestionComponent.filterPurchased attribute defined at extension acceleratorcms.value - the filterPurchased - Determines if only purchased products are displayed in the component.Copyright © 2018 SAP SE. All Rights Reserved.