Package org.openwms.wms.receiving.impl
Class TUCaptureRequestCapturer
java.lang.Object
org.openwms.wms.receiving.impl.AbstractCapturer<TUCaptureRequestVO>
org.openwms.wms.receiving.impl.TUCaptureRequestCapturer
- All Implemented Interfaces:
ReceivingOrderCapturer<TUCaptureRequestVO>
,org.springframework.plugin.core.Plugin<CaptureRequestVO>
@TxService
class TUCaptureRequestCapturer
extends AbstractCapturer<TUCaptureRequestVO>
implements ReceivingOrderCapturer<TUCaptureRequestVO>
A TUCaptureRequestCapturer.
- Author:
- Heiko Scherrer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final SyncLocationApi
private static final org.slf4j.Logger
private final SyncTransportUnitApi
Fields inherited from class org.openwms.wms.receiving.impl.AbstractCapturer
capturingApprovals, productService, publisher, repository, translator, validator
-
Constructor Summary
ConstructorDescriptionTUCaptureRequestCapturer
(org.springframework.context.ApplicationEventPublisher publisher, org.ameba.i18n.Translator translator, jakarta.validation.Validator validator, ReceivingOrderRepository repository, List<CapturingApproval<TUCaptureRequestVO>> capturingApprovals, ProductService productService, SyncTransportUnitApi transportUnitApi, SyncLocationApi locationApi) -
Method Summary
Modifier and TypeMethodDescriptioncapture
(String pKey, @NotNull TUCaptureRequestVO request) Capture received goods to a suitableReceivingOrderPosition
.private Optional
<ReceivingOrder> handleExpectedReceipt
(String pKey, TUCaptureRequestVO request) boolean
supports
(CaptureRequestVO request) Methods inherited from class org.openwms.wms.receiving.impl.AbstractCapturer
getOrder, getProduct
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
transportUnitApi
-
locationApi
-
-
Constructor Details
-
TUCaptureRequestCapturer
TUCaptureRequestCapturer(org.springframework.context.ApplicationEventPublisher publisher, org.ameba.i18n.Translator translator, jakarta.validation.Validator validator, ReceivingOrderRepository repository, @Autowired(required=false) List<CapturingApproval<TUCaptureRequestVO>> capturingApprovals, ProductService productService, SyncTransportUnitApi transportUnitApi, SyncLocationApi locationApi)
-
-
Method Details
-
capture
@Measured public Optional<ReceivingOrder> capture(String pKey, @NotNull @NotNull TUCaptureRequestVO request) Capture received goods to a suitableReceivingOrderPosition
.- Specified by:
capture
in interfaceReceivingOrderCapturer<TUCaptureRequestVO>
- Parameters:
pKey
- The persistent identifier of the ReceivingOrder if present it is a capturing of an Expected Receipt otherwise it is a Blind Receipt.request
- Particular capturing detail information used to perform the capturing process- Returns:
- The identified and updated ReceivingOrder instance, in case of Expected Receipts
-
handleExpectedReceipt
-
supports
- Specified by:
supports
in interfaceorg.springframework.plugin.core.Plugin<CaptureRequestVO>
-