public class TenantUtil extends Object
Modifier and Type | Method and Description |
---|---|
static List<String> |
convertToTenantAwareGroupId(List<String> groupKeys,
String tenantId) |
static String |
createGroupId(String groupKey,
String tenantId)
When running multi-tenant, the group id gets prefixed with the tenantId,
to avoid clashes when having the same key for different groups
and easy recognition of important groups at the same time.
|
static boolean |
isBlankOrDefaultTenant(String tenantId) |
static boolean |
isDefaultTenant(String tenantId) |
static boolean |
isNotBlankOrDefaultTenant(String tenantId) |
public static boolean isBlankOrDefaultTenant(String tenantId)
public static boolean isNotBlankOrDefaultTenant(String tenantId)
public static boolean isDefaultTenant(String tenantId)
public static String createGroupId(String groupKey, String tenantId)