|
Oracle Configuration Interface Object API Specification Version: 11.5.10.23.13 Part No: B14186-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--oracle.apps.fnd.common.Context
|
+--oracle.apps.cz.common.CZContext
Deprecated. for non-mobile users
Represents the runtime context of a configuration session. The context owns the database connection, resources, and log object. It also maintains apps, user, and language information. CZContext is a shadow of the oracle.apps.fnd.common.AppsContext implementation and is designed to operate outside of the middle-tier Oracle Apps environment. This object is to be used only by mobile customers. All others should use either CZAppsContext or CZWebAppsContext.
| Field Summary | |
static java.lang.String |
RCS_IDDeprecated. |
static boolean |
RCS_ID_RECORDEDDeprecated. |
| Fields inherited from interface oracle.apps.cz.common.ICZContext |
LT_APPS_CONTEXT, LT_APPS_DBC_CONTEXT, LT_CZ_CONTEXT, LT_ICX_CONTEXT, LT_MOBILE_CONTEXT |
| Constructor Summary | |
CZContext(java.lang.String url, java.lang.String dbOwner)Deprecated. Creates a new CZContext containing a connection established with the supplied database url. |
|
CZContext(java.lang.String url, java.lang.String user, java.lang.String password, java.lang.String dbOwner)Deprecated. Creates a new CZContext containing a connection established with the supplied database url, user name, and password. |
|
| Method Summary | |
void |
createConnection(java.lang.String url, java.lang.String user, java.lang.String password)Deprecated. Creates a new JDBC connection. |
void |
freeContext()Deprecated. Releases the resources associated with the context |
int |
getAppId(java.lang.String applShtName)Deprecated. Returns the application ID for product configuration (CZ). |
java.lang.String |
getCurrLangCode()Deprecated. Returns the current language code. |
oracle.apps.fnd.common.LangInfo |
getCurrLangInfo()Deprecated. This method is restricted. |
java.lang.String |
getDbOwner()Deprecated. Returns name of Oracle Configurator Schema owner. |
oracle.apps.fnd.common.EnvironmentStore |
getEnvStore()Deprecated. CZContext does not contain an environment store, so this method will always throw a RuntimeException. |
oracle.apps.cz.common.UiXmlInitMessage |
getInitializeMessage()Deprecated. Returns the parsed XML initialization message. |
java.lang.String |
getInstance()Deprecated. Returns database instance name. |
java.sql.Connection |
getJDBCConnection()Deprecated. |
java.sql.Connection |
getJDBCConnection(java.lang.Object pThis)Deprecated. Returns the JDBC connection. |
java.lang.String |
getLangCode(java.lang.String pNLSLang)Deprecated. This method is restricted. |
oracle.apps.fnd.common.LangInfo |
getLangInfo(java.lang.String pLangCode, java.lang.String pNLSLang)Deprecated. This method is restricted. |
int |
getLoginType()Deprecated. Gets the context's login type. |
java.lang.String |
getName()Deprecated. Returns the context's moniker |
java.lang.String |
getNLSLang(java.lang.String pLangCode)Deprecated. This method is restricted. |
oracle.apps.fnd.security.SessionManager |
getSessionManager()Deprecated. This method is restricted. |
java.lang.String |
getUrl()Deprecated. Returns the JDBC URL. |
java.lang.String |
getUser()Deprecated. Returns the user name. |
boolean |
isAlive()Deprecated. Returns true if connection is alive, false otherwise. |
boolean |
isCompatibleConnection(oracle.apps.cz.common.UiXmlInitMessage msg)Deprecated. Returns true if connection is compatible, false otherwise. |
boolean |
isSessionAlive()Deprecated. Returns true if db session is alive, false otherwise. |
void |
releaseJDBCConnection()Deprecated. |
boolean |
setCurrLang(java.lang.String pLangCode)Deprecated. Sets the current language code. |
void |
setInitializeMessage(oracle.apps.cz.common.UiXmlInitMessage msg)Deprecated. Sets the parsed XML initialization message. |
void |
setLoginType(int loginType)Deprecated. Sets the context's login type. |
void |
setName(java.lang.String name)Deprecated. Sets the context's moniker |
| Methods inherited from class oracle.apps.fnd.common.Context |
getDatabaseId, getErrorStack, getExtraJDBCConnection, getExtraJDBCConnection, getExtraJDBCConnection, getJDBCConnection, getLog, getPreferenceStore, getProfileStore, getResourceStore, getSessionId, releaseExtraJDBCConnection, releaseJDBCConnection, setContextProperties, setContextProperty, setContextProperty, setContextProperty, setLog, setPreferenceStore, setResourceStore, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String RCS_ID
public static final boolean RCS_ID_RECORDED
| Constructor Detail |
public CZContext(java.lang.String url,
java.lang.String dbOwner)
throws java.sql.SQLException
url - The full url of the database.dbOwner - the schema owner of the Oracle Configurator tables
public CZContext(java.lang.String url,
java.lang.String user,
java.lang.String password,
java.lang.String dbOwner)
throws java.sql.SQLException
url - The full url of the database.user - The database user name.password - The user password.dbOwner - the schema owner of the Oracle Configurator tables| Method Detail |
public java.lang.String getName()
getName in interface ICZContextpublic void setName(java.lang.String name)
setName in interface ICZContextpublic java.lang.String getDbOwner()
public java.lang.String getUrl()
public java.lang.String getUser()
public java.lang.String getInstance()
public void setLoginType(int loginType)
ICZContextsetLoginType in interface ICZContextloginType - Login typepublic int getLoginType()
ICZContextgetLoginType in interface ICZContextpublic oracle.apps.cz.common.UiXmlInitMessage getInitializeMessage()
ICZContextgetInitializeMessage in interface ICZContextpublic void setInitializeMessage(oracle.apps.cz.common.UiXmlInitMessage msg)
ICZContextsetInitializeMessage in interface ICZContextpublic boolean isAlive()
ICZContextisAlive in interface ICZContextpublic boolean isSessionAlive()
ICZContextisSessionAlive in interface ICZContextpublic boolean isCompatibleConnection(oracle.apps.cz.common.UiXmlInitMessage msg)
ICZContextisCompatibleConnection in interface ICZContextpublic java.sql.Connection getJDBCConnection(java.lang.Object pThis)
getJDBCConnection in class oracle.apps.fnd.common.Contextpublic java.sql.Connection getJDBCConnection()
getJDBCConnection in class oracle.apps.fnd.common.Contextpublic void releaseJDBCConnection()
releaseJDBCConnection in class oracle.apps.fnd.common.Contextpublic oracle.apps.fnd.security.SessionManager getSessionManager()
getSessionManager in class oracle.apps.fnd.common.Contextpublic oracle.apps.fnd.common.LangInfo getCurrLangInfo()
public java.lang.String getCurrLangCode()
public boolean setCurrLang(java.lang.String pLangCode)
public oracle.apps.fnd.common.EnvironmentStore getEnvStore()
getEnvStore in class oracle.apps.fnd.common.Context
public oracle.apps.fnd.common.LangInfo getLangInfo(java.lang.String pLangCode,
java.lang.String pNLSLang)
public java.lang.String getLangCode(java.lang.String pNLSLang)
public java.lang.String getNLSLang(java.lang.String pLangCode)
public int getAppId(java.lang.String applShtName)
public void createConnection(java.lang.String url,
java.lang.String user,
java.lang.String password)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void freeContext()
ICZContextfreeContext in interface ICZContext
|
Oracle Configuration Interface Object API Specification Version: 11.5.10.23.13 Part No: B14186-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1999, 2004, Oracle. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.