The Infusion Preferences Framework uses a Settings Store to read and write preferences.
fluid.prefs.store
A base grade to be used by any preference setting store. This component uses the following base grades:
fluid.prefs.dataSource
A grade used by fluid.prefs.store
; defines placeholders for get
and set
methods.
Method Placeholder | Description |
---|---|
get |
For retrieving preferences. Should return the preferences |
set |
For saving preferences. Should accept the preferences as an argument. |
fluid.prefs.cookieStore
A settings store grade that uses a cookie for persistence.
Method | Implementation |
---|---|
get |
|
set |
|
fluid.prefs.tempStore
A settings store mock that doesn't do persistence. This grade is useful for tests.
Method | Implementation |
---|---|
get |
fluid.identity |
set |
|