Class ProductCarouselComponentModel

All Implemented Interfaces:
Serializable

public class ProductCarouselComponentModel extends SimpleCMSComponentModel
Generated model class for type ProductCarouselComponent first defined at extension cms2lib.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • SCROLL

      public static final String SCROLL
      Generated constant - Attribute key of ProductCarouselComponent.scroll attribute defined at extension cms2lib.
      See Also:
    • PRODUCTCODES

      public static final String PRODUCTCODES
      Generated constant - Attribute key of ProductCarouselComponent.productCodes attribute defined at extension cms2lib.
      See Also:
    • CATEGORYCODES

      public static final String CATEGORYCODES
      Generated constant - Attribute key of ProductCarouselComponent.categoryCodes attribute defined at extension cms2lib.
      See Also:
    • PRODUCTS

      public static final String PRODUCTS
      Generated constant - Attribute key of ProductCarouselComponent.products attribute defined at extension cms2lib.
      See Also:
    • CATEGORIES

      public static final String CATEGORIES
      Generated constant - Attribute key of ProductCarouselComponent.categories attribute defined at extension cms2lib.
      See Also:
    • TITLE

      public static final String TITLE
      Generated constant - Attribute key of ProductCarouselComponent.title attribute defined at extension acceleratorcms.
      See Also:
    • SEARCHQUERY

      public static final String SEARCHQUERY
      Generated constant - Attribute key of ProductCarouselComponent.searchQuery attribute defined at extension acceleratorcms.
      See Also:
    • CATEGORYCODE

      public static final String CATEGORYCODE
      Generated constant - Attribute key of ProductCarouselComponent.categoryCode attribute defined at extension acceleratorcms.
      See Also:
  • Constructor Details

    • ProductCarouselComponentModel

      public ProductCarouselComponentModel()
      Generated constructor - Default constructor for generic creation.
    • ProductCarouselComponentModel

      public ProductCarouselComponentModel(de.hybris.platform.servicelayer.model.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, 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 parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _catalogVersion - initial attribute declared by type CMSItem at extension cms2
      _uid - initial attribute declared by type CMSItem at extension cms2
    • ProductCarouselComponentModel

      @Deprecated(since="4.1.1", forRemoval=true) public ProductCarouselComponentModel(CatalogVersionModel _catalogVersion, ItemModel _owner, 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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _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
  • Method Details

    • getCategories

      @Accessor(qualifier="categories", type=GETTER) public List<CategoryModel> getCategories()
      Generated method - Getter of the ProductCarouselComponent.categories attribute defined at extension cms2lib. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the categories
    • getCategoryCode

      @Accessor(qualifier="categoryCode", type=GETTER) public String getCategoryCode()
      Generated method - Getter of the ProductCarouselComponent.categoryCode attribute defined at extension acceleratorcms.
      Returns:
      the categoryCode - A code for a category for a solr search
    • getCategoryCodes

      @Accessor(qualifier="categoryCodes", type=GETTER) public List<String> getCategoryCodes()
      Generated method - Getter of the ProductCarouselComponent.categoryCodes attribute defined at extension cms2lib. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the categoryCodes
    • getProductCodes

      @Accessor(qualifier="productCodes", type=GETTER) public List<String> getProductCodes()
      Generated method - Getter of the ProductCarouselComponent.productCodes attribute defined at extension cms2lib. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the productCodes
    • getProducts

      @Accessor(qualifier="products", type=GETTER) public List<ProductModel> getProducts()
      Generated method - Getter of the ProductCarouselComponent.products attribute defined at extension cms2lib. 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 the ProductCarouselComponent.scroll attribute defined at extension cms2lib.
      Returns:
      the scroll
    • getSearchQuery

      @Accessor(qualifier="searchQuery", type=GETTER) public String getSearchQuery()
      Generated method - Getter of the ProductCarouselComponent.searchQuery attribute defined at extension acceleratorcms.
      Returns:
      the searchQuery - A solr query string
    • getTitle

      @Accessor(qualifier="title", type=GETTER) public String getTitle()
      Generated method - Getter of the ProductCarouselComponent.title attribute defined at extension acceleratorcms.
      Returns:
      the title - Localized title of the component.
    • getTitle

      @Accessor(qualifier="title", type=GETTER) public String getTitle(Locale loc)
      Generated method - Getter of the ProductCarouselComponent.title attribute defined at extension acceleratorcms.
      Parameters:
      loc - the value localization key
      Returns:
      the title - Localized title of the component.
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • isPopup

      @Accessor(qualifier="popup", type=GETTER) public boolean isPopup()
      Generated method - Getter of the ProductCarouselComponent.popup attribute defined at extension acceleratorcms.
      Returns:
      the popup - If true shows a popup else redirects to products page
    • setCategories

      @Accessor(qualifier="categories", type=SETTER) public void setCategories(List<CategoryModel> value)
      Generated method - Setter of ProductCarouselComponent.categories attribute defined at extension cms2lib.
      Parameters:
      value - the categories
    • setCategoryCode

      @Accessor(qualifier="categoryCode", type=SETTER) public void setCategoryCode(String value)
      Generated method - Setter of ProductCarouselComponent.categoryCode attribute defined at extension acceleratorcms.
      Parameters:
      value - the categoryCode - A code for a category for a solr search
    • setPopup

      @Accessor(qualifier="popup", type=SETTER) public void setPopup(boolean value)
      Generated method - Setter of ProductCarouselComponent.popup attribute defined at extension acceleratorcms.
      Parameters:
      value - the popup - If true shows a popup else redirects to products page
    • setProducts

      @Accessor(qualifier="products", type=SETTER) public void setProducts(List<ProductModel> value)
      Generated method - Setter of ProductCarouselComponent.products attribute defined at extension cms2lib.
      Parameters:
      value - the products
    • setScroll

      @Accessor(qualifier="scroll", type=SETTER) public void setScroll(CarouselScroll value)
      Generated method - Setter of ProductCarouselComponent.scroll attribute defined at extension cms2lib.
      Parameters:
      value - the scroll
    • setSearchQuery

      @Accessor(qualifier="searchQuery", type=SETTER) public void setSearchQuery(String value)
      Generated method - Setter of ProductCarouselComponent.searchQuery attribute defined at extension acceleratorcms.
      Parameters:
      value - the searchQuery - A solr query string
    • setTitle

      @Accessor(qualifier="title", type=SETTER) public void setTitle(String value)
      Generated method - Setter of ProductCarouselComponent.title attribute defined at extension acceleratorcms.
      Parameters:
      value - the title - Localized title of the component.
    • setTitle

      @Accessor(qualifier="title", type=SETTER) public void setTitle(String value, Locale loc)
      Generated method - Setter of ProductCarouselComponent.title attribute defined at extension acceleratorcms.
      Parameters:
      value - the title - Localized title of the component.
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language