|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.2) E22562-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.flex.runtime.ApplicationIdentifier
public final class ApplicationIdentifier
An object that identifies an application.
Nested Class Summary | |
---|---|
class |
ApplicationIdentifier.ApplicationNotFoundException
Thrown when the information of an application cannot be found. |
Method Summary | |
---|---|
static void |
disableCache()
Disables the static cache of the last requested instance. |
static void |
enableCache()
Enables the static cache of the last requested instance. |
java.lang.String |
getBaseLanguage()
Gets the base language of the system. |
java.lang.Long |
getId()
Gets the ID. |
java.util.List<java.lang.String> |
getInstalledLanguages()
Gets the list of codes of the installed languages. |
static ApplicationIdentifier |
getInstance(ConnectionIdentifier connIdent,
java.lang.Long appId)
Gets an instance of this class. |
static ApplicationIdentifier |
getInstance(ConnectionIdentifier connIdent,
java.lang.String appIdentStr)
Gets an instance of this class. |
static ApplicationIdentifier |
getInstance(java.lang.String connIdentStr,
java.lang.Long appId)
Gets an instance of this class. |
static ApplicationIdentifier |
getInstance(java.lang.String connIdentStr,
java.lang.String appIdentStr)
Gets an instance of this class. |
java.lang.String |
getName()
Gets the name. |
java.lang.String |
getShortName()
Gets the short name. |
static java.lang.String |
toIdentifier(java.lang.Long id)
Returns a String identifier for an application ID. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static final void enableCache()
disableCache()
public static void disableCache()
enableCache()
public static ApplicationIdentifier getInstance(ConnectionIdentifier connIdent, java.lang.String appIdentStr)
connIdent
- the connection identifier; null may be passed if it is
absolutely certain that a lookup will not happen;
otherwise an IllegalStateException
may be
thrown by one of the accessors.appIdentStr
- the application identifier String; this String may be
an application short name or an application ID prefixed
with "@#".
public static ApplicationIdentifier getInstance(ConnectionIdentifier connIdent, java.lang.Long appId)
connIdent
- the connection identifier; null may be passed if it is
absolutely certain that a lookup will never happen;
otherwise an IllegalStateException
may be
thrown by one of the accessors.appId
- the application ID
public static ApplicationIdentifier getInstance(java.lang.String connIdentStr, java.lang.String appIdentStr)
connIdentStr
- the connection identifier StringappIdentStr
- the application identifier String; this String may be
an application short name or an application ID prefixed
with "@#".
ConnectionIdentifier.getInstance(String)
public static ApplicationIdentifier getInstance(java.lang.String connIdentStr, java.lang.Long appId)
connIdentStr
- the connection identifier StringappId
- the application ID
ConnectionIdentifier.getInstance(String)
public java.lang.String getShortName()
ApplicationIdentifier.ApplicationNotFoundException
- if the short name is not available
and the information of the application cannot be foundpublic java.lang.Long getId()
ApplicationIdentifier.ApplicationNotFoundException
- if the ID is not available and the
the information of the application cannot be foundpublic java.lang.String getName()
ApplicationIdentifier.ApplicationNotFoundException
- if the name is not available and
the information of the application cannot be foundpublic java.util.List<java.lang.String> getInstalledLanguages()
public java.lang.String getBaseLanguage()
public java.lang.String toString()
toString
in class java.lang.Object
public static java.lang.String toIdentifier(java.lang.Long id)
id
- the application ID
java.lang.IllegalArgumentException
- if the given ID is null
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.2) E22562-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |