public class PurchasedCategorySuggestionComponentModel extends SimpleSuggestionComponentModel
Represents the suggestion component that displays product references that can be filtered by purchased or from specified category.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
CATEGORY
Generated constant - Attribute key of
PurchasedCategorySuggestionComponent.category attribute defined at extension acceleratorcms. |
FILTERPURCHASEDDISPLAYPRODUCTPRICES, DISPLAYPRODUCTTITLES, MAXIMUMNUMBERPRODUCTS, PRODUCTREFERENCETYPES, TITLE_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 |
|---|
PurchasedCategorySuggestionComponentModel()
Generated constructor - Default constructor for generic creation.
|
PurchasedCategorySuggestionComponentModel(CatalogVersionModel _catalogVersion,
CategoryModel _category,
ItemModel _owner,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
PurchasedCategorySuggestionComponentModel(CatalogVersionModel _catalogVersion,
CategoryModel _category,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
PurchasedCategorySuggestionComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
CategoryModel |
getCategory()
Generated method - Getter of the
PurchasedCategorySuggestionComponent.category attribute defined at extension acceleratorcms. |
void |
setCategory(CategoryModel value)
Generated method - Setter of
PurchasedCategorySuggestionComponent.category attribute defined at extension acceleratorcms. |
isFilterPurchased, setFilterPurchasedgetMaximumNumberProducts, 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, 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 CATEGORY
PurchasedCategorySuggestionComponent.category attribute defined at extension acceleratorcms.public PurchasedCategorySuggestionComponentModel()
public PurchasedCategorySuggestionComponentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public PurchasedCategorySuggestionComponentModel(CatalogVersionModel _catalogVersion, CategoryModel _category, String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_category - initial attribute declared by type PurchasedCategorySuggestionComponent at extension acceleratorcms_uid - initial attribute declared by type CMSItem at extension cms2@Deprecated public PurchasedCategorySuggestionComponentModel(CatalogVersionModel _catalogVersion, CategoryModel _category, ItemModel _owner, String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_category - initial attribute declared by type PurchasedCategorySuggestionComponent at extension acceleratorcms_owner - initial attribute declared by type Item at extension core_uid - initial attribute declared by type CMSItem at extension cms2@Accessor(qualifier="category", type=GETTER) public CategoryModel getCategory()
PurchasedCategorySuggestionComponent.category attribute defined at extension acceleratorcms.@Accessor(qualifier="category", type=SETTER) public void setCategory(CategoryModel value)
PurchasedCategorySuggestionComponent.category attribute defined at extension acceleratorcms.value - the category - Category to filter displayed references with.Copyright © 2017 SAP SE. All Rights Reserved.