public class TenantResourceImpl extends AbstractIdentityResource implements TenantResource
identityService
resource, resourceId
objectMapper, relativeRootResourcePath
processEngine
Constructor and Description |
---|
TenantResourceImpl(String processEngineName,
String tenantId,
String rootResourcePath,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
ResourceOptionsDto |
availableOperations(javax.ws.rs.core.UriInfo context) |
void |
deleteTenant() |
protected Tenant |
findTenantObject() |
TenantDto |
getTenant(javax.ws.rs.core.UriInfo context) |
TenantGroupMembersResource |
getTenantGroupMembersResource() |
TenantUserMembersResource |
getTenantUserMembersResource() |
void |
updateTenant(TenantDto tenantDto) |
ensureNotReadOnly
isAuthorized, isAuthorized, isAuthorized
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
public TenantDto getTenant(javax.ws.rs.core.UriInfo context)
getTenant
in interface TenantResource
public void updateTenant(TenantDto tenantDto)
updateTenant
in interface TenantResource
public void deleteTenant()
deleteTenant
in interface TenantResource
public ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
availableOperations
in interface TenantResource
public TenantUserMembersResource getTenantUserMembersResource()
getTenantUserMembersResource
in interface TenantResource
public TenantGroupMembersResource getTenantGroupMembersResource()
getTenantGroupMembersResource
in interface TenantResource
protected Tenant findTenantObject()
Copyright © 2022. All rights reserved.