Class PackagingUnitDeletionController

java.lang.Object
org.openwms.core.http.AbstractWebController
org.openwms.wms.inventory.rest.pu.PackagingUnitDeletionController

@Validated @MeasuredRestController public class PackagingUnitDeletionController extends org.openwms.core.http.AbstractWebController
A PackagingUnitDeletionController.
Author:
Heiko Scherrer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final PackagingUnitService
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    PackagingUnitDeletionController(org.springframework.context.MessageSource messageSource, PackagingUnitService service)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<Void>
    delete(String pKey)
     
    org.springframework.http.ResponseEntity<Void>
     

    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

  • Constructor Details

    • PackagingUnitDeletionController

      protected PackagingUnitDeletionController(org.springframework.context.MessageSource messageSource, PackagingUnitService service)
  • Method Details

    • deleteOnLocation

      @DeleteMapping("/v1/packaging-units") public org.springframework.http.ResponseEntity<Void> deleteOnLocation(@Valid @RequestBody @Valid DeletePURequestVO request)
    • delete

      @DeleteMapping("/v1/packaging-units/{pKey}") public org.springframework.http.ResponseEntity<Void> delete(@PathVariable String pKey)