@Path(value="/batchreport/v1") public class BatchReportResource extends ApplicationStatusResource
STATUS_URL, TENANTS_URL
Constructor and Description |
---|
BatchReportResource(BatchReportServiceImpl batchReportServiceImpl) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
appendReport(ReportBody reportBody,
int tenantId) |
javax.ws.rs.core.Response |
deleteReport(String processId,
ReportType reportType) |
javax.ws.rs.core.Response |
exportDistinctObjectGroup(String processId,
com.fasterxml.jackson.databind.JsonNode body) |
javax.ws.rs.core.Response |
exportEliminationActionAccessionRegister(String processId,
com.fasterxml.jackson.databind.JsonNode body) |
javax.ws.rs.core.Response |
exportObjectGroup(String processId,
com.fasterxml.jackson.databind.JsonNode body) |
javax.ws.rs.core.Response |
exportUnitReport(String processId,
com.fasterxml.jackson.databind.JsonNode body) |
getServerTenants, status
public BatchReportResource(BatchReportServiceImpl batchReportServiceImpl)
@Path(value="/append") @POST @Produces(value="application/json") @Consumes(value="application/json") public javax.ws.rs.core.Response appendReport(ReportBody reportBody, @HeaderParam(value="X-Tenant-Id") int tenantId)
@Path(value="/elimination_action_unit/unit_export/{processId}") @POST @Produces(value="application/json") @Consumes(value="application/json") public javax.ws.rs.core.Response exportUnitReport(@PathParam(value="processId") String processId, com.fasterxml.jackson.databind.JsonNode body) throws ContentAddressableStorageServerException, IOException
@Path(value="/elimination_action_objectgroup/objectgroup_export/{processId}") @POST @Produces(value="application/json") @Consumes(value="application/json") public javax.ws.rs.core.Response exportObjectGroup(@PathParam(value="processId") String processId, com.fasterxml.jackson.databind.JsonNode body) throws ContentAddressableStorageServerException, IOException
@Path(value="/elimination_action_unit/objectgroup_export/{processId}") @POST @Produces(value="application/json") @Consumes(value="application/json") public javax.ws.rs.core.Response exportDistinctObjectGroup(@PathParam(value="processId") String processId, com.fasterxml.jackson.databind.JsonNode body) throws ContentAddressableStorageServerException, IOException
@Path(value="/elimination_action/accession_register_export/{processId}") @POST @Produces(value="application/json") @Consumes(value="application/json") public javax.ws.rs.core.Response exportEliminationActionAccessionRegister(@PathParam(value="processId") String processId, com.fasterxml.jackson.databind.JsonNode body) throws ContentAddressableStorageServerException, IOException
@Path(value="/cleanup/{reportType}/{processId}") @DELETE @Produces(value="application/json") public javax.ws.rs.core.Response deleteReport(@PathParam(value="processId") String processId, @PathParam(value="reportType") ReportType reportType)
Copyright © 2018 Vitam. All rights reserved.