Class TableService

    • Constructor Detail

      • TableService

        public TableService()
    • Method Detail

      • init

        @PostConstruct
        public void init()
                  throws java.lang.Exception
        Overrides:
        init in class AbstractServices
        Throws:
        java.lang.Exception
      • destroy

        @PreDestroy
        public void destroy()
      • getTableData_Post

        @POST
        @Path("/{id}/data")
        @Consumes("application/x-www-form-urlencoded")
        @Produces("application/json")
        public DataTableResponse getTableData_Post​(@PathParam("id")
                                                   java.lang.String tableID,
                                                   javax.ws.rs.core.MultivaluedMap<java.lang.String,​java.lang.String> form,
                                                   @Context
                                                   javax.ws.rs.core.UriInfo uriInfo)
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getTableData_Get

        @GET
        @Path("/{id}/data")
        @Produces("application/json")
        public DataTableResponse getTableData_Get​(@PathParam("id")
                                                  java.lang.String tableID,
                                                  @Context
                                                  javax.ws.rs.core.UriInfo uriInfo)
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getTableColumnDistinct

        @GET
        @Path("/{id}/column/{column}/distinct")
        @Produces("application/json")
        public java.util.List<java.lang.String> getTableColumnDistinct​(@PathParam("id")
                                                                       java.lang.String tableID,
                                                                       @PathParam("column")
                                                                       java.lang.String column,
                                                                       @Context
                                                                       javax.ws.rs.core.UriInfo uriInfo)
                                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • searchIdsBy

        @POST
        @Path("/{id}/searchIdsBy/{column}")
        @Produces("application/json")
        @Consumes("application/json")
        public java.util.List<java.lang.String> searchIdsBy​(@PathParam("id")
                                                            java.lang.String tableID,
                                                            @PathParam("column")
                                                            java.lang.String columnName,
                                                            java.lang.String searchValue)
                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createExport

        @GET
        @Path("/{id}/export")
        @Produces("application/json")
        public java.lang.String createExport​(@PathParam("id")
                                             java.lang.String tableID,
                                             @Context
                                             javax.ws.rs.core.UriInfo uriInfo)
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getExport

        @GET
        @Path("/exports/{id}")
        @Produces("application/json")
        public ExportTaskManager.ExportStatus getExport​(@PathParam("id")
                                                        java.lang.String reportID)
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception