Class NoOpSyncProductApiImpl

java.lang.Object
org.openwms.wms.shipping.spi.wms.inventory.NoOpSyncProductApiImpl
All Implemented Interfaces:
SyncProductApi

@Profile("!DISTRIBUTED") @Validated @Component class NoOpSyncProductApiImpl extends Object implements SyncProductApi
A NoOpSyncProductApiImpl.
Author:
Heiko Scherrer
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
  • Constructor Details

    • NoOpSyncProductApiImpl

      NoOpSyncProductApiImpl()
  • Method Details

    • findBySKU

      @Measured public ProductVO findBySKU(@NotBlank @NotBlank String sku)
      Find and return a Product identified by its SKU. No operation here!
      Specified by:
      findBySKU in interface SyncProductApi
      Parameters:
      sku - The identifying SKU attribute
      Returns:
      The instance or null
    • findProductByProductUnitPkey

      @Measured public ProductVO findProductByProductUnitPkey(@NotBlank @NotBlank String pKey)
      Gets Product based on ProductUnit pKey No operation here!
      Specified by:
      findProductByProductUnitPkey in interface SyncProductApi
      Parameters:
      pKey - The pKey of the productUnit
      Returns:
      The instance or null