Package org.camunda.bpm.engine.rest.impl
Class TenantRestServiceImpl
- java.lang.Object
-
- 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 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 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
-
getIdentityService
protected IdentityService getIdentityService()
-
-