Package com.sap.cds.services.mt
Interface TenantProviderService
- All Superinterfaces:
Service
Interface for a
Service
that provides tenant information.-
Field Details
-
DEFAULT_NAME
- See Also:
-
EVENT_READ_TENANTS
- See Also:
-
EVENT_READ_PROVIDER_TENANT
- See Also:
-
-
Method Details
-
readTenants
- Returns:
- A list of tenant identifiers that are currently subscribed to this application.
In single tenant scenario the list contains a single
null
value representing the provider tenant.
-
readTenantsInfo
List<TenantInfo> readTenantsInfo()- Returns:
- A list of
TenantInfo
for all tenants that are currently subscribed to this application. In single tenant scenario the list contains a singleTenantInfo
object with tenantnull
representing the provider tenant.
-
readProviderTenant
String readProviderTenant()- Returns:
- The tenant identifier of the tenant that provides this application.
In single tenant scenario the value
null
is returned.
-