er.corebusinesslogic
Class ERCoreUserPreferences
java.lang.Object
er.corebusinesslogic.ERCoreUserPreferences
- All Implemented Interfaces:
- com.webobjects.foundation.NSKeyValueCoding
public class ERCoreUserPreferences
- extends java.lang.Object
- implements com.webobjects.foundation.NSKeyValueCoding
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding |
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.DefaultImplementation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.Null, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.Utility, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor |
Field Summary |
static org.apache.log4j.Logger |
log
Logging support |
static java.lang.String |
PreferenceDidChangeNotification
Notification that is posted when preferences change |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
_CLASS, NullValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final org.apache.log4j.Logger log
- Logging support
PreferenceDidChangeNotification
public static final java.lang.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 com.webobjects.foundation.NSArray preferences(com.webobjects.eocontrol.EOEditingContext ec)
preferenceRecordForKey
protected com.webobjects.eocontrol.EOEnterpriseObject preferenceRecordForKey(java.lang.String key,
com.webobjects.eocontrol.EOEditingContext ec)
encodedValue
protected java.lang.String encodedValue(java.lang.Object value)
decodedValue
protected java.lang.Object decodedValue(java.lang.String encodedValue)
valueForKey
public java.lang.Object valueForKey(java.lang.String key)
- Specified by:
valueForKey
in interface com.webobjects.foundation.NSKeyValueCoding
takeValueForKey
public void takeValueForKey(java.lang.Object value,
java.lang.String key)
- Specified by:
takeValueForKey
in interface com.webobjects.foundation.NSKeyValueCoding
booleanValueForKey
public boolean booleanValueForKey(java.lang.String key)
booleanValueForKeyWithDefault
public boolean booleanValueForKeyWithDefault(java.lang.String key,
boolean def)
Copyright © 2002 – 2007 Project Wonder.