public class ReportRestClient extends BaseRestClient implements ExecutionRestClient, TemplateRestClient<ReportTemplateTO,ReportTemplateFormat>
LOG
Constructor and Description |
---|
ReportRestClient() |
getObject, getService, getService, getStatus, getSyncopeService, resetClient, toOrderBy
public void create(ReportTO reportTO)
public void update(ReportTO reportTO)
public void delete(String reportKey)
reportKey
- report to deletepublic void startExecution(String reportKey, Date start)
startExecution
in interface ExecutionRestClient
public void deleteExecution(String reportExecKey)
deleteExecution
in interface ExecutionRestClient
public List<ExecTO> listRecentExecutions(int max)
listRecentExecutions
in interface ExecutionRestClient
public javax.ws.rs.core.Response exportExecutionResult(String executionKey, ReportExecExportFormat fmt)
public List<ExecTO> listExecutions(String taskKey, int page, int size, SortParam<String> sort)
listExecutions
in interface ExecutionRestClient
public int countExecutions(String taskKey)
countExecutions
in interface ExecutionRestClient
public List<ReportTemplateTO> listTemplates()
listTemplates
in interface TemplateRestClient<ReportTemplateTO,ReportTemplateFormat>
public void createTemplate(ReportTemplateTO reportTemplateTO)
createTemplate
in interface TemplateRestClient<ReportTemplateTO,ReportTemplateFormat>
public void deleteTemplate(String key)
deleteTemplate
in interface TemplateRestClient<ReportTemplateTO,ReportTemplateFormat>
public ReportTemplateTO readTemplate(String key)
readTemplate
in interface TemplateRestClient<ReportTemplateTO,ReportTemplateFormat>
public String readTemplateFormat(String key, ReportTemplateFormat format)
readTemplateFormat
in interface TemplateRestClient<ReportTemplateTO,ReportTemplateFormat>
public void updateTemplateFormat(String key, String content, ReportTemplateFormat format)
updateTemplateFormat
in interface TemplateRestClient<ReportTemplateTO,ReportTemplateFormat>
public Map<String,String> batch(BatchRequest batchRequest)
batch
in interface ExecutionRestClient
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.