Interface ProductService

  • All Known Implementing Classes:
    ProductServiceImpl

    public interface ProductService
    A ProductService.
    Author:
    Heiko Scherrer
    • Method Detail

      • findBySku

        Optional<Product> findBySku​(@NotEmpty
                                    @NotEmpty String sku)
        Find and return a Product.
        Parameters:
        sku - The identifying SKU
        Returns:
        The instance
      • create

        void create​(@NotNull
                    @NotNull Product product)
      • delete

        void delete​(@NotEmpty
                    @NotEmpty String pKey)