@Path(value="reports") public interface ReportService extends ExecutableService
PARAM_ANYTYPE_KIND, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_RESOURCE, PARAM_SIZE| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
create(ReportTO reportTO)
Creates a new report.
|
void |
delete(String key)
Deletes report with matching key.
|
javax.ws.rs.core.Response |
exportExecutionResult(String executionKey,
ReportExecExportFormat fmt)
Exports the report execution with matching key in the requested format.
|
List<ReportTO> |
list()
Returns a list of all existing reports.
|
ReportTO |
read(String key)
Returns report with matching key.
|
void |
update(ReportTO reportTO)
Updates report with matching key.
|
actionJob, deleteExecution, deleteExecutions, execute, getJob, listExecutions, listJobs, listRecentExecutions@GET
@Path(value="{key}")
@Produces(value={"application/json","application/xml"})
ReportTO read(@NotNull @PathParam(value="key")
String key)
key - key of report to be read@GET
@Produces(value={"application/json","application/xml"})
List<ReportTO> list()
@POST
@Consumes(value={"application/json","application/xml"})
@Produces(value={"application/json","application/xml"})
javax.ws.rs.core.Response create(@NotNull
ReportTO reportTO)
reportTO - report to be created@PUT
@Path(value="{key}")
@Consumes(value={"application/json","application/xml"})
@Produces(value={"application/json","application/xml"})
void update(@NotNull
ReportTO reportTO)
reportTO - report to be stored@DELETE
@Path(value="{key}")
@Produces(value={"application/json","application/xml"})
void delete(@NotNull @PathParam(value="key")
String key)
key - Deletes report with matching key@GET
@Path(value="executions/{executionKey}/stream")
@Consumes(value={"application/json","application/xml"})
javax.ws.rs.core.Response exportExecutionResult(@NotNull @PathParam(value="executionKey")
String executionKey,
@QueryParam(value="format")
ReportExecExportFormat fmt)
executionKey - key of execution report to be selectedfmt - file-format selectionCopyright © 2010–2018 The Apache Software Foundation. All rights reserved.