A trait for domain classes to implement that should be treated as multi tenant
| Type | Name and description | 
|---|---|
static GormAllOperations<D> | 
                            eachTenant(groovy.lang.Closure callable)Execute the closure for each tenant  | 
                        
static T | 
                            withTenant(java.io.Serializable tenantId, groovy.lang.Closure<T> callable)Execute the closure with the given tenantId  | 
                        
static GormAllOperations<D> | 
                            withTenant(java.io.Serializable tenantId)Return the GormAllOperations for the given tenant id  | 
                        
Execute the closure for each tenant
callable -  The closureExecute the closure with the given tenantId
tenantId -  The tenant idcallable -  The closureReturn the GormAllOperations for the given tenant id
tenantId -  The tenant id