@groovy.transform.CompileStatic class DefaultTenantService extends java.lang.Object
Default implementation of the TenantService interface
Type | Name and description |
---|---|
java.io.Serializable |
currentId() |
void |
eachTenant(groovy.lang.Closure callable) |
protected MultiTenantCapableDatastore |
multiTenantDatastore() |
T |
withCurrent(groovy.lang.Closure<T> callable) |
T |
withId(java.io.Serializable tenantId, groovy.lang.Closure<T> callable) |
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(long), java.lang.Object#wait(), 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() |