Class ReceivingOrderDetailsUpdater
java.lang.Object
org.openwms.wms.receiving.impl.updaters.ReceivingOrderDetailsUpdater
- All Implemented Interfaces:
ReceivingOrderUpdater
,org.springframework.plugin.core.Plugin<ReceivingOrderUpdater.Type>
@Validated
@TxService
class ReceivingOrderDetailsUpdater
extends Object
implements ReceivingOrderUpdater
A ReceivingOrderDetailsUpdater is a
ReceivingOrderUpdater
strategy.- Author:
- Heiko Scherrer
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openwms.wms.receiving.impl.ReceivingOrderUpdater
ReceivingOrderUpdater.Type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
supports
(ReceivingOrderUpdater.Type delimiter) @NotNull ReceivingOrder
update
(@NotNull ReceivingOrder existingReceivingOrder, @Valid @NotNull ReceivingOrder receivingOrder) Update parts of aReceivingOrder
instance.
-
Constructor Details
-
ReceivingOrderDetailsUpdater
ReceivingOrderDetailsUpdater()
-
-
Method Details
-
update
@Transactional(propagation=MANDATORY) @Measured @NotNull public @NotNull ReceivingOrder update(@NotNull @NotNull ReceivingOrder existingReceivingOrder, @Valid @NotNull @Valid @NotNull ReceivingOrder receivingOrder) Update parts of aReceivingOrder
instance.- Specified by:
update
in interfaceReceivingOrderUpdater
- Parameters:
existingReceivingOrder
- The existing unmodified instancereceivingOrder
- The instance with modified values to update- Returns:
- The updated (not saved) instance
-
supports
- Specified by:
supports
in interfaceorg.springframework.plugin.core.Plugin<ReceivingOrderUpdater.Type>
-