public class ProductListComponentModel extends SimpleCMSComponentModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
CATEGORY
Generated constant - Attribute key of
ProductListComponent.category attribute defined at extension cms2lib. |
static String |
CATEGORYCODE
Generated constant - Attribute key of
ProductListComponent.categoryCode attribute defined at extension cms2lib. |
static String |
HEADLINE
Generated constant - Attribute key of
ProductListComponent.headline attribute defined at extension cms2lib. |
static String |
LAYOUT
Generated constant - Attribute key of
ProductListComponent.layout attribute defined at extension cms2lib. |
static String |
PAGINATION
Generated constant - Attribute key of
ProductListComponent.pagination attribute defined at extension cms2lib. |
static String |
PRODUCTCODES
Generated constant - Attribute key of
ProductListComponent.productCodes attribute defined at extension cms2lib. |
static String |
PRODUCTS
Generated constant - Attribute key of
ProductListComponent.products attribute defined at extension cms2lib. |
static String |
PRODUCTSFROMCONTEXT
Generated constant - Attribute key of
ProductListComponent.productsFromContext attribute defined at extension cms2lib. |
static String |
SEARCHQUERY
Generated constant - Attribute key of
ProductListComponent.searchQuery 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 |
|---|
ProductListComponentModel()
Generated constructor - Default constructor for generic creation.
|
ProductListComponentModel(CatalogVersionModel _catalogVersion,
boolean _pagination,
boolean _productsFromContext,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
ProductListComponentModel(CatalogVersionModel _catalogVersion,
ItemModel _owner,
boolean _pagination,
boolean _productsFromContext,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
ProductListComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
CategoryModel |
getCategory()
Generated method - Getter of the
ProductListComponent.category attribute defined at extension cms2lib. |
String |
getCategoryCode()
Generated method - Getter of the
ProductListComponent.categoryCode attribute defined at extension cms2lib. |
String |
getHeadline()
Generated method - Getter of the
ProductListComponent.headline attribute defined at extension cms2lib. |
String |
getHeadline(Locale loc)
Generated method - Getter of the
ProductListComponent.headline attribute defined at extension cms2lib. |
ProductListLayouts |
getLayout()
Generated method - Getter of the
ProductListComponent.layout attribute defined at extension cms2lib. |
List<String> |
getProductCodes()
Generated method - Getter of the
ProductListComponent.productCodes attribute defined at extension cms2lib. |
List<ProductModel> |
getProducts()
Generated method - Getter of the
ProductListComponent.products attribute defined at extension cms2lib. |
String |
getSearchQuery()
Generated method - Getter of the
ProductListComponent.searchQuery attribute defined at extension cms2lib. |
String |
getSearchQuery(Locale loc)
Generated method - Getter of the
ProductListComponent.searchQuery attribute defined at extension cms2lib. |
boolean |
isPagination()
Generated method - Getter of the
ProductListComponent.pagination attribute defined at extension cms2lib. |
boolean |
isProductsFromContext()
Generated method - Getter of the
ProductListComponent.productsFromContext attribute defined at extension cms2lib. |
void |
setCategory(CategoryModel value)
Generated method - Setter of
ProductListComponent.category attribute defined at extension cms2lib. |
void |
setHeadline(String value)
Generated method - Setter of
ProductListComponent.headline attribute defined at extension cms2lib. |
void |
setHeadline(String value,
Locale loc)
Generated method - Setter of
ProductListComponent.headline attribute defined at extension cms2lib. |
void |
setLayout(ProductListLayouts value)
Generated method - Setter of
ProductListComponent.layout attribute defined at extension cms2lib. |
void |
setPagination(boolean value)
Generated method - Setter of
ProductListComponent.pagination attribute defined at extension cms2lib. |
void |
setProducts(List<ProductModel> value)
Generated method - Setter of
ProductListComponent.products attribute defined at extension cms2lib. |
void |
setProductsFromContext(boolean value)
Generated method - Setter of
ProductListComponent.productsFromContext attribute defined at extension cms2lib. |
void |
setSearchQuery(String value)
Generated method - Setter of
ProductListComponent.searchQuery attribute defined at extension cms2lib. |
void |
setSearchQuery(String value,
Locale loc)
Generated method - Setter of
ProductListComponent.searchQuery 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 HEADLINE
ProductListComponent.headline attribute defined at extension cms2lib.public static final String CATEGORYCODE
ProductListComponent.categoryCode attribute defined at extension cms2lib.public static final String PRODUCTSFROMCONTEXT
ProductListComponent.productsFromContext attribute defined at extension cms2lib.public static final String SEARCHQUERY
ProductListComponent.searchQuery attribute defined at extension cms2lib.public static final String PAGINATION
ProductListComponent.pagination attribute defined at extension cms2lib.public static final String LAYOUT
ProductListComponent.layout attribute defined at extension cms2lib.public static final String PRODUCTCODES
ProductListComponent.productCodes attribute defined at extension cms2lib.public static final String PRODUCTS
ProductListComponent.products attribute defined at extension cms2lib.public static final String CATEGORY
ProductListComponent.category attribute defined at extension cms2lib.public ProductListComponentModel()
public ProductListComponentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public ProductListComponentModel(CatalogVersionModel _catalogVersion, boolean _pagination, boolean _productsFromContext, String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_pagination - initial attribute declared by type ProductListComponent at extension cms2lib_productsFromContext - initial attribute declared by type ProductListComponent at extension cms2lib_uid - initial attribute declared by type CMSItem at extension cms2@Deprecated public ProductListComponentModel(CatalogVersionModel _catalogVersion, ItemModel _owner, boolean _pagination, boolean _productsFromContext, String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_owner - initial attribute declared by type Item at extension core_pagination - initial attribute declared by type ProductListComponent at extension cms2lib_productsFromContext - initial attribute declared by type ProductListComponent at extension cms2lib_uid - initial attribute declared by type CMSItem at extension cms2@Accessor(qualifier="category", type=GETTER) public CategoryModel getCategory()
ProductListComponent.category attribute defined at extension cms2lib.@Accessor(qualifier="categoryCode", type=GETTER) public String getCategoryCode()
ProductListComponent.categoryCode attribute defined at extension cms2lib.@Accessor(qualifier="headline", type=GETTER) public String getHeadline()
ProductListComponent.headline attribute defined at extension cms2lib.@Accessor(qualifier="headline", type=GETTER) public String getHeadline(Locale loc)
ProductListComponent.headline attribute defined at extension cms2lib.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="layout", type=GETTER) public ProductListLayouts getLayout()
ProductListComponent.layout attribute defined at extension cms2lib.@Accessor(qualifier="productCodes", type=GETTER) public List<String> getProductCodes()
ProductListComponent.productCodes attribute defined at extension cms2lib.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="products", type=GETTER) public List<ProductModel> getProducts()
ProductListComponent.products attribute defined at extension cms2lib.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="searchQuery", type=GETTER) public String getSearchQuery()
ProductListComponent.searchQuery attribute defined at extension cms2lib.@Accessor(qualifier="searchQuery", type=GETTER) public String getSearchQuery(Locale loc)
ProductListComponent.searchQuery attribute defined at extension cms2lib.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="pagination", type=GETTER) public boolean isPagination()
ProductListComponent.pagination attribute defined at extension cms2lib.@Accessor(qualifier="productsFromContext", type=GETTER) public boolean isProductsFromContext()
ProductListComponent.productsFromContext attribute defined at extension cms2lib.@Accessor(qualifier="category", type=SETTER) public void setCategory(CategoryModel value)
ProductListComponent.category attribute defined at extension cms2lib.value - the category@Accessor(qualifier="headline", type=SETTER) public void setHeadline(String value)
ProductListComponent.headline attribute defined at extension cms2lib.value - the headline@Accessor(qualifier="headline", type=SETTER) public void setHeadline(String value, Locale loc)
ProductListComponent.headline attribute defined at extension cms2lib.value - the headlineloc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="layout", type=SETTER) public void setLayout(ProductListLayouts value)
ProductListComponent.layout attribute defined at extension cms2lib.value - the layout@Accessor(qualifier="pagination", type=SETTER) public void setPagination(boolean value)
ProductListComponent.pagination attribute defined at extension cms2lib.value - the pagination@Accessor(qualifier="products", type=SETTER) public void setProducts(List<ProductModel> value)
ProductListComponent.products attribute defined at extension cms2lib.value - the products@Accessor(qualifier="productsFromContext", type=SETTER) public void setProductsFromContext(boolean value)
ProductListComponent.productsFromContext attribute defined at extension cms2lib.value - the productsFromContext@Accessor(qualifier="searchQuery", type=SETTER) public void setSearchQuery(String value)
ProductListComponent.searchQuery attribute defined at extension cms2lib.value - the searchQuery@Accessor(qualifier="searchQuery", type=SETTER) public void setSearchQuery(String value, Locale loc)
ProductListComponent.searchQuery attribute defined at extension cms2lib.value - the searchQueryloc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data languageCopyright © 2017 SAP SE. All Rights Reserved.