|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.common.ApplSessionUtil
public final class ApplSessionUtil
This is a utility class on top of the ApplSession class, which will likely be the primary window that product teams access ApplSession functionality through. All the API's are static, and allow product teams to retrieve and set information on whatever the current FND session is, without having to worry about retrieving or caching an actual FND session object.
Field Summary | |
---|---|
static java.lang.String |
GLOBAL_ENTERPRISE_ID
The enterprise ID for the base data in a multi-tenant enabled environment. |
Constructor Summary | |
---|---|
ApplSessionUtil()
|
Method Summary | |
---|---|
static void |
attachConnectionToSession(java.lang.String sessionID,
java.lang.String sessionCookie,
java.sql.Connection conn)
this is almost identical to attachToSession.. |
static ApplSession |
attachToSession(java.lang.String sessionID,
java.lang.String sessionCookie,
java.sql.Connection conn)
attachToSession is called to attach to an existing session. |
static boolean |
currentAppStripeLoaded()
Checks if the current application stripe has already had its roles loaded into the specified session. |
static boolean |
currentAppStripeLoaded(ApplSession session)
Checks if the current application stripe has already had its roles loaded into the specified session. |
static java.lang.String |
fetchUserDisplayName(java.lang.String userName,
java.lang.String displayNameLanguage)
|
static java.lang.String |
getAccessibilityMode()
Fetch the ACCESSIBILITY_MODE. |
static java.lang.String |
getAddtlCustomLevel()
Fetch the current ADDTL_CUSTOM_LEVEL If no session is available, this throws a JboException. |
static java.lang.Boolean |
getAnimationEnabled()
Fetch the user preference attribute - AnimationEnabled. |
static java.lang.Integer |
getApplicationID()
Return the current application ID. |
static java.lang.String |
getApplicationShortName()
Return the current application short name. |
static java.util.List<ApplRole> |
getApplRoles(javax.security.auth.Subject subject)
Helper method to obtain the role info from the Subject. |
static java.lang.String |
getClientEncoding()
Fetch the CLIENT_ENCODING value. |
static java.lang.String |
getColorContrast()
Fetch the user preference attribute - ColorContrast. |
static java.sql.Connection |
getConnection()
Returns a database connection initialized to the current session. |
static java.lang.String |
getCurrency()
Fetch the CURRENCY value. |
static java.lang.String |
getDateFormat()
Fetch the DATE_FORMAT value. |
static char |
getDecimalSeparator()
Fetch the DECIMAL_SEPARATOR value. |
static java.lang.String |
getDisplayNameLanguage()
Fetch the DISPLAY_NAME_LANGUAGE value. |
static java.lang.Boolean |
getEmbeddedHelpEnabled()
Fetch the user preference attribute - EmbeddedHelpEnabled. |
static java.lang.String |
getEnterpriseId()
Deprecated. in favor of getEnterpriseID() |
static java.lang.String |
getEnterpriseID()
Return the current user's enterprise ID |
static java.lang.String |
getFontSize()
Fetch the user preference attribute - FontSize. |
static java.lang.String |
getGlobal()
Return the constant "GLOBAL" |
static char |
getGroupingSeparator()
Fetch the GROUPING_SEPARATOR value. |
static java.lang.String |
getHCMUserId()
Deprecated. in favor of getHCMUserID |
static java.lang.String |
getHCMUserID()
|
static java.lang.String |
getHCMUserPersonId()
Deprecated. in favor of getHCMUserPersonID |
static java.lang.String |
getHCMUserPersonID()
|
static java.lang.String |
getHCMUserPrimaryAssignmentId()
Deprecated. in favor of getHCMUserPrimaryAssignmentID |
static java.lang.String |
getHCMUserPrimaryAssignmentID()
|
static java.lang.String |
getHCMUserPrimaryWorkTermsAssignmentId()
Deprecated. in favor of getHCMUserPrimaryWorkTermsAssignmentID |
static java.lang.String |
getHCMUserPrimaryWorkTermsAssignmentID()
|
static java.lang.String |
getHistoryOverrideUserName()
Fetch the current HISTORY_OVERRIDE_USER_NAME, where applicable. |
static java.lang.String |
getIndustry()
Fetch the current INDUSTRY If no session is available, this throws a JboException. |
static java.lang.String |
getIndustryInTerritory()
Fetch the current INDUSTRY_IN_TERRITORY If no session is available, this throws a JboException. |
static java.lang.String |
getIntegerFormat()
Fetch the user preference attribute - IntegerFormat. |
static java.lang.String |
getLanguage()
Fetch the LANGUAGE value. |
static java.lang.String |
getNamespaceAttribute(java.lang.String namespaceName,
java.lang.String attrName)
Return the value from the specified namespace. |
static java.lang.Integer |
getNamespaceAttributeNum(java.lang.String namespaceName,
java.lang.String attrName)
Return the value from the specified namespace as an Integer. |
static java.sql.Connection |
getNewConnection()
Establishes a new, vanilla database connection - first it checks for the presence of the "jdbc/ApplicationDBDS" datasource and pulls the connection from there. |
static java.lang.String |
getNLSLang()
Fetch the NLS_LANG value. |
static java.lang.String |
getNLSLanguage()
Fetch the NLS_LANGUAGE value. |
static java.lang.String |
getNLSSort()
Fetch the NLS_SORT value. |
static java.lang.String |
getNumberFormat()
Fetch the user preference attribute - NumberFormat. |
static java.lang.String |
getProduct()
Fetch the current PRODUCT If no session is available, this throws a JboException. |
static java.lang.String |
getProductFamily()
Fetch the current PRODUCT_FAMILY If no session is available, this throws a JboException. |
static java.lang.String |
getProfileValue(java.lang.String profileName)
Utility method to get the Profile Value for a given Profile Name using the ProfileServiceAM. |
static java.lang.String |
getSandboxID()
Return the current user's sandbox ID |
static ApplSession |
getSession()
Returns the current ApplSession object, or null if there is no session available. |
static java.lang.String |
getSessionAttribute(java.lang.String name)
Return the specified attribute from the FND_SESSION_NAMESPACE. |
static java.lang.String |
getSessionAttribute(java.lang.String name,
java.lang.String defaultValue)
Return the specified attribute from the FND_SESSION_NAMESPACE. |
static java.lang.String |
getSessionAttribute(java.lang.String name,
java.lang.String defaultValue,
boolean setIfDefaulted)
Return the specified attribute from the FND_SESSION_NAMESPACE. |
static java.lang.String |
getSessionCookie()
Return the session cookie used to identify the current lightweight session. |
static ApplSessionManagement |
getSessionFromSessionCookie(java.lang.String SessionId,
java.lang.String sessionCookie,
java.sql.Connection conn)
|
static java.lang.String |
getSessionID()
Return the ID of the current lightweight session as a String. |
static java.lang.String |
getSessionRolesKey()
|
static java.lang.String |
getSite()
Return the hardcoded "SITE" value |
static javax.security.auth.Subject |
getSubject()
Version of getSubject that takes no arguments. |
static javax.security.auth.Subject |
getSubject(java.security.Principal principal)
Helper method to obtain the Subject. |
static java.lang.String |
getTerritory()
Fetch the current TERRITORY value. |
static java.lang.String |
getTimeFormat()
Fetch the TIME_FORMAT value. |
static java.lang.String |
getTimeZone()
Fetch the TIMEZONE value. |
static java.lang.String |
getUserDisplayName()
Fetch the DISPLAY_NAME value. |
static java.lang.String |
getUserGuid()
This returns the current applications user GUID. |
static java.util.ArrayList<java.lang.String> |
getUserLocale(java.lang.String userName)
Returns ArrayList containing 'name=value' pairs of LDAP preferences, which is passed along at session creation/conversion time to default the corresponding session attributes. |
static java.lang.String |
getUserName()
This returns the current applications user name. |
static java.util.HashMap<java.lang.String,java.lang.String> |
getUserPrefsFromLdap(java.lang.String userName)
|
static ApplSession |
initializeElevatedSession(javax.security.auth.Subject subject,
ApplUser submittingUser,
java.sql.Connection conn)
This variation of initializeSession takes in the Subject to create the session as, an optional connection to initialize, and a String representing the user whose context (eg language preferences, history columns) will be used by the session. |
static ApplSession |
initializeElevatedSession(javax.security.auth.Subject subject,
ApplUser submittingUser,
java.sql.Connection conn,
java.util.ArrayList<java.lang.String> attrs)
This variation of initializeSession takes in the Subject to create the session as, an optional connection to initialize, and a String representing the user whose context (eg language preferences, history columns) will be used by the session. |
static ApplSession |
initializeSession(java.lang.String sessionID,
java.sql.Connection conn)
This version of initializeSession takes in a session ID. |
static ApplSession |
initializeSession(java.lang.String userName,
java.lang.String password,
java.sql.Connection conn)
This calls the initializeSession that takes a username/password, but defaults the appName to the current app. |
static ApplSession |
initializeSession(java.lang.String userGuid,
java.lang.String userName,
java.util.List<java.lang.String> roleGuids,
java.util.List<java.lang.String> roleNames,
java.sql.Connection conn)
This version of initializeSession takes in the user and role information as Strings. |
static ApplSession |
initializeSession(java.lang.String userName,
java.lang.String password,
java.lang.String appName,
java.sql.Connection conn)
This version of initializeSession takes in a username and password, and invokes the JAASAuthenticationService to authenticate the login info and create a Subject if authentication succeeds. |
static ApplSession |
initializeSession(javax.security.auth.Subject subject,
java.sql.Connection conn)
When the code completes, the terminateSession method
should be called to free up the session. |
static ApplSession |
initializeSession(javax.security.auth.Subject subject,
java.sql.Connection conn,
java.util.ArrayList<java.lang.String> attrs)
For J2EE code, all aspects of session handling are taken care of automatically. |
static ApplSession |
initializeTrustedSession(java.lang.String userName,
java.lang.String appName,
java.sql.Connection conn)
Variation of initializeSession that creates a Subject for the specified user without requiring the password. |
static boolean |
isATGLiteApp()
|
static boolean |
isMultiTenantModeEnabled()
|
static java.lang.String |
parseNumberFormat(java.lang.String numberFormat)
For internal use only, public only so we can invoke this from our test code. |
static void |
removeProfileValue(java.lang.String profileName,
java.lang.String levelName,
java.lang.String levelValue)
Utility method to delte the Profile Value for a given Profile Name using the ProfileServiceAM. |
static void |
returnConnection(java.sql.Connection conn)
This should always be called after the caller is finished using the connection obtained by a call to ApplSessionUtil.getConnection(); . |
static java.lang.String |
setProfileValue(java.lang.String profileName,
java.lang.String levelName,
java.lang.String levelValue,
java.lang.String profileValue)
Utility method to set the Profile Value for a given Profile Name using the ProfileServiceAM. |
static void |
terminateSession()
The counterpart to initializeSession/attachToSession, this should be called after the code is finished with the session. |
static void |
terminateSession(boolean destroyFlag)
This version of terminateSession takes a boolean flag flag to indicate whether the session should be destroyed. |
static void |
terminateSession(java.sql.Connection conn)
The counterpart to initializeSession/attachToSession, this should be called after the code is finished with the session. |
static void |
terminateSession(java.sql.Connection conn,
boolean destroyFlag)
This version of terminateSession takes both the Connection to close and a boolean flag indicating whether the session should be destroyed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String GLOBAL_ENTERPRISE_ID
Constructor Detail |
---|
public ApplSessionUtil()
Method Detail |
---|
public static ApplSession initializeSession(javax.security.auth.Subject subject, java.sql.Connection conn, java.util.ArrayList<java.lang.String> attrs)
terminateSession
method
should be called to free up the session. If the initializeSession
was called with no arguments, it will obtain a database connection
on its own. If a connection is passed in as an argument, then the
caller is responsible for closing it.
This version of initializeSession takes in a Subject, which
should contain all the necessary User and Role information.
It also takes in a List of attributes that will get set on the
session upon initialization. This list can only contain 'known'
attributes, it does not allow for arbitrary session attributes to
be passed. The list of 'known' attributes is not published
as this is currently only for internal use - most product teams
are expected to call the version of the API that does not use this
argument.
When the code completes, the terminateSession
method
should be called to free up the session.
subject
- the Subject containing the user identity infoconn
- the connection to initialize. If this is null, a
connection will be obtained automatically.attrs
- a List of attributes that will get set as
session attributes upon initialization.
oracle.jbo.JboException
- if session initialization fails.terminateSession()
public static ApplSession initializeSession(javax.security.auth.Subject subject, java.sql.Connection conn)
terminateSession
method
should be called to free up the session. If the initializeSession
was called with no arguments, it will obtain a database connection
on its own. If a connection is passed in as an argument, then the
caller is responsible for closing it.
This version of initializeSession takes in a Subject, which
should contain all the necessary User and Role information.
When the code completes, the terminateSession
method
should be called to free up the session.
subject
- the Subject containing the user identity infoconn
- the connection to initialize. If this is null, a
connection will be obtained automatically.
oracle.jbo.JboException
- if session initialization fails.initializeSession(javax.security.auth.Subject, java.sql.Connection, java.util.ArrayList)
,
terminateSession()
public static ApplSession initializeElevatedSession(javax.security.auth.Subject subject, ApplUser submittingUser, java.sql.Connection conn, java.util.ArrayList<java.lang.String> attrs)
subject
- the Subject containing the user identity infosubmittingUser
- the user that is being represented by this
request - used by ESSconn
- the connection to initialize. If this is null, a
connection will be obtained automatically.
oracle.jbo.JboException
- if session initialization fails.terminateSession()
public static ApplSession initializeElevatedSession(javax.security.auth.Subject subject, ApplUser submittingUser, java.sql.Connection conn)
subject
- the Subject containing the user identity infosubmittingUser
- the user that is being represented by this
request - used by ESSconn
- the connection to initialize. If this is null, a
connection will be obtained automatically.
oracle.jbo.JboException
- if session initialization fails.initializeElevatedSession(javax.security.auth.Subject, oracle.apps.fnd.applcore.common.ApplUser, java.sql.Connection, java.util.ArrayList)
,
terminateSession()
public static ApplSession initializeSession(java.lang.String userGuid, java.lang.String userName, java.util.List<java.lang.String> roleGuids, java.util.List<java.lang.String> roleNames, java.sql.Connection conn)
terminateSession
method
should be called to free up the session.
userName
- the name of the user to create the session foruserGuid
- the GUID of the user to create the session forroleGuids
- an ordered list of role GUID's, or nullroleNames
- the corresponding role namesconn
- the connection to initialize. If this is null, a
connection will be obtained automatically.
oracle.jbo.JboException
- if session initialization fails.terminateSession()
public static ApplSession initializeSession(java.lang.String userName, java.lang.String password, java.lang.String appName, java.sql.Connection conn)
terminateSession
method
should be called to free up the session.
userName
- the name of the user to create the session forpassword
- the password of the userappNames
- the name of the applicationconn
- the connection to initialize. If this is null, a
connection will be obtained automatically.
oracle.jbo.JboException
- if session initialization fails.terminateSession()
public static ApplSession initializeSession(java.lang.String userName, java.lang.String password, java.sql.Connection conn)
terminateSession
method
should be called to free up the session.
userName
- the name of the user to create the session forpassword
- the password of the userconn
- the connection to initialize. If this is null, a
connection will be obtained automatically.
oracle.jbo.JboException
- if session initialization fails.initializeSession(java.lang.String, java.lang.String, java.lang.String, java.sql.Connection)
,
terminateSession()
public static ApplSession initializeTrustedSession(java.lang.String userName, java.lang.String appName, java.sql.Connection conn)
terminateSession
method
should be called to free up the session.
You will need to add the assertion login module to your jps-config.xml
- see http://aseng-wiki.us.oracle.com/asengwiki/display/ASDevJPS/JPS+Login+Modules+for+WebLogic#JPSLoginModulesforWebLogic-USERASSERTION
Additionally, code grants may be required depending on how this
is invoked.
userName
- the name of the user to create the session forappName
- the name of the application IDconn
- the connection to initialize. If this is null, a
connection will be obtained automatically.
oracle.jbo.JboException
- if session initialization fails.terminateSession()
public static ApplSession initializeSession(java.lang.String sessionID, java.sql.Connection conn)
terminateSession
method
should be called to free up the session.
This now has been changed to just call attachToSession, passing
along the session ID.
sessionID
- the session ID to reconstituteconn
- the connection to initialize. If this is null, a
connection will be obtained automatically.
oracle.jbo.JboException
- if session initialization fails.terminateSession()
public static ApplSession attachToSession(java.lang.String sessionID, java.lang.String sessionCookie, java.sql.Connection conn)
terminateSession
method
should be called to free up the session. If a connection is
passed into this method, it is the responsibility of the caller
to close it.
sessionID
- the session ID to reconstitutesessionCookie
- the cookie representing the session ID to
reconstitute, if the session ID is not available.conn
- the connection to initialize. If this is null, a
connection will be obtained automatically,
oracle.jbo.JboException
- if session initialization fails.terminateSession()
public static void attachConnectionToSession(java.lang.String sessionID, java.lang.String sessionCookie, java.sql.Connection conn)
public static ApplSessionManagement getSessionFromSessionCookie(java.lang.String SessionId, java.lang.String sessionCookie, java.sql.Connection conn)
public static void terminateSession()
oracle.apps.fnd.applcore.common.ApplSessionUtil#terminateeSession(java.sql.Connection)
public static void terminateSession(boolean destroyFlag)
terminateSession(java.sql.Connection, boolean)
public static void terminateSession(java.sql.Connection conn)
conn
- a connection that was initialized by a call to
initializeSession or attachToSessionoracle.apps.fnd.applcore.common.ApplSessionUtil#terminateeSession(java.sql.Connection)
public static void terminateSession(java.sql.Connection conn, boolean destroyFlag)
conn
- Connection that was attached to in one by one of the
ApplSessionUtil.attach api'sdestroyFlag
- boolean indicating whether to destroy the
session being terminatedinitializeSession(javax.security.auth.Subject, java.sql.Connection)
public static java.sql.Connection getConnection()
ApplSessionUtil.returnConnection()
is needed.
However, failures to follow that rule will now result in much more
noticeable connection leaks.
To obtain the connection, this first tries looks for the
datasource named in the ApplSession.APPLICATION_DB_DS variable.
If that is not available then it manually searches for the
ApplicationDB connection specified in the project's connections.xml
file. As a last resort, it checks for the "APPCONNFILE" system property,
and if it exists we load the specified file and use its properties to
establish a database connection.
Again, this should always be matched with a call to
ApplSessionUtil.returnConnection();
which will close the connection.
When unable to obtain a connection using any of the above means,
this throws a JboException.
If a connection cannot be obtained, this will throw a JboException.
returnConnection(java.sql.Connection)
public static void returnConnection(java.sql.Connection conn)
ApplSessionUtil.getConnection();
. If the getConnection
call ended up obtaining a new connection, this will close it. If
the getConnection call just returns a pointer to the current
session's connection, then this will do nothing.
The call to this should be placed in a try.. finally block to
guarantee it always executes, even if an exception is thrown.
conn
- the connection that was obtained by the call to
ApplSessionUtil.getConnection()getConnection()
public static ApplSession getSession()
public static java.lang.String getSessionID()
public static java.lang.String getSessionCookie()
public static java.lang.String getUserGuid()
ApplSession.getUserGuid()
public static java.lang.String getUserName()
ApplSession.getUserName()
public static java.lang.String getProductFamily()
public static java.lang.String getProduct()
public static java.lang.String getIndustry()
public static java.lang.String getTerritory()
ApplSession.getTerritory()
public static java.lang.String getAddtlCustomLevel()
public static java.lang.String getSite()
public static java.lang.String getIndustryInTerritory()
public static java.lang.String getGlobal()
public static java.lang.String getHistoryOverrideUserName()
ApplSession.getHistoryOverrideUserName()
public static java.lang.Integer getApplicationID()
ApplSession.getApplicationID()
public static java.lang.String getApplicationShortName()
public static java.lang.String getLanguage()
ApplSession.getLanguage()
public static java.lang.String getNLSLang()
public static java.lang.String getNLSLanguage()
public static java.lang.String getNLSSort()
ApplSession.getNLSSort()
public static java.lang.String getDateFormat()
ApplSession.getDateFormat()
public static java.lang.String getTimeFormat()
ApplSession.getTimeFormat()
public static char getGroupingSeparator()
ApplSession.getGroupingSeparator()
public static char getDecimalSeparator()
ApplSession.getDecimalSeparator()
public static java.lang.String getClientEncoding()
ApplSession.getClientEncoding()
public static java.lang.String getCurrency()
ApplSession.getCurrency()
public static java.lang.String getTimeZone()
ApplSession.getTimeZone()
public static java.lang.String getDisplayNameLanguage()
ApplSession.getDisplayNameLanguage()
public static java.lang.String getUserDisplayName()
ApplSession.getUserDisplayName()
public static java.lang.String getAccessibilityMode()
ApplSession.getAccessibilityMode()
public static java.lang.Boolean getAnimationEnabled()
public static java.lang.Boolean getEmbeddedHelpEnabled()
public static java.lang.String getColorContrast()
public static java.lang.String getFontSize()
public static java.lang.String getNumberFormat()
public static java.lang.String getIntegerFormat()
public static java.lang.String getEnterpriseID()
public static java.lang.String getSandboxID()
public static java.lang.String getHCMUserPersonID()
public static java.lang.String getHCMUserPrimaryAssignmentID()
public static java.lang.String getHCMUserPrimaryWorkTermsAssignmentID()
public static java.lang.String getHCMUserID()
public static java.lang.String getEnterpriseId()
getEnterpriseID()
public static java.lang.String getHCMUserPersonId()
getHCMUserPersonID()
public static java.lang.String getHCMUserPrimaryAssignmentId()
getHCMUserPrimaryAssignmentID()
public static java.lang.String getHCMUserPrimaryWorkTermsAssignmentId()
getHCMUserPrimaryWorkTermsAssignmentID()
public static java.lang.String getHCMUserId()
getHCMUserID()
public static java.lang.String getSessionAttribute(java.lang.String name)
name
- the name of the attribute to fetch
public static java.lang.String getSessionAttribute(java.lang.String name, java.lang.String defaultValue)
name
- the name of the attribute to fetchdefaultValue
- the value that is returned if the attribute is
not set. if null, the value is ignored.
public static java.lang.String getSessionAttribute(java.lang.String name, java.lang.String defaultValue, boolean setIfDefaulted)
name
- the name of the attribute to fetchdefaultValue
- the value that is returned if the attribute is
not set. if null, the value is ignored.setIfDefaulted
- if the defaultValue is used, whether to set that
attribute before returning
public static java.lang.String getNamespaceAttribute(java.lang.String namespaceName, java.lang.String attrName)
namespaceName
- then namespace nameattrName
- the attribute name
public static java.lang.Integer getNamespaceAttributeNum(java.lang.String namespaceName, java.lang.String attrName)
namespaceName
- then namespace nameattrName
- the attribute name
public static javax.security.auth.Subject getSubject(java.security.Principal principal)
principal
- Principal to add to the Subject
public static javax.security.auth.Subject getSubject()
public static java.lang.String getSessionRolesKey()
public static java.util.List<ApplRole> getApplRoles(javax.security.auth.Subject subject)
public static boolean currentAppStripeLoaded()
public static boolean currentAppStripeLoaded(ApplSession session)
session
- the ApplSession to check againstpublic static java.sql.Connection getNewConnection()
public static java.util.ArrayList<java.lang.String> getUserLocale(java.lang.String userName)
userName
- the name of the current user
public static java.lang.String fetchUserDisplayName(java.lang.String userName, java.lang.String displayNameLanguage)
public static java.util.HashMap<java.lang.String,java.lang.String> getUserPrefsFromLdap(java.lang.String userName)
public static java.lang.String parseNumberFormat(java.lang.String numberFormat)
public static java.lang.String getProfileValue(java.lang.String profileName)
profileName
-
public static java.lang.String setProfileValue(java.lang.String profileName, java.lang.String levelName, java.lang.String levelValue, java.lang.String profileValue)
profileName
- Name of profilelevelName
- Name of level. Must be a valid level for the profile
hierarchy, for DEFAULT one of: SITE, PRODUCT, USER.levelValue
- Level value. Must be a valid value for this level.profileValue
- New profile value. Must be a valid value for this
profile, and must be non-null. Use clearProfileValue() to remove a
profile value.public static void removeProfileValue(java.lang.String profileName, java.lang.String levelName, java.lang.String levelValue)
profileName
- Name of profilelevelName
- Name of level. Must be a valid level for the profile
hierarchy, for DEFAULT one of: SITE, PRODUCT, USER.levelValue
- Level value. Must be a valid value for this level.
Using clearProfileValue() to remove a profile value.public static boolean isATGLiteApp()
public static boolean isMultiTenantModeEnabled()
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |