public class TenantRestServiceImpl extends AbstractAuthorizedRestResource implements TenantRestService
resource, resourceId
objectMapper, relativeRootResourcePath
processEngine
PATH
Constructor and Description |
---|
TenantRestServiceImpl(String engineName,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and 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) |
isAuthorized, isAuthorized, isAuthorized
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
public TenantRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public TenantResource getTenant(String id)
getTenant
in interface TenantRestService
public List<TenantDto> queryTenants(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
queryTenants
in interface TenantRestService
public CountResultDto getTenantCount(javax.ws.rs.core.UriInfo uriInfo)
getTenantCount
in interface TenantRestService
public void createTenant(TenantDto dto)
createTenant
in interface TenantRestService
public ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
availableOperations
in interface TenantRestService
protected List<Tenant> executePaginatedQuery(TenantQuery query, Integer firstResult, Integer maxResults)
protected IdentityService getIdentityService()
Copyright © 2022. All rights reserved.