|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BackingStore
The BackingStore for the preferences. This interface allows for different implementation strategies.
Method Summary | |
---|---|
Long[] |
availableBundles()
Return all bundle ids for which preferences are stored.. |
PreferencesImpl |
load(BackingStoreManager manager,
PreferencesDescription desc)
Load the preferences for the given description. |
PreferencesImpl[] |
loadAll(BackingStoreManager manager,
Long bundleId)
Load all preferences for this bundle. |
void |
remove(Long bundleId)
Remove all preferences stored for this bundle. |
void |
store(PreferencesImpl prefs)
Store the current preferences and its children in the backing store. |
void |
update(PreferencesImpl prefs)
Update the current preferences and its children from the backing store. |
Method Detail |
---|
void store(PreferencesImpl prefs) throws BackingStoreException
prefs
- The preferences.
BackingStoreException
void update(PreferencesImpl prefs) throws BackingStoreException
BackingStoreException
Long[] availableBundles()
void remove(Long bundleId) throws BackingStoreException
bundleId
- The bundle id.
BackingStoreException
PreferencesImpl load(BackingStoreManager manager, PreferencesDescription desc) throws BackingStoreException
manager
- The backing store manager which should be passed to new preferences implementations.desc
-
BackingStoreException
PreferencesImpl[] loadAll(BackingStoreManager manager, Long bundleId) throws BackingStoreException
manager
- The backing store manager which should be passed to new preferences implementations.bundleId
- The bundle id.
BackingStoreException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |