|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPreferencesDAO
Preferences DAO interface
| Method Summary | |
|---|---|
boolean |
existsKey(String strUserId,
String strKey)
Cheks if a preference key exists |
List<String> |
getUserId(String strKey,
String strValue)
Get the list of user id associated with the given key and value |
List<String> |
keys(String strUserId)
Get all preference keys for a given user |
String |
load(String strUserId,
String strKey,
String strDefault)
Get a preference for a given user |
void |
remove(String strUserId)
Clear all preferences for a given user |
void |
removeKey(String strUserId,
String strKey)
Clear all preferences for a given user |
void |
removeKeyPrefix(String strUserId,
String strKeyPrefix)
Clear all preferences for a given user |
void |
store(String strUserId,
String strKey,
String strValue)
Store a preference for a given user |
| Method Detail |
|---|
String load(String strUserId,
String strKey,
String strDefault)
strUserId - The user's IDstrKey - The preference's keystrDefault - The default value
List<String> getUserId(String strKey,
String strValue)
strKey - The preference's keystrValue - The preference's value
void store(String strUserId,
String strKey,
String strValue)
strUserId - The user's IDstrKey - The preference's keystrValue - The valueList<String> keys(String strUserId)
strUserId - The user's ID
void remove(String strUserId)
strUserId - The user's ID
void removeKey(String strUserId,
String strKey)
strUserId - The user's IDstrKey - The preference's key
void removeKeyPrefix(String strUserId,
String strKeyPrefix)
strUserId - The user's IDstrKeyPrefix - The key prefix
boolean existsKey(String strUserId,
String strKey)
strUserId - The User IDstrKey - The Pref key
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||