Class ContextResource
java.lang.Object
fr.gouv.vitam.functional.administration.rest.ContextResource
@Path("/adminmanagement/v1")
@ApplicationPath("webresources")
public class ContextResource
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
findContexts
(com.fasterxml.jackson.databind.JsonNode queryDsl) Find contexts by queryDsljavax.ws.rs.core.Response
importContexts
(List<ContextModel> ContextModelList, javax.ws.rs.core.UriInfo uri) javax.ws.rs.core.Response
updateContexts
(String contextId, com.fasterxml.jackson.databind.JsonNode queryDsl) Update contexts
-
Constructor Details
-
ContextResource
- Parameters:
contextService
-
-
-
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
@GET @Path("/contexts") @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response findContexts(com.fasterxml.jackson.databind.JsonNode queryDsl) Find contexts by queryDsl- Parameters:
queryDsl
-- Returns:
- Response
-
updateContexts
@Path("/context/{id}") @PUT @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response updateContexts(@PathParam("id") String contextId, com.fasterxml.jackson.databind.JsonNode queryDsl) Update contexts- Parameters:
contextId
-queryDsl
-- Returns:
- Response
-