1
|
package eu.dnetlib.repo.manager.service;
|
2
|
|
3
|
import eu.dnetlib.api.functionality.ValidatorServiceException;
|
4
|
import eu.dnetlib.domain.functionality.validator.StoredJob;
|
5
|
import eu.dnetlib.repo.manager.shared.JobsOfUser;
|
6
|
import io.swagger.annotations.Api;
|
7
|
import org.json.JSONException;
|
8
|
import org.springframework.http.MediaType;
|
9
|
import org.springframework.web.bind.annotation.*;
|
10
|
|
11
|
|
12
|
public interface MonitorService {
|
13
|
|
14
|
|
15
|
JobsOfUser getJobsOfUser(String user,
|
16
|
String jobType,
|
17
|
String offset,
|
18
|
String limit,
|
19
|
String dateFrom,
|
20
|
String dateTo,
|
21
|
String validationStatus,
|
22
|
String includeJobsTotal) throws JSONException, ValidatorServiceException;
|
23
|
|
24
|
int getJobsOfUserPerValidationStatus(String user,
|
25
|
String jobType,
|
26
|
String validationStatus) throws JSONException;
|
27
|
|
28
|
|
29
|
StoredJob getJobSummary(String jobId,
|
30
|
String groupBy) throws JSONException;
|
31
|
|
32
|
}
|