Interface ReportService

    • Method Detail

      • read

        @GET
        @Path("{key}")
        @Produces({"application/json","application/yaml","application/xml"})
        ReportTO read​(@NotNull @PathParam("key")
                      @NotNull String key)
        Returns report with matching key.
        Parameters:
        key - key of report to be read
        Returns:
        report with matching key
      • list

        @GET
        @Produces({"application/json","application/yaml","application/xml"})
        List<ReportTO> list()
        Returns a list of all existing reports.
        Returns:
        paged list of existing reports matching the given query
      • create

        @POST
        @Consumes({"application/json","application/yaml","application/xml"})
        @Produces({"application/json","application/yaml","application/xml"})
        javax.ws.rs.core.Response create​(@NotNull
                                         @NotNull ReportTO reportTO)
        Creates a new report.
        Parameters:
        reportTO - report to be created
        Returns:
        Response object featuring Location header of created report
      • update

        @PUT
        @Path("{key}")
        @Consumes({"application/json","application/yaml","application/xml"})
        @Produces({"application/json","application/yaml","application/xml"})
        void update​(@NotNull
                    @NotNull ReportTO reportTO)
        Updates report with matching key.
        Parameters:
        reportTO - report to be stored
      • delete

        @DELETE
        @Path("{key}")
        @Produces({"application/json","application/yaml","application/xml"})
        void delete​(@NotNull @PathParam("key")
                    @NotNull String key)
        Deletes report with matching key.
        Parameters:
        key - Deletes report with matching key
      • exportExecutionResult

        @GET
        @Path("executions/{executionKey}/stream")
        @Consumes({"application/json","application/yaml","application/xml"})
        javax.ws.rs.core.Response exportExecutionResult​(@NotNull @PathParam("executionKey")
                                                        @NotNull String executionKey)
        Exports the report execution with matching key in the requested format.
        Parameters:
        executionKey - key of execution report to be selected
        Returns:
        a stream for content download