public abstract class SQLTenantAware extends BizEntity implements TenantAware
Modifier and Type | Field and Description |
---|---|
static sirius.db.mixing.Mapping |
TENANT
Contains the tenant the entity belongs to.
|
Constructor and Description |
---|
SQLTenantAware() |
Modifier and Type | Method and Description |
---|---|
sirius.db.jdbc.SQLEntityRef<Tenant> |
getTenant() |
String |
getTenantAsString() |
void |
setCurrentTenant() |
getTrace, isAnyColumnChangedExceptNoJournal
equals, getFetchRow, getId, getMapper, hashCode, isNew, isUnique, setId
assertUnique, getDescriptor, getIdAsString, getTypeName, getUniqueName, getVersion, isAnyMappingChanged, isChanged, setVersion, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
assertSameTenant
public static final sirius.db.mixing.Mapping TENANT
public sirius.db.jdbc.SQLEntityRef<Tenant> getTenant()
public String getTenantAsString()
getTenantAsString
in interface TenantAware
public void setCurrentTenant()
setCurrentTenant
in interface TenantAware
Copyright © 2018. All rights reserved.