Class ClockingService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.core.rs5.clocking.ClockingService
@RestController("ClockingService-legacy")
@RequestMapping("core/r5/clockings")
@Resource(logging=true)
public class ClockingService
extends PrivateService
Services to manage clockings.
- Since:
- 19.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOClocking> Retrieves the required clocking.org.springframework.http.ResponseEntity<PageResponse<DTOClocking>> getCollection(@NotNull @Valid Page page, @Valid @NotNull DTOClockingSearchFilter filter) Retrieve the all stored clocking.
-
Constructor Details
-
ClockingService
public ClockingService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOClocking>> getCollection(@RequestParam("page") @NotNull @Valid @NotNull @Valid Page page, @RequestParam("filter") @Valid @NotNull @Valid @NotNull DTOClockingSearchFilter filter) throws DAValidateException, DAException Retrieve the all stored clocking.ClockingSearchEvent- Parameters:
page- the required result pagefilter- the specifiedDTOClockingSearchFilter- 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<DTOClocking> get(@PathVariable("id") Long id) throws DAValidateException, DAException Retrieves the required clocking.ClockingLoadEvent- Parameters:
id- clocking id- Returns:
- the response containing the required clocking type
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-