Interface ProductCatalogItemModelFinder

    • Method Detail

      • getProductsForCompositeKeys

        java.util.List<ProductModel> getProductsForCompositeKeys​(java.util.List<java.lang.String> compositeKeys)
        Gets a list of ProductModel matching the provided compositeKeys
        Parameters:
        compositeKeys - - the keys containing the product catalog, product version and product uid
        Returns:
        a list of products
      • getProductForCompositeKey

        ProductModel getProductForCompositeKey​(java.lang.String compositeKey)
        Gets a ProductModel matching the provided compositeKey
        Parameters:
        compositeKey - - the key containing the product catalog, product version and product uid
        Returns:
        a product model
        Throws:
        UnknownIdentifierException - when the product model matching the given key is not found
      • getCategoriesForCompositeKeys

        java.util.List<CategoryModel> getCategoriesForCompositeKeys​(java.util.List<java.lang.String> compositeKeys)
        Gets a list of CategoryModel matching the provided compositeKeys
        Parameters:
        compositeKeys - - the keys containing the product catalog, product version and catalog uid
        Returns:
        a list of categories
      • getCategoryForCompositeKey

        CategoryModel getCategoryForCompositeKey​(java.lang.String compositeKey)
        Gets a CategoryModel matching the provided compositeKey
        Parameters:
        compositeKey - - the key containing the product catalog, product version and catalog uid
        Returns:
        a category model
        Throws:
        UnknownIdentifierException - when the product model matching the given key is not found