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