public class TenantManager extends Object
| Modifier and Type | Method and Description |
|---|---|
static TenantFactory |
getTenantFactory() |
static Object[] |
getTenantIds()
Deprecated.
使用
getTenantIds(String) 代替。 |
static Object[] |
getTenantIds(String tableName) |
static void |
ignoreTenantCondition()
忽略 tenant 条件
|
static void |
restoreTenantCondition()
恢复 tenant 条件
|
static void |
setTenantFactory(TenantFactory tenantFactory) |
static void |
withoutTenantCondition(Runnable runnable)
忽略 tenant 条件
|
static <T> T |
withoutTenantCondition(Supplier<T> supplier)
忽略 tenant 条件
|
public static TenantFactory getTenantFactory()
public static void setTenantFactory(TenantFactory tenantFactory)
public static <T> T withoutTenantCondition(Supplier<T> supplier)
public static void withoutTenantCondition(Runnable runnable)
public static void ignoreTenantCondition()
public static void restoreTenantCondition()
@Deprecated public static Object[] getTenantIds()
getTenantIds(String) 代替。Copyright © 2024. All rights reserved.