Class WarehouseOperationItemService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.inventory.rs2.warehouse.operation.item.WarehouseOperationItemService
@RestController
@RequestMapping("inventory/r2/warehouses/operations/headers/{id:[0-9]+}/items")
@Resource(logging=true)
public class WarehouseOperationItemService
extends PrivateService
Services to manage warehouse operation items.
- Since:
- 19.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOWarehouseOperationItem> Retrieves the requiredDTOWarehouseOperationItemby calling from theWarehouseOperationItemLoadEvent.org.springframework.http.ResponseEntity<PageResponse<DTOWarehouseOperationItem>> getCollection(Long id, @Valid @NotNull DTOWarehouseOperationItemFilter filter) Returns the collection of all the stored warehouse operation items by calling theWarehouseOperationItemSearchEvent.org.springframework.http.ResponseEntity<PageResponse<DTOWarehouseOperationItemSerializedMaterial>> getSerializedMaterials(Long id, Long itemId, @Valid @NotNull DTOWarehouseOperationItemSerializedMaterialFilter filter) Returns the collection of all the stored serialized materials by calling theWarehouseOperationItemSerializedMaterialSearchEvent.
-
Constructor Details
-
WarehouseOperationItemService
public WarehouseOperationItemService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOWarehouseOperationItem>> getCollection(@PathVariable("id") Long id, @RequestParam("filter") @Valid @NotNull @Valid @NotNull DTOWarehouseOperationItemFilter filter) throws DAValidateException, DAException Returns the collection of all the stored warehouse operation items by calling theWarehouseOperationItemSearchEvent.- Parameters:
id- the id of the warehouse operation headerfilter- theDTOWarehouseOperationItemFilter- Returns:
- the
ResponseEntitycontaining the collection ofDTOWarehouseOperationItem - Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
get
@GetMapping(value="{itemId:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTOWarehouseOperationItem> get(@PathVariable("id") Long id, @PathVariable("itemId") Long itemId) throws DAValidateException, DAException Retrieves the requiredDTOWarehouseOperationItemby calling from theWarehouseOperationItemLoadEvent.- Parameters:
id- the id of the warehouse operation headeritemId- the warehouse operation item id- Returns:
- the
ResponseEntitycontaining the loadedDTOWarehouseOperationItem - Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
getSerializedMaterials
@GetMapping(value="{itemId:[0-9]+}/actions/getSerializedMaterials", produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOWarehouseOperationItemSerializedMaterial>> getSerializedMaterials(@PathVariable("id") Long id, @PathVariable("itemId") Long itemId, @RequestParam("filter") @Valid @NotNull @Valid @NotNull DTOWarehouseOperationItemSerializedMaterialFilter filter) throws DAValidateException, DAException Returns the collection of all the stored serialized materials by calling theWarehouseOperationItemSerializedMaterialSearchEvent.- Parameters:
id- the warehouse operation item serialized material iditemId- the warehouse operation item idfilter- theDTOWarehouseOperationItemSerializedMaterialFilter- Returns:
- the
ResponseEntitycontaining theDTOWarehouseOperationItemSerializedMaterials - Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-