Class SummaryService

    • Method Detail

      • submit

        @POST
        @Path("/documents/{docId}/summary")
        @Consumes("application/json")
        public jakarta.ws.rs.core.Response submit​(InputStream input,
                                                  @PathParam("docId")
                                                  String msg,
                                                  @Context
                                                  jakarta.ws.rs.core.HttpHeaders headers,
                                                  @Context
                                                  jakarta.ws.rs.core.Request request)
                                           throws IOException
        Throws:
        IOException
      • storeSummaryDocument

        public String storeSummaryDocument​(org.openprovenance.prov.scala.summary.SummaryIndex ndx)
                                    throws IOException
        Throws:
        IOException
      • getSummary

        public org.openprovenance.prov.scala.summary.SummaryIndex getSummary​(String docId,
                                                                             int level,
                                                                             org.openprovenance.prov.scala.summary.Level0Mapper level0,
                                                                             boolean aggregated)
                                                                      throws IOException
        Throws:
        IOException
      • getProvenanceKernel

        public org.openprovenance.prov.scala.summary.SummaryIndex getProvenanceKernel​(String docId,
                                                                                      int level,
                                                                                      org.openprovenance.prov.scala.summary.Level0Mapper level0,
                                                                                      boolean aggregated)
                                                                               throws IOException
        Throws:
        IOException
      • getSummaryIndex

        public org.openprovenance.prov.scala.summary.SummaryIndex getSummaryIndex​(String docId,
                                                                                  int level,
                                                                                  org.openprovenance.prov.scala.summary.Level0Mapper level0,
                                                                                  boolean kernel,
                                                                                  boolean aggregated)
                                                                           throws IOException
        Throws:
        IOException
      • getConfiguration

        @GET
        @Path("/documents/{docId}/config")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response getConfiguration​(@Context
                                                            jakarta.servlet.http.HttpServletResponse response,
                                                            @Context
                                                            jakarta.ws.rs.core.Request request,
                                                            @PathParam("docId")
                                                            String msg)
      • getSummaryProvTypes

        @GET
        @Path("/documents/{docId}/details")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response getSummaryProvTypes​(@Context
                                                               jakarta.servlet.http.HttpServletResponse response,
                                                               @Context
                                                               jakarta.ws.rs.core.Request request,
                                                               @PathParam("docId")
                                                               String msg)
      • submitProvtypesConfig

        @POST
        @Path("/documents/{docId}/provtypes")
        @Consumes("application/json")
        public jakarta.ws.rs.core.Response submitProvtypesConfig​(InputStream input,
                                                                 @PathParam("docId")
                                                                 String msg,
                                                                 @Context
                                                                 jakarta.ws.rs.core.HttpHeaders headers,
                                                                 @Context
                                                                 jakarta.ws.rs.core.Request request)
                                                          throws IOException
        Throws:
        IOException
      • getProvtypes

        @GET
        @Path("/documents/{docId}/provtypes/{configId}.json")
        @Consumes("application/json")
        public jakarta.ws.rs.core.Response getProvtypes​(@PathParam("docId")
                                                        String msg,
                                                        @PathParam("configId")
                                                        String configId,
                                                        @Context
                                                        jakarta.ws.rs.core.HttpHeaders headers,
                                                        @Context
                                                        jakarta.ws.rs.core.Request request)
                                                 throws IOException
        Throws:
        IOException
      • getProvtypesConfiguration

        @GET
        @Path("/documents/{docId}/provtypes/{configId}/config")
        @Consumes("application/json")
        public jakarta.ws.rs.core.Response getProvtypesConfiguration​(@PathParam("docId")
                                                                     String msg,
                                                                     @PathParam("configId")
                                                                     String configId,
                                                                     @Context
                                                                     jakarta.ws.rs.core.HttpHeaders headers,
                                                                     @Context
                                                                     jakarta.ws.rs.core.Request request)
                                                              throws IOException
        Throws:
        IOException