public class TenantIdData
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
TenantIdData(TenantIdInfo tenantIdInfo)
Sets the rowstamp information to be used by this.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTenantId(java.lang.String tableName,
int tenantIdValue)
Caches the passed rowstamp value internally.
|
int |
getTenantIdValue(java.lang.String tableName)
Returns the rowstamp value for the given table name.
|
public TenantIdData(TenantIdInfo tenantIdInfo)
rowStampInfo - the rowstamp information to be used by this.public void addTenantId(java.lang.String tableName,
int tenantIdValue)
tableName - table name that represents the rowstamp value.rowStampValue - rowstamp value fetched from database.public int getTenantIdValue(java.lang.String tableName)
tableName - table name for which rowstamp value is needed.