-
-
Enum Summary
Enum |
Description |
PreferenceLevel |
Class containing preference level constants.
|
-
Package oracle.adf.share.prefs Description
This package allows applications to store and retrieve user and system
levels of preference data. This data is persisted 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.