Class ContextResource

java.lang.Object
fr.gouv.vitam.functional.administration.rest.ContextResource

@Path("/adminmanagement/v1") @ApplicationPath("webresources") public class ContextResource extends Object
  • Constructor Details

    • ContextResource

      public ContextResource(ContextService contextService)
      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