public interface TenantsFacade
| Modifier and Type | Method and Description |
|---|---|
List<TenantData> |
getAllSlaveTenants()
Returns a list of
TenantDatas containing the most important information about slave tenants. |
String |
getCurrentTenantID()
returns the current tenantID
|
Map<String,ConfiguredExtensionData> |
getExtensionsForMasterTenant()
Gets the Map of all extension names for master tenant, where key is the name of extension and value is data object
which determines whether particular extension is configured for master tenant or not , whether
extension has a web module and what is the given context name for current tenant (if applicable).
|
Map<String,ConfiguredExtensionData> |
getExtensionsForSlaveTenant(String slaveTenantId)
Gets the Map of all extension names for slave tenant, where key is the name of extension and value is data object
which determines whether particular extension is configured for
slaveTenantId or not , whether
extension has a web module and what is the given context name for current tenant (if applicable). |
TenantData |
getMasterTenant()
Gets the master
TenantData. |
TenantData |
getSlaveTenant(String slaveTenantId)
Gets the slave
TenantData for given slaveTenantId. |
boolean |
isCurrentTenantMaster()
Checks if the current tenant is master tenant.
|
List<TenantData> getAllSlaveTenants()
TenantDatas containing the most important information about slave tenants. If master
tenant is not the currently used tenant - an empty list will always be returned.String getCurrentTenantID()
Map<String,ConfiguredExtensionData> getExtensionsForSlaveTenant(String slaveTenantId)
slaveTenantId or not , whether
extension has a web module and what is the given context name for current tenant (if applicable).slaveTenantId - the slave tenant idMap<String,ConfiguredExtensionData> getExtensionsForMasterTenant()
TenantData getSlaveTenant(String slaveTenantId)
TenantData for given slaveTenantId.slaveTenantId - the slave tenant idTenantData getMasterTenant()
TenantData.boolean isCurrentTenantMaster()
Copyright © 2017 SAP SE. All Rights Reserved.