|
Oracle Fusion Middleware extensions for Seed Data Framework 11g Release 1 (11.1.2) E22564-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applseed.rt.common.util.SDMultiTenancyUtil
public class SDMultiTenancyUtil
Constructor Summary | |
---|---|
SDMultiTenancyUtil()
|
Method Summary | |
---|---|
static void |
add2SyncList(java.util.List<SDTable> tables,
oracle.jbo.server.DBTransaction dbt,
java.sql.Timestamp t)
Insert pending changes to snyc table. |
static java.util.Map<java.lang.String,java.lang.String> |
getActiveEnterprises(oracle.jbo.server.DBTransaction dbt)
Get the map of the active enterprises. |
static java.lang.String |
getAdjustedEnterpriseIdForExtract(java.lang.Object attrValue)
Returns the 'adjusted' enterprise id. |
static java.lang.String |
getDefaultEnterprise()
Returns the "default" enterprise for a given system or null if none. |
static java.lang.String |
getEnterpriseContext(oracle.jbo.server.DBTransaction dbt)
Get Enterprise context id value |
static boolean |
isMultiTenancySupportNeeded(oracle.jbo.ApplicationModule appModule)
Returns true if multi tenant behavior is desired. |
static boolean |
isMultiTenantSystem(oracle.jbo.server.DBTransaction dbt)
Determine if there are multiple tenants in the system. |
static void |
setEnterpriseContext(oracle.jbo.server.DBTransaction dbt,
java.lang.String eid)
Set Enterprise context id value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SDMultiTenancyUtil()
Method Detail |
---|
public static java.util.Map<java.lang.String,java.lang.String> getActiveEnterprises(oracle.jbo.server.DBTransaction dbt) throws java.sql.SQLException
dbt
- DBTransaction
java.sql.SQLException
public static void setEnterpriseContext(oracle.jbo.server.DBTransaction dbt, java.lang.String eid) throws java.sql.SQLException
dbt
- DBTransactioneid
- enterprise context
java.sql.SQLException
public static java.lang.String getEnterpriseContext(oracle.jbo.server.DBTransaction dbt) throws java.sql.SQLException
dbt
- DBTransaction
java.sql.SQLException
public static boolean isMultiTenancySupportNeeded(oracle.jbo.ApplicationModule appModule)
public static java.lang.String getDefaultEnterprise()
public static java.lang.String getAdjustedEnterpriseIdForExtract(java.lang.Object attrValue)
attrValue
- the eid as read from the database
public static void add2SyncList(java.util.List<SDTable> tables, oracle.jbo.server.DBTransaction dbt, java.sql.Timestamp t) throws java.sql.SQLException
tables
- List of SDTabledbt
- DBTransactiont
- Timestamp
java.sql.SQLException
public static boolean isMultiTenantSystem(oracle.jbo.server.DBTransaction dbt) throws java.sql.SQLException
dbt
- DBTransaction
java.sql.SQLException
|
Oracle Fusion Middleware extensions for Seed Data Framework 11g Release 1 (11.1.2) E22564-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |