@groovy.transform.CompileStatic class DefaultTenantService extends java.lang.Object implements Service, TenantService
Default implementation of the TenantService interface
Constructor and description |
---|
DefaultTenantService() |
Type Params | Return Type | Name and description |
---|---|---|
|
java.io.Serializable |
currentId() |
|
void |
eachTenant(groovy.lang.Closure callable) |
|
protected MultiTenantCapableDatastore |
multiTenantDatastore() |
<T> |
T |
withCurrent(groovy.lang.Closure<T> callable) |
<T> |
T |
withId(java.io.Serializable tenantId, groovy.lang.Closure<T> callable) |
<T> |
T |
withoutId(groovy.lang.Closure<T> callable) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |