Class ReportRestClient
- java.lang.Object
-
- org.apache.syncope.client.console.rest.BaseRestClient
-
- org.apache.syncope.client.console.rest.ReportRestClient
-
- All Implemented Interfaces:
Serializable
,ExecutionRestClient
,RestClient
public class ReportRestClient extends BaseRestClient implements ExecutionRestClient
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.syncope.client.console.rest.BaseRestClient
LOG
-
-
Constructor Summary
Constructors Constructor Description ReportRestClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionJob(String refKey, JobAction jobAction)
Map<String,String>
batch(BatchRequest batchRequest)
int
countExecutions(String taskKey)
void
create(ReportTO reportTO)
void
delete(String reportKey)
Delete specified report.void
deleteExecution(String reportExecKey)
Optional<javax.ws.rs.core.Response>
exportExecutionResult(String executionKey)
JobTO
getJob(String key)
List<ReportTO>
list()
List<ExecTO>
listExecutions(String taskKey, int page, int size, SortParam<String> sort)
List<JobTO>
listJobs()
List<ExecTO>
listRecentExecutions(int max)
ReportTO
read(String reportKey)
void
startExecution(String reportKey, Date startAt)
void
update(ReportTO reportTO)
-
Methods inherited from class org.apache.syncope.client.console.rest.BaseRestClient
getObject, getService, getService, getStatus, getSyncopeService, resetClient, toOrderBy
-
-
-
-
Method Detail
-
create
public void create(ReportTO reportTO)
-
update
public void update(ReportTO reportTO)
-
delete
public void delete(String reportKey)
Delete specified report.- Parameters:
reportKey
- report to delete
-
startExecution
public void startExecution(String reportKey, Date startAt)
- Specified by:
startExecution
in interfaceExecutionRestClient
-
deleteExecution
public void deleteExecution(String reportExecKey)
- Specified by:
deleteExecution
in interfaceExecutionRestClient
-
listRecentExecutions
public List<ExecTO> listRecentExecutions(int max)
- Specified by:
listRecentExecutions
in interfaceExecutionRestClient
-
exportExecutionResult
public Optional<javax.ws.rs.core.Response> exportExecutionResult(String executionKey)
-
listExecutions
public List<ExecTO> listExecutions(String taskKey, int page, int size, SortParam<String> sort)
- Specified by:
listExecutions
in interfaceExecutionRestClient
-
countExecutions
public int countExecutions(String taskKey)
- Specified by:
countExecutions
in interfaceExecutionRestClient
-
batch
public Map<String,String> batch(BatchRequest batchRequest)
- Specified by:
batch
in interfaceExecutionRestClient
-
-