Class TenantUtil
- java.lang.Object
-
- com.flowable.platform.common.util.TenantUtil
-
public class TenantUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>convertToTenantAwareGroupId(List<String> groupKeys, String tenantId)static StringcreateGroupId(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 booleanisBlankOrDefaultTenant(String tenantId)static booleanisDefaultTenant(String tenantId)static booleanisNotBlankOrDefaultTenant(String tenantId)
-
-
-
Method Detail
-
isBlankOrDefaultTenant
public static boolean isBlankOrDefaultTenant(String tenantId)
-
isNotBlankOrDefaultTenant
public static boolean isNotBlankOrDefaultTenant(String tenantId)
-
isDefaultTenant
public static boolean isDefaultTenant(String tenantId)
-
createGroupId
public 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.
-
-