Class TimesheetTaskStateService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.core.timesheet.rs2.task.state.TimesheetTaskStateService
@RestController
@RequestMapping("timesheet/r2/tasks/states")
@Resource(logging=true)
public class TimesheetTaskStateService
extends PrivateService
Services to manage timesheet task states.
- Since:
- 19.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOTaskState> Retrieves the required timesheet task state.org.springframework.http.ResponseEntity<PageResponse<DTOTaskState>> getCollection(@Valid Page page, @Valid @NotNull DTOTaskStateSearchFilter filter) Retrieve the all stored timesheet task statesTaskStateSearchEvent
-
Constructor Details
-
TimesheetTaskStateService
public TimesheetTaskStateService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOTaskState>> getCollection(@RequestParam("page") @Valid @Valid Page page, @RequestParam("filter3") @Valid @NotNull @Valid @NotNull DTOTaskStateSearchFilter filter) throws DAValidateException, DAException Retrieve the all stored timesheet task statesTaskStateSearchEvent- Parameters:
page- the required result pagefilter- the specifiedDTOTaskStateSearchFilter- Returns:
- the response containing the current result page
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
get
@GetMapping(value="{id:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTOTaskState> get(@PathVariable("id") Long id) throws DAValidateException, DAException Retrieves the required timesheet task state.TaskStateLoadEvent- Parameters:
id- timesheet task state- Returns:
- the response containing the required timesheet task state
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-