public interface TenantLookupService
| Modifier and Type | Method and Description |
|---|---|
com.edorasware.commons.core.entity.TenantId |
getTenantIdByName(String tenantName)
Returns the tenant id for the specified tenant name.
|
String |
getTenantNameById(com.edorasware.commons.core.entity.TenantId tenantId)
Returns the tenant name for the specified tenant ID.
|
com.edorasware.commons.core.entity.TenantId getTenantIdByName(String tenantName)
tenantName - the name of the tenant to return its idIllegalArgumentException - if the tenant could not be foundString getTenantNameById(com.edorasware.commons.core.entity.TenantId tenantId)
tenantId - the id of the tenant to return its nameIllegalArgumentException - if the tenant could not be foundCopyright © 2010 - 2017 edorasware ag. All Rights Reserved.