Interface ProductSynchronizer

All Known Implementing Classes:
ProductSynchronizerImpl

public interface ProductSynchronizer
A ProductSynchronizer offers methods to synchronize the internal state of a Product with an external source.
Author:
Heiko Scherrer
  • Method Details

    • create

      void create(@NotNull @NotNull Product product)
      Create a new Product instance.
      Parameters:
      product - The instance to create
    • update

      Product update(@NotNull @NotNull Product product)
      Update an existing Product instance
      Parameters:
      product - The instance to update
      Returns:
      The updated instance
    • delete

      void delete(@NotBlank @NotBlank String pKey)
      Delete an existing Product.
      Parameters:
      pKey - The persistent key of the instance to delete