E
- public class TenantAwareObj<E> extends TenantLevelObj<E>
Constructor and Description |
---|
TenantAwareObj() |
Modifier and Type | Method and Description |
---|---|
E |
get(boolean nocontextIsFine) |
E |
getMasterObject() |
E |
getObjectInContext() |
void |
set(E obj,
boolean nocontextIsFine)
Set the object and not throwing the error if the tenant context is not set.
|
clearAllTenants, clearByMaster, clearTenant, get, hasObjectInCurrentContext, removeObjectInContext, set, set
public E getMasterObject()
public E getObjectInContext()
public E get(boolean nocontextIsFine)
public void set(E obj, boolean nocontextIsFine)
E
- the object to be setboolean
- not throwing the no context set message if true.