Class WarehouseOperationHeaderService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.inventory.rs2.warehouse.operation.header.WarehouseOperationHeaderService
@RestController
@RequestMapping("inventory/r2/warehouses/operations/headers")
@Resource(logging=true)
public class WarehouseOperationHeaderService
extends PrivateService
Services to manage warehouse operation headers.
- Since:
- 19.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOWarehouseOperationHeader> Retrieves the requiredDTOWarehouseOperationHeaderby calling from theWarehouseOperationHeaderLoadEvent.org.springframework.http.ResponseEntity<PageResponse<DTOWarehouseOperationHeader>> getCollection(@NotNull @Valid Page page, @Valid @NotNull DTOWarehouseOperationHeaderFilter filter) Returns the collection of all the stored warehouse operation headers by calling theWarehouseOperationHeaderSearchEvent.org.springframework.http.ResponseEntity<PageResponse<DTOWarehouseOperationHeaderSource>> Returns the source of the warehouse operation related to the given id.
-
Constructor Details
-
WarehouseOperationHeaderService
public WarehouseOperationHeaderService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOWarehouseOperationHeader>> getCollection(@RequestParam("page") @NotNull @Valid @NotNull @Valid Page page, @RequestParam("filter") @Valid @NotNull @Valid @NotNull DTOWarehouseOperationHeaderFilter filter) throws DAValidateException, DAException Returns the collection of all the stored warehouse operation headers by calling theWarehouseOperationHeaderSearchEvent.- Parameters:
page- thePagethat will contain the paginated resultfilter- theDTOWarehouseOperationHeaderFilter- Returns:
- the
ResponseEntitycontaining the collection ofDTOWarehouseOperationHeader - Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
get
@GetMapping(value="{id:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTOWarehouseOperationHeader> get(@PathVariable("id") Long id) throws DAValidateException, DAException Retrieves the requiredDTOWarehouseOperationHeaderby calling from theWarehouseOperationHeaderLoadEvent.- Parameters:
id- the warehouse operation header id- Returns:
- the
ResponseEntitycontaining the loadedDTOWarehouseOperationHeader - Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
getSource
@GetMapping(value="{id:[0-9]+}/actions/getSource", produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOWarehouseOperationHeaderSource>> getSource(@PathVariable("id") Long id) throws DAValidateException, DAException Returns the source of the warehouse operation related to the given id.- Parameters:
id- the warehouse operation header id- Returns:
- the
ResponseEntitycontaining all the loadedDTOWarehouseOperationHeaderSources - Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-