Package org.camunda.bpm.engine.rest
Interface TenantRestService
-
- All Known Implementing Classes:
TenantRestServiceImpl
@Produces("application/json") public interface TenantRestService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceOptionsDto
availableOperations(javax.ws.rs.core.UriInfo context)
void
createTenant(TenantDto tenant)
TenantResource
getTenant(String id)
CountResultDto
getTenantCount(javax.ws.rs.core.UriInfo uriInfo)
List<TenantDto>
queryTenants(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
-
-
-
Field Detail
-
PATH
static final String PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTenant
@Path("/{id}") TenantResource getTenant(@PathParam("id") String id)
-
queryTenants
@GET @Produces("application/json") List<TenantDto> queryTenants(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam("firstResult") Integer firstResult, @QueryParam("maxResults") 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)
-
-