Class PackagingUnitMoveController
java.lang.Object
org.openwms.core.http.AbstractWebController
org.openwms.wms.inventory.rest.pu.PackagingUnitMoveController
@Validated
@MeasuredRestController
public class PackagingUnitMoveController
extends org.openwms.core.http.AbstractWebController
A PackagingUnitMoveController.
- Author:
- Heiko Scherrer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
protected final PackagingUnitMover
protected final PackagingUnitService
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
PackagingUnitMoveController
(PackagingUnitMover mover, PackagingUnitService service) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<Void> moveBetweenLocations
(@Valid List<MovePURequestVO> requests) org.springframework.http.ResponseEntity
<Void> moveFromLocationToLoadUnit
(@Valid MovePURequestVO request) org.springframework.http.ResponseEntity
<Void> movePUQuantity
(String transportUnitBK, String luPos, @Valid MovePURequestVO request) Methods inherited from class org.openwms.core.http.AbstractWebController
buildNOKResponse, buildNOKResponseWithKey, buildOKResponse, buildResponse, buildResponse, getLocationForCreatedResource, getLocationURIForCreatedResource, handleBehaviorAwareException, handleBusinessRuntimeException, handleConstraintViolationException, handleException, handleHttpBusinessException, handleRemovalNotAllowedException, handleTechnicalRuntimeException, handleValidationException, illegalArgumentException, translate
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
mover
-
service
-
-
Constructor Details
-
PackagingUnitMoveController
-
-
Method Details
-
movePUQuantity
@PutMapping("/v1/transport-units/{transportUnitBK}/load-units/{luPos}/packaging-units") public org.springframework.http.ResponseEntity<Void> movePUQuantity(@PathVariable("transportUnitBK") String transportUnitBK, @PathVariable("luPos") String luPos, @Valid @RequestBody @Valid MovePURequestVO request) -
moveBetweenLocations
@PutMapping("/v1/packaging-units/move-between-locations") public org.springframework.http.ResponseEntity<Void> moveBetweenLocations(@Valid @RequestBody @Valid List<MovePURequestVO> requests) -
moveFromLocationToLoadUnit
@PutMapping("/v1/packaging-units/move-to-load-unit") public org.springframework.http.ResponseEntity<Void> moveFromLocationToLoadUnit(@Valid @RequestBody @Valid MovePURequestVO request)
-