Skip navigation links
oracle.adf.model.datacontrols.device
Class PreferenceScope
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
oracle.adfmf.framework.Scope
oracle.adf.model.datacontrols.device.PreferenceScope
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map
-
public class PreferenceScope
- extends oracle.adfmf.framework.Scope
Embedded Java side for preferences.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Fields inherited from class oracle.adfmf.framework.Scope |
APPLICATION_SCOPE, DEVICE_SCOPE, PAGE_FLOW_SCOPE, PREFERENCE_SCOPE, SECURITY_SCOPE, SHARED_SCOPE, VIEW_SCOPE |
Methods inherited from class oracle.adfmf.framework.Scope |
addPropertyChangeListener, getScopeName, removePropertyChangeListener |
Methods inherited from class java.util.HashMap |
clone |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
PreferenceScope
public PreferenceScope()
PreferenceScope
public PreferenceScope(java.lang.String branchName)
getInstance
public static final PreferenceScope getInstance()
refreshPreferences
public static void refreshPreferences()
- Fetch all the application's preferences and update the PreferenceScope with any new values. Doing this will fire DCEs for all changed preference values. Note: Ignore the timeout on the cache when checking the cached values, or we never get useful values from the timeout cache, as preferences uses a zero (always expired) timeout value.
get
public java.lang.Object get(java.lang.Object key)
-
- Specified by:
get
in interface java.util.Map
- Overrides:
get
in class oracle.adfmf.framework.Scope
-
- See Also:
Map
put
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
-
- Specified by:
put
in interface java.util.Map
- Overrides:
put
in class oracle.adfmf.framework.Scope
-
- See Also:
Map
clear
public void clear()
-
- Specified by:
clear
in interface java.util.Map
- Overrides:
clear
in class oracle.adfmf.framework.Scope
-
- See Also:
Map
containsKey
public boolean containsKey(java.lang.Object arg0)
-
- Specified by:
containsKey
in interface java.util.Map
- Overrides:
containsKey
in class java.util.HashMap
-
- See Also:
Map
containsValue
public boolean containsValue(java.lang.Object arg0)
-
- Specified by:
containsValue
in interface java.util.Map
- Overrides:
containsValue
in class java.util.HashMap
-
- See Also:
Map
entrySet
public java.util.Set entrySet()
-
- Specified by:
entrySet
in interface java.util.Map
- Overrides:
entrySet
in class java.util.HashMap
-
- See Also:
Map
isEmpty
public boolean isEmpty()
-
- Specified by:
isEmpty
in interface java.util.Map
- Overrides:
isEmpty
in class java.util.HashMap
-
- See Also:
Map
keySet
public java.util.Set keySet()
-
- Specified by:
keySet
in interface java.util.Map
- Overrides:
keySet
in class java.util.HashMap
-
- See Also:
Map
putAll
public void putAll(java.util.Map arg0)
-
- Specified by:
putAll
in interface java.util.Map
- Overrides:
putAll
in class java.util.HashMap
-
- See Also:
Map
remove
public java.lang.Object remove(java.lang.Object arg0)
-
- Specified by:
remove
in interface java.util.Map
- Overrides:
remove
in class java.util.HashMap
-
- See Also:
Map
size
public int size()
-
- Specified by:
size
in interface java.util.Map
- Overrides:
size
in class java.util.HashMap
-
- See Also:
Map
values
public java.util.Collection values()
-
- Specified by:
values
in interface java.util.Map
- Overrides:
values
in class java.util.HashMap
-
- See Also:
Map
Skip navigation links
Copyright © 2012 Oracle. All Rights Reserved.