|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 1 (11.1.1) E10686-04 |
||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
ADFPreferences | An implementation of Preferences class providing
a MDS repository based persistence mechanism. |
ADFPreferencesFactory | A factory object that generates Preferences objects. |
ADFPreferencesManager | |
ADFPreferencesRegistry |
Enum Summary | |
---|---|
PreferenceLevel | Class containing preference level constants. |
Exception Summary | |
---|---|
PreferencesRuntimeException | Preferences runtime extension class. |
This package allows applications to store and retrieve user and system levels of
preference data. This data is persistented in the MDS repository
in which the metadata associated with the ADF application using these
Preference classes resides. By default there are two predefined levels of
preference nodes, one for user preferences based on the J2EE authenticated user
and one for system preferences. However, developers can make use of the helper
methods which enable access to Preferences based on a leveled priority,
namely provide user preferences over system preferences where the preference
item exists in the user preference node as well as the system preference node.
Should the preference only exist in the system preference node then the
value associated with the system preference will be returned instead.
NOTE: In order to support usage of the ADFPreferences Utility outside of the
context of an ADF Web Application it is necessary to use the
ADFPreferencesFactory(ADFPreferencesConfig config) constructor, where the
ADFPreferencesConfig is based on the ADFPreferencesSimpleConfig(MDSInstance)
object, that takes an MDSInstance object in it's constructor.
Consumers of the Preference Utility working within the context of an ADF
Web Application should use the constructor which takes no arguments as this
will obtain the MDS Instance from the ADF Context object that has been
configured against the web application.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 1 (11.1.1) E10686-04 |
||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |