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 Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
actionJob(String refKey, JobAction jobAction)
Map<String,String>
batch(BatchRequest batchRequest)
int
countExecutions(String taskKey)
static void
create(ReportTO reportTO)
static void
delete(String reportKey)
Delete specified report.void
deleteExecution(String reportExecKey)
static javax.ws.rs.core.Response
exportExecutionResult(String executionKey)
static JobTO
getJob(String key)
static List<ReportTO>
list()
List<ExecTO>
listExecutions(String taskKey, int page, int size, SortParam<String> sort)
static List<JobTO>
listJobs()
List<ExecTO>
listRecentExecutions(int max)
static ReportTO
read(String reportKey)
void
startExecution(String reportKey, Date startAt)
static 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 static void create(ReportTO reportTO)
-
update
public static void update(ReportTO reportTO)
-
delete
public static 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 static 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
-
-