|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
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.util.ResourceBundleUISupport
public class ResourceBundleUISupport
A helper class for creating resource bundles for UI.
Constructor Summary | |
---|---|
ResourceBundleUISupport(java.lang.Long appId,
java.lang.String ownerModelPackage)
Constructs a helper class. |
|
ResourceBundleUISupport(java.lang.String appIdentStr,
java.lang.String ownerModelPackage)
Constructs a helper class. |
|
ResourceBundleUISupport(java.lang.String cnnIdentStr,
java.lang.String appIdentStr,
java.lang.String ownerModelPackage)
Constructs a helper class with a particular connection. |
Method Summary | |
---|---|
static java.util.Map<java.lang.String,java.lang.String> |
getTranslations(oracle.jbo.Row viewRow,
java.lang.String viewAttrName)
Gets the translations of a column of a view attribute. |
java.lang.String |
put(java.lang.String bundleIdentifier,
java.lang.String key,
java.lang.String defaultValue,
java.util.Map<java.lang.String,java.lang.String> values)
Puts an entry to a resource bundle. |
void |
saveBundles()
Saves the bundles to the repository. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceBundleUISupport(java.lang.String appIdentStr, java.lang.String ownerModelPackage)
appIdentStr
- the application identifier StringownerModelPackage
- the model package such as "oracle.x.y.z.view" for
the bundle subdirectories and files. Note that
this is the package of the owner that owns the
resource bundles. The actual bundles will be
created under a subdirectory named "bundle".ApplicationIdentifier
public ResourceBundleUISupport(java.lang.Long appId, java.lang.String ownerModelPackage)
appIdentStr
- the application idownerModelPackage
- the model package such as "oracle.x.y.z.view" for
the bundle subdirectories and files. Note that
this is the package of the owner that owns the
resource bundles. The actual bundles will be
created under a subdirectory named "bundle".ApplicationIdentifier
public ResourceBundleUISupport(java.lang.String cnnIdentStr, java.lang.String appIdentStr, java.lang.String ownerModelPackage)
cnnIdentStr
- the connection identifier StringappIdentStr
- the application identifier StringownerModelPackage
- the model package such as "oracle.x.y.z.view" for
the bundle subdirectories and files. Note that
this is the package of the owner that owns the
resource bundles. The actual bundles will be
created under a subdirectory named "bundle".ConnectionIdentifier
,
ApplicationIdentifier
Method Detail |
---|
public java.lang.String put(java.lang.String bundleIdentifier, java.lang.String key, java.lang.String defaultValue, java.util.Map<java.lang.String,java.lang.String> values)
bundleIdentifier
- the String that identifies a bundle. The
identifier must be a legal file name.key
- the key of the entrydefaultValue
- the default value of the entry if the base language is
not set, or the value in the base language is not found in
the given value mapvalues
- the values for different languages; null if no other values
is available. The keys of this map are the language codes.
java.lang.IllegalArgumentException
- if the key or any of the
values in the given map is null, or if the given base value is
null but the base value cannot be determined based on the
base language and the given value map.public void saveBundles()
public static java.util.Map<java.lang.String,java.lang.String> getTranslations(oracle.jbo.Row viewRow, java.lang.String viewAttrName)
OA_TL_ENTITIES
. It is assumed that the
corresponding entity attribute name is the same as the given view attribute
name. The translation entity must have an attribute named "Language" that
provides the language code.
viewRow
- the view rowviewAttrName
- the view attribute name
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |