
Classes | |
| class | _UserPreferenceHandler |
Public Member Functions | |
| boolean | booleanValueForKey (String key) |
| boolean | booleanValueForKeyWithDefault (String key, boolean def) |
| void | registerHandlers () |
| void | takeValueForKey (Object value, String key) |
| Object | valueForKey (String key) |
Static Public Member Functions | |
| static ERCoreUserPreferences | userPreferences () |
Static Public Attributes | |
| static final Logger | log = Logger.getLogger(ERCoreUserPreferences.class) |
| static final String | PreferenceDidChangeNotification = "PreferenceChangedNotification" |
Protected Member Functions | |
| Object | decodedValue (String encodedValue) |
| String | encodedValue (Object value) |
| EOEnterpriseObject | preferenceRecordForKey (String key, EOEditingContext ec) |
| NSArray | preferences (EOEditingContext ec) |
Static Private Attributes | |
| static ERCoreUserPreferences | _userPreferences |
| static final String | VALUE = "_V" |
| boolean booleanValueForKey | ( | String | key | ) |
| boolean booleanValueForKeyWithDefault | ( | String | key, | |
| boolean | def | |||
| ) |
| Object decodedValue | ( | String | encodedValue | ) | [protected] |
| String encodedValue | ( | Object | value | ) | [protected] |
| EOEnterpriseObject preferenceRecordForKey | ( | String | key, | |
| EOEditingContext | ec | |||
| ) | [protected] |
| NSArray preferences | ( | EOEditingContext | ec | ) | [protected] |
| void registerHandlers | ( | ) |
Registers notification handlers for user preference notifications. These are mainly used within the context of D2W pages.
| void takeValueForKey | ( | Object | value, | |
| String | key | |||
| ) |
| static ERCoreUserPreferences userPreferences | ( | ) | [static] |
Gets the singleton instance for interacting with the user preference system.
| Object valueForKey | ( | String | key | ) |
ERCoreUserPreferences _userPreferences [static, private] |
caches the singleton user preference object
final Logger log = Logger.getLogger(ERCoreUserPreferences.class) [static] |
Logging support
final String PreferenceDidChangeNotification = "PreferenceChangedNotification" [static] |
Notification that is posted when preferences change
1.5.8