Interface
caplin.webcentric.providers

WebcentricPreferencesService

A service that manages saving and retrieving of a user's preferences. A preference is a string value stored using a key (a simple map).

Constructor Summary

Attributes Name and Description
caplin.webcentric.providers.WebcentricPreferencesService( fCallback)

Method Summary

Attributes Name and Description
void getPreference( sPreferenceKey)

void getPreferences()

void removePreference( sPreferenceKey)

void savePreferences()

void setPreference( sPreferenceKey, sPreferenceValue)

void setPreferences( mPreferences)

Constructor Detail

caplin.webcentric.providers.WebcentricPreferencesService( fCallback)

Parameters
fCallback

Method Detail

void getPreference( sPreferenceKey)

Parameters
sPreferenceKey
See
caplin.webcentric.providers.PreferencesService#getPreference

void getPreferences()

See
caplin.webcentric.providers.PreferencesService#getPreferences

void removePreference( sPreferenceKey)

Parameters
sPreferenceKey
See
caplin.webcentric.providers.PreferencesService#removePreference

void savePreferences()

See
caplin.webcentric.providers.PreferencesService#savePreferences

void setPreference( sPreferenceKey, sPreferenceValue)

Parameters
sPreferenceKey
sPreferenceValue
See
caplin.webcentric.providers.PreferencesService#setPreference

void setPreferences( mPreferences)

Parameters
mPreferences
See
caplin.webcentric.providers.PreferencesService#setPreferences