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