Class TransferRequestStateService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.inventory.rs2.warehouse.transfer.request.state.TransferRequestStateService
@RestController
@RequestMapping("inventory/r2/warehouses/transfers/requests/states")
@Resource(logging=true)
public class TransferRequestStateService
extends PrivateService
Services to manage transfer request states.
- Since:
- 19.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOTransferRequestState> Retrieves the requiredDTOTransferRequestStateby calling from theTransferRequestStateLoadEvent.org.springframework.http.ResponseEntity<PageResponse<DTOTransferRequestState>> getCollection(@NotNull @Valid Page page, @Valid @NotNull DTOTransferRequestStateSearchFilter filter) Returns the collection of all the stored transfer request states by calling theTransferRequestStateSearchEvent.
-
Constructor Details
-
TransferRequestStateService
public TransferRequestStateService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOTransferRequestState>> getCollection(@RequestParam("page") @NotNull @Valid @NotNull @Valid Page page, @RequestParam("filter") @Valid @NotNull @Valid @NotNull DTOTransferRequestStateSearchFilter filter) throws DAValidateException, DAException Returns the collection of all the stored transfer request states by calling theTransferRequestStateSearchEvent.- Parameters:
page- thePagethat will contain the paginated resultfilter- theDTOTransferRequestStateSearchFilter- Returns:
- the
ResponseEntitycontaining the collection ofDTOTransferRequestState - Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
get
@GetMapping(value="{id:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTOTransferRequestState> get(@PathVariable("id") Long id, @RequestParam(required=false,name="language",defaultValue="user") String language) throws DAValidateException, DAException Retrieves the requiredDTOTransferRequestStateby calling from theTransferRequestStateLoadEvent.- Parameters:
id- the transfer request state idlanguage- the current needed language- Returns:
- the DTO response containing the resulted
DTOTransferRequestState - Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-