Class ContextResource
- java.lang.Object
-
- fr.gouv.vitam.functional.administration.rest.ContextResource
-
@Path("/adminmanagement/v1") @ApplicationPath("webresources") public class ContextResource extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ContextResource(ContextService contextService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
findContexts(com.fasterxml.jackson.databind.JsonNode queryDsl)
Find contexts by queryDsljavax.ws.rs.core.Response
importContexts(java.util.List<ContextModel> ContextModelList, javax.ws.rs.core.UriInfo uri)
javax.ws.rs.core.Response
updateContexts(java.lang.String contextId, com.fasterxml.jackson.databind.JsonNode queryDsl)
Update contexts
-
-
-
Constructor Detail
-
ContextResource
public ContextResource(ContextService contextService)
- Parameters:
contextService
-
-
-
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
@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") java.lang.String contextId, com.fasterxml.jackson.databind.JsonNode queryDsl)
Update contexts- Parameters:
contextId
-queryDsl
-- Returns:
- Response
-
-