Class WarehouseTrackingModeService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.inventory.rs2.warehouse.trackingmode.WarehouseTrackingModeService
@RestController
@RequestMapping("inventory/r2/warehouses/trackingmodes")
@Resource(logging=true)
public class WarehouseTrackingModeService
extends PrivateService
Services to manage warehouse tracking modes.
- Since:
- 19.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOWarehouseTrackingMode> Retrieves the requiredDTOWarehouseTrackingModeby calling from theWarehouseTrackingModeLoadEvent.org.springframework.http.ResponseEntity<PageResponse<DTOWarehouseTrackingMode>> getCollection(@NotNull @Valid Page page, @Valid DTOWarehouseTrackingModeFilter filter) Returns the collection of all the stored warehouse tracking modes by calling theWarehouseTrackingModeSearchEvent.
-
Constructor Details
-
WarehouseTrackingModeService
public WarehouseTrackingModeService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOWarehouseTrackingMode>> getCollection(@RequestParam("page") @NotNull @Valid @NotNull @Valid Page page, @RequestParam("filter") @Valid @Valid DTOWarehouseTrackingModeFilter filter) throws DAValidateException, DAException Returns the collection of all the stored warehouse tracking modes by calling theWarehouseTrackingModeSearchEvent.- Parameters:
page- thePagethat will contain the paginated resultfilter- theDTOWarehouseTrackingModeFilter- Returns:
- the
ResponseEntitycontaining the collection ofDTOWarehouseTrackingMode - Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
get
@GetMapping(value="{id:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTOWarehouseTrackingMode> get(@PathVariable("id") Long id, @RequestParam(required=false,name="language",defaultValue="user") String language) throws DAValidateException, DAException Retrieves the requiredDTOWarehouseTrackingModeby calling from theWarehouseTrackingModeLoadEvent.- Parameters:
id- the warehouse tracking mode idlanguage- the language of the user- Returns:
- the
ResponseEntitycontaining the loadedDTOWarehouseTrackingMode - Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-