Class ContextResource


  • @Path("/adminmanagement/v1")
    @ApplicationPath("webresources")
    public class ContextResource
    extends java.lang.Object
    • 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 queryDsl
      javax.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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