Class ProductCarouselComponentModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.cms2.model.contents.CMSItemModel
-
- de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel
-
- de.hybris.platform.cms2.model.contents.components.SimpleCMSComponentModel
-
- de.hybris.platform.cms2lib.model.components.ProductCarouselComponentModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
SapProductCarouselComponentModel
public class ProductCarouselComponentModel extends SimpleCMSComponentModel
Generated model class for type ProductCarouselComponent first defined at extension cms2lib.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
CATEGORIES
Generated constant - Attribute key ofProductCarouselComponent.categories
attribute defined at extensioncms2lib
.static java.lang.String
CATEGORYCODE
Generated constant - Attribute key ofProductCarouselComponent.categoryCode
attribute defined at extensionacceleratorcms
.static java.lang.String
CATEGORYCODES
Generated constant - Attribute key ofProductCarouselComponent.categoryCodes
attribute defined at extensioncms2lib
.static java.lang.String
MEDIA
Generated constant - Attribute key ofProductCarouselComponent.media
attribute defined at extensionmarketplaceservices
.static java.lang.String
POPUP
Generated constant - Attribute key ofProductCarouselComponent.popup
attribute defined at extensionacceleratorcms
.static java.lang.String
PRODUCTCODES
Generated constant - Attribute key ofProductCarouselComponent.productCodes
attribute defined at extensioncms2lib
.static java.lang.String
PRODUCTS
Generated constant - Attribute key ofProductCarouselComponent.products
attribute defined at extensioncms2lib
.static java.lang.String
SCROLL
Generated constant - Attribute key ofProductCarouselComponent.scroll
attribute defined at extensioncms2lib
.static java.lang.String
SEARCHQUERY
Generated constant - Attribute key ofProductCarouselComponent.searchQuery
attribute defined at extensionacceleratorcms
.static java.lang.String
TITLE
Generated constant - Attribute key ofProductCarouselComponent.title
attribute defined at extensionacceleratorcms
.static java.lang.String
URL
Generated constant - Attribute key ofProductCarouselComponent.url
attribute defined at extensionmarketplaceservices
.static java.lang.String
VENDORCAROUSELCODE
Generated constant - Attribute key ofProductCarouselComponent.vendorCarouselCode
attribute defined at extensionmarketplaceservices
.-
Fields inherited from class de.hybris.platform.cms2.model.contents.components.SimpleCMSComponentModel
_ELEMENTSFORCONTAINER, CONTAINERS
-
Fields inherited from class de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel
_ELEMENTSFORSLOT, ACTIONS, CONTAINER, ONLYONERESTRICTIONMUSTAPPLY, RESTRICTED, RESTRICTIONS, SLOTS, TYPE, TYPECODE, VISIBLE
-
Fields inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
CATALOGVERSION, NAME, UID
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description ProductCarouselComponentModel()
Generated constructor - Default constructor for generic creation.ProductCarouselComponentModel(CatalogVersionModel _catalogVersion, ItemModel _owner, java.lang.String _uid)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersProductCarouselComponentModel(CatalogVersionModel _catalogVersion, java.lang.String _uid)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersProductCarouselComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CategoryModel>
getCategories()
Generated method - Getter of theProductCarouselComponent.categories
attribute defined at extensioncms2lib
.java.lang.String
getCategoryCode()
Generated method - Getter of theProductCarouselComponent.categoryCode
attribute defined at extensionacceleratorcms
.java.util.List<java.lang.String>
getCategoryCodes()
Generated method - Getter of theProductCarouselComponent.categoryCodes
attribute defined at extensioncms2lib
.MediaModel
getMedia()
Generated method - Getter of theProductCarouselComponent.media
attribute defined at extensionmarketplaceservices
.MediaModel
getMedia(java.util.Locale loc)
Generated method - Getter of theProductCarouselComponent.media
attribute defined at extensionmarketplaceservices
.java.util.List<java.lang.String>
getProductCodes()
Generated method - Getter of theProductCarouselComponent.productCodes
attribute defined at extensioncms2lib
.java.util.List<ProductModel>
getProducts()
Generated method - Getter of theProductCarouselComponent.products
attribute defined at extensioncms2lib
.CarouselScroll
getScroll()
Generated method - Getter of theProductCarouselComponent.scroll
attribute defined at extensioncms2lib
.java.lang.String
getSearchQuery()
Generated method - Getter of theProductCarouselComponent.searchQuery
attribute defined at extensionacceleratorcms
.java.lang.String
getTitle()
Generated method - Getter of theProductCarouselComponent.title
attribute defined at extensionacceleratorcms
.java.lang.String
getTitle(java.util.Locale loc)
Generated method - Getter of theProductCarouselComponent.title
attribute defined at extensionacceleratorcms
.java.lang.String
getUrl()
Generated method - Getter of theProductCarouselComponent.url
attribute defined at extensionmarketplaceservices
.java.lang.String
getVendorCarouselCode()
Generated method - Getter of theProductCarouselComponent.vendorCarouselCode
attribute defined at extensionmarketplaceservices
.boolean
isPopup()
Generated method - Getter of theProductCarouselComponent.popup
attribute defined at extensionacceleratorcms
.void
setCategories(java.util.List<CategoryModel> value)
Generated method - Setter ofProductCarouselComponent.categories
attribute defined at extensioncms2lib
.void
setCategoryCode(java.lang.String value)
Generated method - Setter ofProductCarouselComponent.categoryCode
attribute defined at extensionacceleratorcms
.void
setMedia(MediaModel value)
Generated method - Setter ofProductCarouselComponent.media
attribute defined at extensionmarketplaceservices
.void
setMedia(MediaModel value, java.util.Locale loc)
Generated method - Setter ofProductCarouselComponent.media
attribute defined at extensionmarketplaceservices
.void
setPopup(boolean value)
Generated method - Setter ofProductCarouselComponent.popup
attribute defined at extensionacceleratorcms
.void
setProducts(java.util.List<ProductModel> value)
Generated method - Setter ofProductCarouselComponent.products
attribute defined at extensioncms2lib
.void
setScroll(CarouselScroll value)
Generated method - Setter ofProductCarouselComponent.scroll
attribute defined at extensioncms2lib
.void
setSearchQuery(java.lang.String value)
Generated method - Setter ofProductCarouselComponent.searchQuery
attribute defined at extensionacceleratorcms
.void
setTitle(java.lang.String value)
Generated method - Setter ofProductCarouselComponent.title
attribute defined at extensionacceleratorcms
.void
setTitle(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofProductCarouselComponent.title
attribute defined at extensionacceleratorcms
.void
setUrl(java.lang.String value)
Generated method - Setter ofProductCarouselComponent.url
attribute defined at extensionmarketplaceservices
.void
setVendorCarouselCode(java.lang.String value)
Generated method - Setter ofProductCarouselComponent.vendorCarouselCode
attribute defined at extensionmarketplaceservices
.-
Methods inherited from class de.hybris.platform.cms2.model.contents.components.SimpleCMSComponentModel
getContainers, setContainers
-
Methods inherited from class de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel
getActions, getRestrictions, getSlots, getType, getType, getTypeCode, getVisible, isContainer, isOnlyOneRestrictionMustApply, isRestricted, setActions, setOnlyOneRestrictionMustApply, setRestrictions, setSlots, setVisible
-
Methods inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
getCatalogVersion, getName, getUid, setCatalogVersion, setName, setUid
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, 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, writeReplace
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
SCROLL
public static final java.lang.String SCROLL
Generated constant - Attribute key ofProductCarouselComponent.scroll
attribute defined at extensioncms2lib
.- See Also:
- Constant Field Values
-
PRODUCTCODES
public static final java.lang.String PRODUCTCODES
Generated constant - Attribute key ofProductCarouselComponent.productCodes
attribute defined at extensioncms2lib
.- See Also:
- Constant Field Values
-
CATEGORYCODES
public static final java.lang.String CATEGORYCODES
Generated constant - Attribute key ofProductCarouselComponent.categoryCodes
attribute defined at extensioncms2lib
.- See Also:
- Constant Field Values
-
PRODUCTS
public static final java.lang.String PRODUCTS
Generated constant - Attribute key ofProductCarouselComponent.products
attribute defined at extensioncms2lib
.- See Also:
- Constant Field Values
-
CATEGORIES
public static final java.lang.String CATEGORIES
Generated constant - Attribute key ofProductCarouselComponent.categories
attribute defined at extensioncms2lib
.- See Also:
- Constant Field Values
-
TITLE
public static final java.lang.String TITLE
Generated constant - Attribute key ofProductCarouselComponent.title
attribute defined at extensionacceleratorcms
.- See Also:
- Constant Field Values
-
SEARCHQUERY
public static final java.lang.String SEARCHQUERY
Generated constant - Attribute key ofProductCarouselComponent.searchQuery
attribute defined at extensionacceleratorcms
.- See Also:
- Constant Field Values
-
CATEGORYCODE
public static final java.lang.String CATEGORYCODE
Generated constant - Attribute key ofProductCarouselComponent.categoryCode
attribute defined at extensionacceleratorcms
.- See Also:
- Constant Field Values
-
POPUP
public static final java.lang.String POPUP
Generated constant - Attribute key ofProductCarouselComponent.popup
attribute defined at extensionacceleratorcms
.- See Also:
- Constant Field Values
-
MEDIA
public static final java.lang.String MEDIA
Generated constant - Attribute key ofProductCarouselComponent.media
attribute defined at extensionmarketplaceservices
.- See Also:
- Constant Field Values
-
URL
public static final java.lang.String URL
Generated constant - Attribute key ofProductCarouselComponent.url
attribute defined at extensionmarketplaceservices
.- See Also:
- Constant Field Values
-
VENDORCAROUSELCODE
public static final java.lang.String VENDORCAROUSELCODE
Generated constant - Attribute key ofProductCarouselComponent.vendorCarouselCode
attribute defined at extensionmarketplaceservices
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProductCarouselComponentModel
public ProductCarouselComponentModel()
Generated constructor - Default constructor for generic creation.
-
ProductCarouselComponentModel
public ProductCarouselComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
ProductCarouselComponentModel
@Deprecated(since="4.1.1", forRemoval=true) public ProductCarouselComponentModel(CatalogVersionModel _catalogVersion, java.lang.String _uid)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_catalogVersion
- initial attribute declared by typeCMSItem
at extensioncms2
_uid
- initial attribute declared by typeCMSItem
at extensioncms2
-
ProductCarouselComponentModel
@Deprecated(since="4.1.1", forRemoval=true) public ProductCarouselComponentModel(CatalogVersionModel _catalogVersion, ItemModel _owner, java.lang.String _uid)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogVersion
- initial attribute declared by typeCMSItem
at extensioncms2
_owner
- initial attribute declared by typeItem
at extensioncore
_uid
- initial attribute declared by typeCMSItem
at extensioncms2
-
-
Method Detail
-
getCategories
@Accessor(qualifier="categories", type=GETTER) public java.util.List<CategoryModel> getCategories()
Generated method - Getter of theProductCarouselComponent.categories
attribute defined at extensioncms2lib
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the categories
-
getCategoryCode
@Accessor(qualifier="categoryCode", type=GETTER) public java.lang.String getCategoryCode()
Generated method - Getter of theProductCarouselComponent.categoryCode
attribute defined at extensionacceleratorcms
.- Returns:
- the categoryCode - A code for a category for a solr search
-
getCategoryCodes
@Accessor(qualifier="categoryCodes", type=GETTER) public java.util.List<java.lang.String> getCategoryCodes()
Generated method - Getter of theProductCarouselComponent.categoryCodes
attribute defined at extensioncms2lib
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the categoryCodes
-
getMedia
@Accessor(qualifier="media", type=GETTER) public MediaModel getMedia()
Generated method - Getter of theProductCarouselComponent.media
attribute defined at extensionmarketplaceservices
.- Returns:
- the media - Localized media that is displayed in the component.
-
getMedia
@Accessor(qualifier="media", type=GETTER) public MediaModel getMedia(java.util.Locale loc)
Generated method - Getter of theProductCarouselComponent.media
attribute defined at extensionmarketplaceservices
.- Parameters:
loc
- the value localization key- Returns:
- the media - Localized media that is displayed in the component.
- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
getProductCodes
@Accessor(qualifier="productCodes", type=GETTER) public java.util.List<java.lang.String> getProductCodes()
Generated method - Getter of theProductCarouselComponent.productCodes
attribute defined at extensioncms2lib
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the productCodes
-
getProducts
@Accessor(qualifier="products", type=GETTER) public java.util.List<ProductModel> getProducts()
Generated method - Getter of theProductCarouselComponent.products
attribute defined at extensioncms2lib
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the products
-
getScroll
@Accessor(qualifier="scroll", type=GETTER) public CarouselScroll getScroll()
Generated method - Getter of theProductCarouselComponent.scroll
attribute defined at extensioncms2lib
.- Returns:
- the scroll
-
getSearchQuery
@Accessor(qualifier="searchQuery", type=GETTER) public java.lang.String getSearchQuery()
Generated method - Getter of theProductCarouselComponent.searchQuery
attribute defined at extensionacceleratorcms
.- Returns:
- the searchQuery - A solr query string
-
getTitle
@Accessor(qualifier="title", type=GETTER) public java.lang.String getTitle()
Generated method - Getter of theProductCarouselComponent.title
attribute defined at extensionacceleratorcms
.- Returns:
- the title - Localized title of the component.
-
getTitle
@Accessor(qualifier="title", type=GETTER) public java.lang.String getTitle(java.util.Locale loc)
Generated method - Getter of theProductCarouselComponent.title
attribute defined at extensionacceleratorcms
.- Parameters:
loc
- the value localization key- Returns:
- the title - Localized title of the component.
- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
getUrl
@Accessor(qualifier="url", type=GETTER) public java.lang.String getUrl()
Generated method - Getter of theProductCarouselComponent.url
attribute defined at extensionmarketplaceservices
.- Returns:
- the url
-
getVendorCarouselCode
@Accessor(qualifier="vendorCarouselCode", type=GETTER) public java.lang.String getVendorCarouselCode()
Generated method - Getter of theProductCarouselComponent.vendorCarouselCode
attribute defined at extensionmarketplaceservices
.- Returns:
- the vendorCarouselCode
-
isPopup
@Accessor(qualifier="popup", type=GETTER) public boolean isPopup()
Generated method - Getter of theProductCarouselComponent.popup
attribute defined at extensionacceleratorcms
.- Returns:
- the popup - If true shows a popup else redirects to products page
-
setCategories
@Accessor(qualifier="categories", type=SETTER) public void setCategories(java.util.List<CategoryModel> value)
Generated method - Setter ofProductCarouselComponent.categories
attribute defined at extensioncms2lib
.- Parameters:
value
- the categories
-
setCategoryCode
@Accessor(qualifier="categoryCode", type=SETTER) public void setCategoryCode(java.lang.String value)
Generated method - Setter ofProductCarouselComponent.categoryCode
attribute defined at extensionacceleratorcms
.- Parameters:
value
- the categoryCode - A code for a category for a solr search
-
setMedia
@Accessor(qualifier="media", type=SETTER) public void setMedia(MediaModel value)
Generated method - Setter ofProductCarouselComponent.media
attribute defined at extensionmarketplaceservices
.- Parameters:
value
- the media - Localized media that is displayed in the component.
-
setMedia
@Accessor(qualifier="media", type=SETTER) public void setMedia(MediaModel value, java.util.Locale loc)
Generated method - Setter ofProductCarouselComponent.media
attribute defined at extensionmarketplaceservices
.- Parameters:
value
- the media - Localized media that is displayed in the component.loc
- the value localization key- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
setPopup
@Accessor(qualifier="popup", type=SETTER) public void setPopup(boolean value)
Generated method - Setter ofProductCarouselComponent.popup
attribute defined at extensionacceleratorcms
.- Parameters:
value
- the popup - If true shows a popup else redirects to products page
-
setProducts
@Accessor(qualifier="products", type=SETTER) public void setProducts(java.util.List<ProductModel> value)
Generated method - Setter ofProductCarouselComponent.products
attribute defined at extensioncms2lib
.- Parameters:
value
- the products
-
setScroll
@Accessor(qualifier="scroll", type=SETTER) public void setScroll(CarouselScroll value)
Generated method - Setter ofProductCarouselComponent.scroll
attribute defined at extensioncms2lib
.- Parameters:
value
- the scroll
-
setSearchQuery
@Accessor(qualifier="searchQuery", type=SETTER) public void setSearchQuery(java.lang.String value)
Generated method - Setter ofProductCarouselComponent.searchQuery
attribute defined at extensionacceleratorcms
.- Parameters:
value
- the searchQuery - A solr query string
-
setTitle
@Accessor(qualifier="title", type=SETTER) public void setTitle(java.lang.String value)
Generated method - Setter ofProductCarouselComponent.title
attribute defined at extensionacceleratorcms
.- Parameters:
value
- the title - Localized title of the component.
-
setTitle
@Accessor(qualifier="title", type=SETTER) public void setTitle(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofProductCarouselComponent.title
attribute defined at extensionacceleratorcms
.- Parameters:
value
- the title - Localized title of the component.loc
- the value localization key- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
setUrl
@Accessor(qualifier="url", type=SETTER) public void setUrl(java.lang.String value)
Generated method - Setter ofProductCarouselComponent.url
attribute defined at extensionmarketplaceservices
.- Parameters:
value
- the url
-
setVendorCarouselCode
@Accessor(qualifier="vendorCarouselCode", type=SETTER) public void setVendorCarouselCode(java.lang.String value)
Generated method - Setter ofProductCarouselComponent.vendorCarouselCode
attribute defined at extensionmarketplaceservices
.- Parameters:
value
- the vendorCarouselCode
-
-