Interface TenantRestService

  • All Known Implementing Classes:
    TenantRestServiceImpl

    @Produces("application/json")
    public interface TenantRestService
    • Method Detail

      • getTenant

        @Path("/{id}")
        TenantResource getTenant​(@PathParam("id")
                                 java.lang.String id)
      • queryTenants

        @GET
        @Produces("application/json")
        java.util.List<TenantDto> queryTenants​(@Context
                                               javax.ws.rs.core.UriInfo uriInfo,
                                               @QueryParam("firstResult")
                                               java.lang.Integer firstResult,
                                               @QueryParam("maxResults")
                                               java.lang.Integer maxResults)
      • getTenantCount

        @GET
        @Path("/count")
        @Produces("application/json")
        CountResultDto getTenantCount​(@Context
                                      javax.ws.rs.core.UriInfo uriInfo)
      • createTenant

        @POST
        @Path("/create")
        @Consumes("application/json")
        void createTenant​(TenantDto tenant)
      • availableOperations

        @OPTIONS
        @Produces("application/json")
        ResourceOptionsDto availableOperations​(@Context
                                               javax.ws.rs.core.UriInfo context)