Class ProductSynchronizerImpl
java.lang.Object
org.openwms.wms.receiving.inventory.impl.ProductSynchronizerImpl
- All Implemented Interfaces:
ProductSynchronizer
A ProductSynchronizerImpl.
- Author:
- Heiko Scherrer
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
repository
-
-
Constructor Details
-
ProductSynchronizerImpl
ProductSynchronizerImpl(ProductRepository repository)
-
-
Method Details
-
create
Create a newProduct
instance.- Specified by:
create
in interfaceProductSynchronizer
- Parameters:
product
- The instance to create
-
update
Update an existingProduct
instance- Specified by:
update
in interfaceProductSynchronizer
- Parameters:
product
- The instance to update- Returns:
- The updated instance
-
delete
Delete an existingProduct
.- Specified by:
delete
in interfaceProductSynchronizer
- Parameters:
pKey
- The persistent key of the instance to delete
-