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(java.lang.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(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)
-
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
-
-
-
-
Method Detail
-
getTenant
public TenantResource getTenant(java.lang.String id)
- Specified by:
getTenant
in interfaceTenantRestService
-
queryTenants
public java.util.List<TenantDto> queryTenants(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.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()
-
-