Class AdminContextResource


  • @Path("/v1/admin")
    public class AdminContextResource
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ADMIN_TENANT  
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ADMIN_TENANT

        public static final int ADMIN_TENANT
    • 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)