Class WarehouseService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.inventory.rs2.warehouse.WarehouseService
@RestController
@RequestMapping("inventory/r2/warehouses")
@Resource(logging=true)
public class WarehouseService
extends PrivateService
Services to manage warehouses.
- Since:
- 19.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOWarehouseTypeId> Retrieves the required warehouse type by calling theWarehouseLoadEvent.org.springframework.http.ResponseEntity<List<DTOWarehouseDetail>> Retrieves the required warehouse type by calling theWarehouseLoadEvent.org.springframework.http.ResponseEntity<Void> Action to process a new warehouse manual operation.
-
Constructor Details
-
WarehouseService
public WarehouseService()
-
-
Method Details
-
get
@GetMapping(value="{id:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTOWarehouseTypeId> get(@PathVariable("id") Long id) throws DAValidateException, DAException Retrieves the required warehouse type by calling theWarehouseLoadEvent.- Parameters:
id- warehouse type id- Returns:
- the
ResponseEntitycontaining the warehouse type - Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
getByPosition
@GetMapping(value="actions/getByPosition", produces="application/json") public org.springframework.http.ResponseEntity<List<DTOWarehouseDetail>> getByPosition(@RequestParam("filter") @Valid @NotNull @Valid @NotNull DTOWarehouseDetailFilter filter) throws DAValidateException, DAException Retrieves the required warehouse type by calling theWarehouseLoadEvent.- Parameters:
filter- theDTOWarehouseDetailFilter- Returns:
- the
ResponseEntitycontaining the collection ofDTOWarehouseDetail - Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
warehouseManualOperation
@PostMapping(value="{id:[0-9]+}/actions/manualoperation", consumes="application/json", produces="application/json") public org.springframework.http.ResponseEntity<Void> warehouseManualOperation(@PathVariable("id") Long id, @Valid @RequestBody @Valid DTOWarehouseManualOperationInsert dto) throws DAValidateException, DAException Action to process a new warehouse manual operation.- Parameters:
id- the warehouse iddto- theDTOWarehouseManualOperationInsert- Returns:
- the
ResponseEntity - Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-