er.corebusinesslogic
Class ERCoreUserPreferences
java.lang.Object
er.corebusinesslogic.ERCoreUserPreferences
- All Implemented Interfaces:
- NSKeyValueCoding
public class ERCoreUserPreferences
- extends Object
- implements NSKeyValueCoding
| Properties |
er.corebusinesslogic.ERCoreUserPreferences.handlerClassName | er.corebusinesslogic.ERCoreUserPreferences.handlerClassName |
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final Logger log
- Logging support
PreferenceDidChangeNotification
public static final String PreferenceDidChangeNotification
- Notification that is posted when preferences change
- See Also:
- Constant Field Values
ERCoreUserPreferences
public ERCoreUserPreferences()
userPreferences
public static ERCoreUserPreferences userPreferences()
- Gets the singleton instance for interacting with
the user preference system.
- Returns:
- single instance of the user preferences
registerHandlers
public void registerHandlers()
- Registers notification handlers for user preference notifications. These
are mainly used within the context of D2W pages.
preferences
protected NSArray preferences(EOEditingContext ec)
preferenceRecordForKey
protected EOEnterpriseObject preferenceRecordForKey(String key,
EOEditingContext ec)
encodedValue
protected String encodedValue(Object value)
decodedValue
protected Object decodedValue(String encodedValue)
valueForKey
public Object valueForKey(String key)
- Specified by:
valueForKey in interface NSKeyValueCoding
takeValueForKey
public void takeValueForKey(Object value,
String key)
- Specified by:
takeValueForKey in interface NSKeyValueCoding
booleanValueForKey
public boolean booleanValueForKey(String key)
booleanValueForKeyWithDefault
public boolean booleanValueForKeyWithDefault(String key,
boolean def)
Copyright © 2002 – 2011 Project Wonder.