Class PutawayController


  • @RestController
    class PutawayController
    extends org.openwms.core.http.AbstractWebController
    A PutawayController.
    Author:
    Heiko Scherrer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) org.springframework.http.ResponseEntity<org.openwms.common.location.api.LocationVO> findAndAssignNextInLocGroup​(String locationGroupName, String transportUnitBK)  
      org.springframework.http.ResponseEntity<Integer> findAvailableLocationsOf​(String locationGroupNames)  
      org.springframework.http.ResponseEntity<List<org.openwms.common.location.api.LocationVO>> findInAisle​(String locationGroupName, String transportUnitBK)  
      org.springframework.http.ResponseEntity<org.openwms.common.location.api.LocationVO> findNextInAisle​(String locationGroupName, String transportUnitBK)  
      • Methods inherited from class org.openwms.core.http.AbstractWebController

        buildNOKResponse, buildNOKResponseWithKey, buildOKResponse, buildResponse, buildResponse, getLocationForCreatedResource, getLocationURIForCreatedResource, handleBehaviorAwareException, handleBusinessRuntimeException, handleConstraintViolationException, handleException, handleHttpBusinessException, handleTechnicalRuntimeException, handleValidationException, IllegalArgumentException, translate
    • Field Detail

      • LOGGER

        private static final org.slf4j.Logger LOGGER
      • mapper

        private final org.ameba.mapping.BeanMapper mapper
    • Constructor Detail

      • PutawayController

        PutawayController​(PutawayService putawayService,
                          org.ameba.mapping.BeanMapper mapper)
    • Method Detail

      • findAvailableLocationsOf

        @Measured
        @GetMapping(value="/v1/location-groups",
                    params="locationGroupNames")
        public org.springframework.http.ResponseEntity<Integer> findAvailableLocationsOf​(@RequestParam("locationGroupNames")
                                                                                         String locationGroupNames)
      • findInAisle

        @Measured
        @GetMapping(value="/v1/location-groups",
                    params={"locationGroupName","transportUnitBK"})
        public org.springframework.http.ResponseEntity<List<org.openwms.common.location.api.LocationVO>> findInAisle​(@RequestParam("locationGroupName")
                                                                                                                     String locationGroupName,
                                                                                                                     @RequestParam("transportUnitBK")
                                                                                                                     String transportUnitBK)
      • findNextInAisle

        @Measured
        @GetMapping(value="/v1/location-groups",
                    params={"locationGroupName","transportUnitBK"},
                    produces="application/vnd.openwms.location.single-v1+json")
        public org.springframework.http.ResponseEntity<org.openwms.common.location.api.LocationVO> findNextInAisle​(@RequestParam("locationGroupName")
                                                                                                                   String locationGroupName,
                                                                                                                   @RequestParam("transportUnitBK")
                                                                                                                   String transportUnitBK)
      • findAndAssignNextInLocGroup

        @PostMapping(value="/v1/location-groups",
                     params={"locationGroupName","transportUnitBK"},
                     produces="application/vnd.openwms.location.single-v1+json")
        org.springframework.http.ResponseEntity<org.openwms.common.location.api.LocationVO> findAndAssignNextInLocGroup​(@RequestParam("locationGroupName")
                                                                                                                        String locationGroupName,
                                                                                                                        @RequestParam("transportUnitBK")
                                                                                                                        String transportUnitBK)