Package com.axelor.db.tenants
Class TenantInfo
java.lang.Object
com.axelor.db.tenants.TenantInfo
-
Method Summary
Modifier and TypeMethodDescriptionGets the host-resolved tenant ID, if applicable.Gets the map of tenant IDs to tenant names that are available.static TenantInfo
static TenantInfo
-
Method Details
-
single
-
multiple
-
getHostTenant
Gets the host-resolved tenant ID, if applicable.- Returns:
- tenant ID or null
-
getTenants
Gets the map of tenant IDs to tenant names that are available.- Returns:
- map of tenant IDs to tenant names
-