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