2019-02-16 11:04:41 +01:00
|
|
|
package eu.dnetlib.repo.manager.service;
|
|
|
|
|
|
|
|
import eu.dnetlib.api.functionality.ValidatorServiceException;
|
|
|
|
import eu.dnetlib.domain.functionality.validator.StoredJob;
|
2019-11-28 12:25:56 +01:00
|
|
|
import eu.dnetlib.repo.manager.domain.JobsOfUser;
|
2019-02-16 11:04:41 +01:00
|
|
|
import org.json.JSONException;
|
|
|
|
|
|
|
|
|
|
|
|
public interface MonitorService {
|
|
|
|
|
|
|
|
|
|
|
|
JobsOfUser getJobsOfUser(String user,
|
|
|
|
String jobType,
|
|
|
|
String offset,
|
|
|
|
String limit,
|
|
|
|
String dateFrom,
|
|
|
|
String dateTo,
|
|
|
|
String validationStatus,
|
|
|
|
String includeJobsTotal) throws JSONException, ValidatorServiceException;
|
|
|
|
|
|
|
|
int getJobsOfUserPerValidationStatus(String user,
|
|
|
|
String jobType,
|
|
|
|
String validationStatus) throws JSONException;
|
|
|
|
|
|
|
|
|
|
|
|
StoredJob getJobSummary(String jobId,
|
|
|
|
String groupBy) throws JSONException;
|
|
|
|
|
|
|
|
}
|