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
nullvalue representing the provider tenant.
-
readTenantsInfo
- Parameters:
fields- A set of fields to retain from theTenantInfoobject.- Returns:
- A list of
TenantInfofor all tenants that are currently subscribed to this application. In single tenant scenario the list contains a singleTenantInfoobject with tenantnullrepresenting the provider tenant.
-
readTenantsInfo
List<TenantInfo> readTenantsInfo()- Returns:
- A list of
TenantInfofor all tenants that are currently subscribed to this application. In single tenant scenario the list contains a singleTenantInfoobject with tenantnullrepresenting the provider tenant.
-
readProviderTenant
String readProviderTenant()- Returns:
- The tenant identifier of the tenant that provides this application. In single tenant
scenario the value
nullis returned.
-