Package org.camunda.bpm.engine.rest
Interface TenantRestService
-
- All Known Implementing Classes:
TenantRestServiceImpl
@Produces("application/json") public interface TenantRestService
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PATH
-
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(java.lang.String id)
CountResultDto
getTenantCount(javax.ws.rs.core.UriInfo uriInfo)
java.util.List<TenantDto>
queryTenants(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
-
-
-
Field Detail
-
PATH
static final java.lang.String PATH
- See Also:
- Constant Field Values
-
-
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)
-
-