org.camunda.bpm.engine.rest.impl
Class TenantRestServiceImpl

java.lang.Object
  extended by org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
      extended by org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
          extended by org.camunda.bpm.engine.rest.impl.AbstractAuthorizedRestResource
              extended by 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
TenantRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface TenantRestService

queryTenants

public List<TenantDto> queryTenants(javax.ws.rs.core.UriInfo uriInfo,
                                    Integer firstResult,
                                    Integer maxResults)
Specified by:
queryTenants in interface TenantRestService

getTenantCount

public CountResultDto getTenantCount(javax.ws.rs.core.UriInfo uriInfo)
Specified by:
getTenantCount in interface TenantRestService

createTenant

public void createTenant(TenantDto dto)
Specified by:
createTenant in interface TenantRestService

availableOperations

public ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
Specified by:
availableOperations in interface TenantRestService

executePaginatedQuery

protected List<Tenant> executePaginatedQuery(TenantQuery query,
                                             Integer firstResult,
                                             Integer maxResults)

getIdentityService

protected IdentityService getIdentityService()


Copyright © 2016 camunda services GmbH. All rights reserved.