public interface TenantFacade
Modifier and Type | Method and Description |
---|---|
Tenant |
getCurrentTenant()
Returns the current
Tenant . |
Tenant getCurrentTenant() throws TenantNotAvailableException, TenantAccessException
Tenant
.TenantNotAvailableException
- If there is currently no Tenant
available. This typically occurs when trying to access the
tenant within code that is running outside any tenant context, e.g., within a background task.TenantAccessException
- If there is an issue while accessing the Tenant
.Copyright © 2018 SAP SE. All rights reserved.