use of org.camunda.bpm.engine.rest.dto.identity.TenantDto in project camunda-bpm-platform by camunda.
the class TenantResourceImpl method getTenant.
public TenantDto getTenant(UriInfo context) {
Tenant tenant = findTenantObject();
if (tenant == null) {
throw new InvalidRequestException(Status.NOT_FOUND, "Tenant with id " + resourceId + " does not exist");
}
TenantDto dto = TenantDto.fromTenant(tenant);
return dto;
}
Aggregations