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

    Fields
    Modifier and Type
    Field
    Description
    private static final org.slf4j.Logger
     
    protected final PackagingUnitService
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<PackagingUnitVO>
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • service

      protected final PackagingUnitService service
  • Constructor Details

    • PackagingUnitUpdateController

      protected PackagingUnitUpdateController(PackagingUnitService service)
  • Method Details

    • update

      @PutMapping("/v1/packaging-units/{pKey}") public org.springframework.http.ResponseEntity<PackagingUnitVO> update(@PathVariable("pKey") String pKey, @RequestBody PackagingUnitVO pu)