@Path(value="/projects/{p}/reports") public class ReportService extends BaseService
BaseService.ExceptionHandler, BaseService.FallbackService, BaseService.SecurityFilter
Modifier and Type | Field and Description |
---|---|
static JsonError |
REPORT_NOT_FOUND |
Constructor and Description |
---|
ReportService() |
Modifier and Type | Method and Description |
---|---|
static ReportData |
getReport(java.lang.String project,
java.util.UUID repId) |
static ReportData |
getReport(TreeDB db,
java.util.UUID uuid) |
com.fasterxml.jackson.databind.node.TextNode |
httpContents(java.lang.String project,
java.util.UUID repId) |
JsonEmpty |
httpDelete(java.lang.String project,
java.util.UUID repId) |
IDList |
httpList(java.lang.String project) |
public static final JsonError REPORT_NOT_FOUND
@GET public IDList httpList(@PathParam(value="p") java.lang.String project) throws JsonException
JsonException
@GET @Path(value="/{r}") public com.fasterxml.jackson.databind.node.TextNode httpContents(@PathParam(value="p") java.lang.String project, @PathParam(value="r") java.util.UUID repId) throws JsonException
JsonException
@DELETE @Path(value="/{r}") public JsonEmpty httpDelete(@PathParam(value="p") java.lang.String project, @PathParam(value="r") java.util.UUID repId) throws JsonException
JsonException
public static ReportData getReport(TreeDB db, java.util.UUID uuid) throws JsonException
JsonException
public static ReportData getReport(java.lang.String project, java.util.UUID repId) throws JsonException
JsonException