public class ProductCarouselComponentModel extends SimpleCMSComponentModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
CATEGORIES
Generated constant - Attribute key of
ProductCarouselComponent.categories attribute defined at extension cms2lib. |
static String |
CATEGORYCODE
Generated constant - Attribute key of
ProductCarouselComponent.categoryCode attribute defined at extension acceleratorcms. |
static String |
CATEGORYCODES
Generated constant - Attribute key of
ProductCarouselComponent.categoryCodes attribute defined at extension cms2lib. |
static String |
POPUP
Generated constant - Attribute key of
ProductCarouselComponent.popup attribute defined at extension acceleratorcms. |
static String |
PRODUCTCODES
Generated constant - Attribute key of
ProductCarouselComponent.productCodes attribute defined at extension cms2lib. |
static String |
PRODUCTS
Generated constant - Attribute key of
ProductCarouselComponent.products attribute defined at extension cms2lib. |
static String |
SCROLL
Generated constant - Attribute key of
ProductCarouselComponent.scroll attribute defined at extension cms2lib. |
static String |
SEARCHQUERY
Generated constant - Attribute key of
ProductCarouselComponent.searchQuery attribute defined at extension acceleratorcms. |
static String |
TITLE
Generated constant - Attribute key of
ProductCarouselComponent.title attribute defined at extension acceleratorcms. |
_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 |
|---|
ProductCarouselComponentModel()
Generated constructor - Default constructor for generic creation.
|
ProductCarouselComponentModel(CatalogVersionModel _catalogVersion,
ItemModel _owner,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
ProductCarouselComponentModel(CatalogVersionModel _catalogVersion,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
ProductCarouselComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
List<CategoryModel> |
getCategories()
Generated method - Getter of the
ProductCarouselComponent.categories attribute defined at extension cms2lib. |
String |
getCategoryCode()
Generated method - Getter of the
ProductCarouselComponent.categoryCode attribute defined at extension acceleratorcms. |
List<String> |
getCategoryCodes()
Generated method - Getter of the
ProductCarouselComponent.categoryCodes attribute defined at extension cms2lib. |
List<String> |
getProductCodes()
Generated method - Getter of the
ProductCarouselComponent.productCodes attribute defined at extension cms2lib. |
List<ProductModel> |
getProducts()
Generated method - Getter of the
ProductCarouselComponent.products attribute defined at extension cms2lib. |
CarouselScroll |
getScroll()
Generated method - Getter of the
ProductCarouselComponent.scroll attribute defined at extension cms2lib. |
String |
getSearchQuery()
Generated method - Getter of the
ProductCarouselComponent.searchQuery attribute defined at extension acceleratorcms. |
String |
getTitle()
Generated method - Getter of the
ProductCarouselComponent.title attribute defined at extension acceleratorcms. |
String |
getTitle(Locale loc)
Generated method - Getter of the
ProductCarouselComponent.title attribute defined at extension acceleratorcms. |
boolean |
isPopup()
Generated method - Getter of the
ProductCarouselComponent.popup attribute defined at extension acceleratorcms. |
void |
setCategories(List<CategoryModel> value)
Generated method - Setter of
ProductCarouselComponent.categories attribute defined at extension cms2lib. |
void |
setCategoryCode(String value)
Generated method - Setter of
ProductCarouselComponent.categoryCode attribute defined at extension acceleratorcms. |
void |
setPopup(boolean value)
Generated method - Setter of
ProductCarouselComponent.popup attribute defined at extension acceleratorcms. |
void |
setProducts(List<ProductModel> value)
Generated method - Setter of
ProductCarouselComponent.products attribute defined at extension cms2lib. |
void |
setScroll(CarouselScroll value)
Generated method - Setter of
ProductCarouselComponent.scroll attribute defined at extension cms2lib. |
void |
setSearchQuery(String value)
Generated method - Setter of
ProductCarouselComponent.searchQuery attribute defined at extension acceleratorcms. |
void |
setTitle(String value)
Generated method - Setter of
ProductCarouselComponent.title attribute defined at extension acceleratorcms. |
void |
setTitle(String value,
Locale loc)
Generated method - Setter of
ProductCarouselComponent.title attribute defined at extension acceleratorcms. |
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 SCROLL
ProductCarouselComponent.scroll attribute defined at extension cms2lib.public static final String PRODUCTCODES
ProductCarouselComponent.productCodes attribute defined at extension cms2lib.public static final String CATEGORYCODES
ProductCarouselComponent.categoryCodes attribute defined at extension cms2lib.public static final String PRODUCTS
ProductCarouselComponent.products attribute defined at extension cms2lib.public static final String CATEGORIES
ProductCarouselComponent.categories attribute defined at extension cms2lib.public static final String TITLE
ProductCarouselComponent.title attribute defined at extension acceleratorcms.public static final String SEARCHQUERY
ProductCarouselComponent.searchQuery attribute defined at extension acceleratorcms.public static final String CATEGORYCODE
ProductCarouselComponent.categoryCode attribute defined at extension acceleratorcms.public static final String POPUP
ProductCarouselComponent.popup attribute defined at extension acceleratorcms.public ProductCarouselComponentModel()
public ProductCarouselComponentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public ProductCarouselComponentModel(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 ProductCarouselComponentModel(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="categories", type=GETTER) public List<CategoryModel> getCategories()
ProductCarouselComponent.categories attribute defined at extension cms2lib.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="categoryCode", type=GETTER) public String getCategoryCode()
ProductCarouselComponent.categoryCode attribute defined at extension acceleratorcms.@Accessor(qualifier="categoryCodes", type=GETTER) public List<String> getCategoryCodes()
ProductCarouselComponent.categoryCodes attribute defined at extension cms2lib.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="productCodes", type=GETTER) public List<String> getProductCodes()
ProductCarouselComponent.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()
ProductCarouselComponent.products attribute defined at extension cms2lib.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="scroll", type=GETTER) public CarouselScroll getScroll()
ProductCarouselComponent.scroll attribute defined at extension cms2lib.@Accessor(qualifier="searchQuery", type=GETTER) public String getSearchQuery()
ProductCarouselComponent.searchQuery attribute defined at extension acceleratorcms.@Accessor(qualifier="title", type=GETTER) public String getTitle()
ProductCarouselComponent.title attribute defined at extension acceleratorcms.@Accessor(qualifier="title", type=GETTER) public String getTitle(Locale loc)
ProductCarouselComponent.title attribute defined at extension acceleratorcms.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="popup", type=GETTER) public boolean isPopup()
ProductCarouselComponent.popup attribute defined at extension acceleratorcms.@Accessor(qualifier="categories", type=SETTER) public void setCategories(List<CategoryModel> value)
ProductCarouselComponent.categories attribute defined at extension cms2lib.value - the categories@Accessor(qualifier="categoryCode", type=SETTER) public void setCategoryCode(String value)
ProductCarouselComponent.categoryCode attribute defined at extension acceleratorcms.value - the categoryCode - A code for a category for a solr search@Accessor(qualifier="popup", type=SETTER) public void setPopup(boolean value)
ProductCarouselComponent.popup attribute defined at extension acceleratorcms.value - the popup - If true shows a popup else redirects to products page@Accessor(qualifier="products", type=SETTER) public void setProducts(List<ProductModel> value)
ProductCarouselComponent.products attribute defined at extension cms2lib.value - the products@Accessor(qualifier="scroll", type=SETTER) public void setScroll(CarouselScroll value)
ProductCarouselComponent.scroll attribute defined at extension cms2lib.value - the scroll@Accessor(qualifier="searchQuery", type=SETTER) public void setSearchQuery(String value)
ProductCarouselComponent.searchQuery attribute defined at extension acceleratorcms.value - the searchQuery - A solr query string@Accessor(qualifier="title", type=SETTER) public void setTitle(String value)
ProductCarouselComponent.title attribute defined at extension acceleratorcms.value - the title - Localized title of the component.@Accessor(qualifier="title", type=SETTER) public void setTitle(String value, Locale loc)
ProductCarouselComponent.title attribute defined at extension acceleratorcms.value - the title - Localized title of the component.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data languageCopyright © 2017 SAP SE. All Rights Reserved.