Class PackagingUnitUpdateController
java.lang.Object
org.openwms.core.http.AbstractWebController
org.openwms.wms.inventory.rest.pu.PackagingUnitUpdateController
@Validated
@MeasuredRestController
public class PackagingUnitUpdateController
extends org.openwms.core.http.AbstractWebController
A PackagingUnitUpdateController.
- Author:
- Heiko Scherrer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
protected final PackagingUnitService
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<PackagingUnitVO> update
(String pKey, PackagingUnitVO pu) 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 -
service
-
-
Constructor Details
-
PackagingUnitUpdateController
-
-
Method Details
-
update
@PutMapping("/v1/packaging-units/{pKey}") public org.springframework.http.ResponseEntity<PackagingUnitVO> update(@PathVariable("pKey") String pKey, @RequestBody PackagingUnitVO pu)
-