Class AdminContextResource
java.lang.Object
fr.gouv.vitam.functional.administration.rest.AdminContextResource
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
deleteContext
(String contextId) javax.ws.rs.core.Response
findContexts
(com.fasterxml.jackson.databind.JsonNode queryDsl) javax.ws.rs.core.Response
importContexts
(List<ContextModel> contextModelList, javax.ws.rs.core.UriInfo uri)
-
Field Details
-
ADMIN_TENANT
public static final int ADMIN_TENANT
-
-
Constructor Details
-
AdminContextResource
- Parameters:
contextResource
-
-
-
Method Details
-
importContexts
@Path("/contexts") @POST @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response importContexts(List<ContextModel> contextModelList, @Context javax.ws.rs.core.UriInfo uri) -
findContexts
@Path("/contexts") @GET @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response findContexts(com.fasterxml.jackson.databind.JsonNode queryDsl) -
deleteContext
@Path("/context/{contextId}") @DELETE @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response deleteContext(@PathParam("contextId") String contextId)
-