public class ADFPreferencesManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
PREFS_MDS_ROOT
The root path chosen to house the preferences documents in the
associated MDS repository.
|
protected static java.lang.String |
PREFS_MDS_ROOT_WITH_SLASH |
protected static java.lang.String |
SHARED_PREFS_MDS_ROOT
The root path chosen to house the shared preferences documents in the
associated MDS repository.
|
protected static java.lang.String |
SHARED_PREFS_MDS_ROOT_WITH_SLASH |
protected static java.lang.String |
USER
String used in user pref prefixation
|
protected static int |
USER_LENGTH
int used in user pref prefixation length
|
Modifier and Type | Method and Description |
---|---|
protected void |
cleanUp() |
protected ADFPreferencesConfig |
getConfig()
Returns the ADFPreferencesConfig object associated with this manager.
|
protected java.lang.String |
getKeyPrefix()
Returns the value of the Key Prefix.
|
protected PreferenceLevel |
getLevel()
Returns the Preference Level associated with this manager object.
|
protected oracle.adf.share.prefs.MDSHelper |
getMDSHelper()
Returns the MDSHelper object.
|
protected ADFPreferences |
getPreference(ADFPreferences parent,
java.lang.String name)
Main accessor method to the ADFPreferences objects.
|
protected ADFPreferences |
getRootNode()
The root node accessor method
|
protected java.lang.String |
getRootPath()
Returns the root path without a trailing slash.
|
protected java.lang.String |
getRootPathSlashAppended()
Returns the root path with a trailing slash.
|
protected boolean |
isUserPreference()
Return TRUE if the level corresponds to one of the
flavors of the "user" precedences.
|
protected void |
removePreferenceFromNamespaceMap(java.lang.String namespace)
This method removes a named preference from the persisted map.
|
protected static final java.lang.String USER
protected static final int USER_LENGTH
protected static final java.lang.String PREFS_MDS_ROOT
protected static final java.lang.String PREFS_MDS_ROOT_WITH_SLASH
protected static final java.lang.String SHARED_PREFS_MDS_ROOT
protected static final java.lang.String SHARED_PREFS_MDS_ROOT_WITH_SLASH
protected java.lang.String getKeyPrefix()
protected ADFPreferences getPreference(ADFPreferences parent, java.lang.String name)
parent
- The parent preference object.name
- The name of the preference node to be returned as a child of
the parentprotected void removePreferenceFromNamespaceMap(java.lang.String namespace)
namespace
- The namespace to remove from the namespace map.protected ADFPreferences getRootNode()
protected java.lang.String getRootPath()
protected java.lang.String getRootPathSlashAppended()
protected boolean isUserPreference()
protected PreferenceLevel getLevel()
protected ADFPreferencesConfig getConfig()
protected oracle.adf.share.prefs.MDSHelper getMDSHelper()
protected void cleanUp()