Package org.camunda.bpm.engine.rest.impl
Class TenantRestServiceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
-
- org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
-
- org.camunda.bpm.engine.rest.impl.AbstractAuthorizedRestResource
-
- org.camunda.bpm.engine.rest.impl.TenantRestServiceImpl
-
- All Implemented Interfaces:
TenantRestService
public class TenantRestServiceImpl extends AbstractAuthorizedRestResource implements TenantRestService
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractAuthorizedRestResource
resource, resourceId
-
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper, relativeRootResourcePath
-
Fields inherited from class org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
processEngine
-
Fields inherited from interface org.camunda.bpm.engine.rest.TenantRestService
PATH
-
-
Constructor Summary
Constructors Constructor Description TenantRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceOptionsDto
availableOperations(javax.ws.rs.core.UriInfo context)
void
createTenant(TenantDto dto)
protected List<Tenant>
executePaginatedQuery(TenantQuery query, Integer firstResult, Integer maxResults)
protected IdentityService
getIdentityService()
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)
-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractAuthorizedRestResource
isAuthorized, isAuthorized, isAuthorized
-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
-
-
-
Constructor Detail
-
TenantRestServiceImpl
public TenantRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
getTenant
public TenantResource getTenant(String id)
- Specified by:
getTenant
in interfaceTenantRestService
-
queryTenants
public List<TenantDto> queryTenants(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
- Specified by:
queryTenants
in interfaceTenantRestService
-
getTenantCount
public CountResultDto getTenantCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getTenantCount
in interfaceTenantRestService
-
createTenant
public void createTenant(TenantDto dto)
- Specified by:
createTenant
in interfaceTenantRestService
-
availableOperations
public ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
- Specified by:
availableOperations
in interfaceTenantRestService
-
executePaginatedQuery
protected List<Tenant> executePaginatedQuery(TenantQuery query, Integer firstResult, Integer maxResults)
-
getIdentityService
protected IdentityService getIdentityService()
-
-