Class ReceivingOrderCreator

java.lang.Object
org.openwms.core.http.AbstractWebController
org.openwms.wms.receiving.rest.ReceivingOrderCreator

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

    Fields
    Modifier and Type
    Field
    Description
    private static final org.slf4j.Logger
     
    private final ReceivingMapper
     
    private final ReceivingService<?>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<ReceivingOrderVO>
    createOrder(ReceivingOrderVO orderVO, jakarta.servlet.http.HttpServletRequest req)
     

    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

      private final ReceivingService<?> service
    • receivingMapper

      private final ReceivingMapper receivingMapper
  • Constructor Details

  • Method Details

    • createOrder

      @Transactional @PostMapping(value="/v1/receiving-orders", consumes="application/vnd.openwms.receiving-order-v1+json", produces="application/vnd.openwms.receiving-order-v1+json") public org.springframework.http.ResponseEntity<ReceivingOrderVO> createOrder(@RequestBody ReceivingOrderVO orderVO, jakarta.servlet.http.HttpServletRequest req)