Class FlowableTenantInfoHolder

  • All Implemented Interfaces:
    org.flowable.common.engine.impl.cfg.multitenant.TenantInfoHolder

    public class FlowableTenantInfoHolder
    extends Object
    implements org.flowable.common.engine.impl.cfg.multitenant.TenantInfoHolder
    Author:
    qinman, zhangchongjie
    Date:
    2022/12/30
    • Constructor Detail

      • FlowableTenantInfoHolder

        public FlowableTenantInfoHolder()
    • Method Detail

      • clear

        public static void clear()
      • getTenantId

        public static String getTenantId()
      • setTenantId

        public static void setTenantId​(String tenantId)
      • addTenant

        public void addTenant​(String tenantId)
      • clearCurrentTenantId

        public void clearCurrentTenantId()
        Specified by:
        clearCurrentTenantId in interface org.flowable.common.engine.impl.cfg.multitenant.TenantInfoHolder
      • getAllTenants

        public Collection<String> getAllTenants()
        Specified by:
        getAllTenants in interface org.flowable.common.engine.impl.cfg.multitenant.TenantInfoHolder
      • getCurrentTenantId

        public String getCurrentTenantId()
        Specified by:
        getCurrentTenantId in interface org.flowable.common.engine.impl.cfg.multitenant.TenantInfoHolder
      • setCurrentTenantId

        public void setCurrentTenantId​(String tenantId)
        Specified by:
        setCurrentTenantId in interface org.flowable.common.engine.impl.cfg.multitenant.TenantInfoHolder