Class AdminContextResource
- java.lang.Object
-
- fr.gouv.vitam.functional.administration.rest.AdminContextResource
-
@Path("/v1/admin") public class AdminContextResource extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
ADMIN_TENANT
-
Constructor Summary
Constructors Constructor Description AdminContextResource(ContextResource contextResource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
deleteContext(java.lang.String contextId)
javax.ws.rs.core.Response
findContexts(com.fasterxml.jackson.databind.JsonNode queryDsl)
javax.ws.rs.core.Response
importContexts(java.util.List<ContextModel> contextModelList, javax.ws.rs.core.UriInfo uri)
-
-
-
Constructor Detail
-
AdminContextResource
public AdminContextResource(ContextResource contextResource)
- Parameters:
contextResource
-
-
-
Method Detail
-
importContexts
@Path("/contexts") @POST @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response importContexts(java.util.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") java.lang.String contextId)
-
-