Class ProductCarouselComponentModel

  • All Implemented Interfaces:
    java.io.Serializable

    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

        de.hybris.platform.servicelayer.model.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 of ProductCarouselComponent.categories attribute defined at extension cms2lib.
      static java.lang.String CATEGORYCODE
      Generated constant - Attribute key of ProductCarouselComponent.categoryCode attribute defined at extension acceleratorcms.
      static java.lang.String CATEGORYCODES
      Generated constant - Attribute key of ProductCarouselComponent.categoryCodes attribute defined at extension cms2lib.
      static java.lang.String POPUP
      Generated constant - Attribute key of ProductCarouselComponent.popup attribute defined at extension acceleratorcms.
      static java.lang.String PRODUCTCODES
      Generated constant - Attribute key of ProductCarouselComponent.productCodes attribute defined at extension cms2lib.
      static java.lang.String PRODUCTS
      Generated constant - Attribute key of ProductCarouselComponent.products attribute defined at extension cms2lib.
      static java.lang.String SCROLL
      Generated constant - Attribute key of ProductCarouselComponent.scroll attribute defined at extension cms2lib.
      static java.lang.String SEARCHQUERY
      Generated constant - Attribute key of ProductCarouselComponent.searchQuery attribute defined at extension acceleratorcms.
      static java.lang.String TITLE
      Generated constant - Attribute key of ProductCarouselComponent.title attribute defined at extension acceleratorcms.
      • 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 parameters
      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 parameters
      ProductCarouselComponentModel​(de.hybris.platform.servicelayer.model.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 the ProductCarouselComponent.categories attribute defined at extension cms2lib.
      java.lang.String getCategoryCode()
      Generated method - Getter of the ProductCarouselComponent.categoryCode attribute defined at extension acceleratorcms.
      java.util.List<java.lang.String> getCategoryCodes()
      Generated method - Getter of the ProductCarouselComponent.categoryCodes attribute defined at extension cms2lib.
      java.util.List<java.lang.String> getProductCodes()
      Generated method - Getter of the ProductCarouselComponent.productCodes attribute defined at extension cms2lib.
      java.util.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.
      java.lang.String getSearchQuery()
      Generated method - Getter of the ProductCarouselComponent.searchQuery attribute defined at extension acceleratorcms.
      java.lang.String getTitle()
      Generated method - Getter of the ProductCarouselComponent.title attribute defined at extension acceleratorcms.
      java.lang.String getTitle​(java.util.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​(java.util.List<CategoryModel> value)
      Generated method - Setter of ProductCarouselComponent.categories attribute defined at extension cms2lib.
      void setCategoryCode​(java.lang.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​(java.util.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​(java.lang.String value)
      Generated method - Setter of ProductCarouselComponent.searchQuery attribute defined at extension acceleratorcms.
      void setTitle​(java.lang.String value)
      Generated method - Setter of ProductCarouselComponent.title attribute defined at extension acceleratorcms.
      void setTitle​(java.lang.String value, java.util.Locale loc)
      Generated method - Setter of ProductCarouselComponent.title attribute defined at extension acceleratorcms.
      • 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
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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 of ProductCarouselComponent.scroll attribute defined at extension cms2lib.
        See Also:
        Constant Field Values
      • PRODUCTCODES

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

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

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

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

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

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

        public static final java.lang.String CATEGORYCODE
        Generated constant - Attribute key of ProductCarouselComponent.categoryCode attribute defined at extension acceleratorcms.
        See Also:
        Constant Field Values
      • POPUP

        public static final java.lang.String POPUP
        Generated constant - Attribute key of ProductCarouselComponent.popup attribute defined at extension acceleratorcms.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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,
                                             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 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,
                                             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 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 Detail

      • getCategories

        @Accessor(qualifier="categories",
                  type=GETTER)
        public java.util.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 java.lang.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 java.util.List<java.lang.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 java.util.List<java.lang.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 java.util.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 java.lang.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 java.lang.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 java.lang.String getTitle​(java.util.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:
        java.lang.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​(java.util.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​(java.lang.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​(java.util.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​(java.lang.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​(java.lang.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​(java.lang.String value,
                             java.util.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:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language