Class DefaultProductCatalogItemModelFinder

    • Constructor Detail

      • DefaultProductCatalogItemModelFinder

        public DefaultProductCatalogItemModelFinder()
    • Method Detail

      • getProductsForCompositeKeys

        public java.util.List<ProductModel> getProductsForCompositeKeys​(java.util.List<java.lang.String> compositeKeys)
        Gets a list of ProductModel matching the provided compositeKeys by disabling search restrictions.
        Specified by:
        getProductsForCompositeKeys in interface ProductCatalogItemModelFinder
        Parameters:
        compositeKeys - - the keys containing the product catalog, product version and product uid
        Returns:
        a list of products
      • getCategoriesForCompositeKeys

        public java.util.List<CategoryModel> getCategoriesForCompositeKeys​(java.util.List<java.lang.String> compositeKeys)
        Gets a list of CategoryModel matching the provided compositeKeys by disabling search restrictions.
        Specified by:
        getCategoriesForCompositeKeys in interface ProductCatalogItemModelFinder
        Parameters:
        compositeKeys - - the keys containing the product catalog, product version and catalog uid
        Returns:
        a list of categories
      • getItemModel

        protected <T> T getItemModel​(java.lang.String itemId,
                                     java.lang.Class<T> clazz)
      • setSearchRestrictionService

        public void setSearchRestrictionService​(SearchRestrictionService searchRestrictionService)
      • setSessionService

        public void setSessionService​(SessionService sessionService)
      • setUniqueItemIdentifierService

        public void setUniqueItemIdentifierService​(UniqueItemIdentifierService uniqueItemIdentifierService)