Class WarehouseOperationHeaderStateService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.inventory.rs2.warehouse.operation.header.state.WarehouseOperationHeaderStateService
@RestController
@RequestMapping("inventory/r2/warehouses/operations/headers/states")
@Resource(logging=true)
public class WarehouseOperationHeaderStateService
extends PrivateService
Services to manage warehouse operation header states.
- Since:
- 19.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOWarehouseOperationHeaderState> Retrieves the requiredDTOWarehouseOperationHeaderStateby calling from theWarehouseOperationHeaderStateLoadEvent.org.springframework.http.ResponseEntity<PageResponse<DTOWarehouseOperationHeaderState>> getCollection(@NotNull @Valid Page page, @Valid DTOWarehouseOperationHeaderStateFilter filter) Returns the collection of all the stored warehouse operation header states by calling theWarehouseOperationHeaderStateSearchEvent.
-
Constructor Details
-
WarehouseOperationHeaderStateService
public WarehouseOperationHeaderStateService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOWarehouseOperationHeaderState>> getCollection(@RequestParam("page") @NotNull @Valid @NotNull @Valid Page page, @RequestParam("filter") @Valid @Valid DTOWarehouseOperationHeaderStateFilter filter) throws DAValidateException, DAException Returns the collection of all the stored warehouse operation header states by calling theWarehouseOperationHeaderStateSearchEvent.- Parameters:
page- thePagethat will contain the paginated resultfilter- theDTOWarehouseOperationHeaderStateFilter- Returns:
- the
ResponseEntitycontaining the collection ofDTOWarehouseOperationHeaderState - Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
get
@GetMapping(value="{id:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTOWarehouseOperationHeaderState> get(@PathVariable("id") Long id, @RequestParam(required=false,name="language",defaultValue="user") String language) throws DAValidateException, DAException Retrieves the requiredDTOWarehouseOperationHeaderStateby calling from theWarehouseOperationHeaderStateLoadEvent.- Parameters:
id- the warehouse operation header state idlanguage- the language of the user- Returns:
- the
ResponseEntitycontaining the loadedDTOWarehouseOperationHeaderState - Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-