@Path(value="/api/folo/admin") @ApplicationScoped public class FoloAdminResource extends Object implements org.commonjava.indy.bind.jaxrs.IndyResources
| Constructor and Description |
|---|
FoloAdminResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
clearRecord(String id) |
javax.ws.rs.core.Response |
doDelete(javax.ws.rs.core.UriInfo uriInfo,
org.commonjava.indy.model.core.BatchDeleteRequest request) |
File |
exportReport() |
javax.ws.rs.core.Response |
getRecord(String id,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
getRecordIds(String type) |
javax.ws.rs.core.Response |
getReport(String id,
javax.ws.rs.core.UriInfo uriInfo) |
File |
getZipRepository(String id) |
javax.ws.rs.core.Response |
importReport(javax.ws.rs.core.UriInfo uriInfo,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
initRecord(String id,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
recalculateRecord(String id,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
sealRecord(String id,
javax.ws.rs.core.UriInfo uriInfo) |
@GET
@Path(value="/{id}/record/recalculate")
public javax.ws.rs.core.Response recalculateRecord(@PathParam(value="id")
String id,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@Path(value="/{id}/repo/zip")
@GET
@Produces(value="application/zip")
public File getZipRepository(@PathParam(value="id")
String id)
@Path(value="/{id}/report")
@GET
public javax.ws.rs.core.Response getReport(@PathParam(value="id")
String id,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@Path(value="/{id}/record")
@PUT
public javax.ws.rs.core.Response initRecord(@PathParam(value="id")
String id,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@Path(value="/{id}/record")
@POST
public javax.ws.rs.core.Response sealRecord(@PathParam(value="id")
String id,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@Path(value="/{id}/record")
@GET
public javax.ws.rs.core.Response getRecord(@PathParam(value="id")
String id,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@Path(value="/{id}/record")
@DELETE
public javax.ws.rs.core.Response clearRecord(@PathParam(value="id")
String id)
@Path(value="/report/ids/{type}")
@GET
public javax.ws.rs.core.Response getRecordIds(@PathParam(value="type")
String type)
@Path(value="/report/export") @GET @Produces(value="application/zip") public File exportReport()
@Path(value="/report/import")
@PUT
public javax.ws.rs.core.Response importReport(@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.servlet.http.HttpServletRequest request)
@Path(value="/batch/delete")
@POST
@Produces(value="application/json")
public javax.ws.rs.core.Response doDelete(@Context
javax.ws.rs.core.UriInfo uriInfo,
org.commonjava.indy.model.core.BatchDeleteRequest request)
Copyright © 2011-2020-2020. All Rights Reserved.