|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.service.prefs.BaseUserPreferencesService
public class BaseUserPreferencesService
Abstract User Preferences Service
| Method Summary | |
|---|---|
void |
clear(String strUserId)
Clear all preferences for a given user |
String |
get(String strUserId,
String strKey,
String strDefault)
Get a preference for a given user |
boolean |
getBoolean(String strUserId,
String strKey,
boolean bDefault)
Get a boolean preference for a given user |
int |
getInt(String strUserId,
String strKey,
int nDefault)
Get an integer preference for a given user |
List<String> |
keys(String strUserId)
Get all preference keys for a given user |
void |
put(String strUserId,
String strKey,
String strValue)
Put a preference for a given user |
void |
putBoolean(String strUserId,
String strKey,
boolean bValue)
Put a boolean preference for a given user |
void |
putInt(String strUserId,
String strKey,
int nValue)
Put an integer preference for a given user |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String get(String strUserId,
String strKey,
String strDefault)
get in interface IUserPreferencesServicestrUserId - The user's IDstrKey - The preference's keystrDefault - The default value
public int getInt(String strUserId,
String strKey,
int nDefault)
getInt in interface IUserPreferencesServicestrUserId - The user's IDstrKey - The preference's keynDefault - The default value
public boolean getBoolean(String strUserId,
String strKey,
boolean bDefault)
getBoolean in interface IUserPreferencesServicestrUserId - The user's IDstrKey - The preference's keybDefault - The default value
public void put(String strUserId,
String strKey,
String strValue)
put in interface IUserPreferencesServicestrUserId - The user's IDstrKey - The preference's keystrValue - The value
public void putInt(String strUserId,
String strKey,
int nValue)
putInt in interface IUserPreferencesServicestrUserId - The user's IDstrKey - The preference's keynValue - The value
public void putBoolean(String strUserId,
String strKey,
boolean bValue)
putBoolean in interface IUserPreferencesServicestrUserId - The user's IDstrKey - The preference's keybValue - The valuepublic List<String> keys(String strUserId)
keys in interface IUserPreferencesServicestrUserId - The user's ID
public void clear(String strUserId)
clear in interface IUserPreferencesServicestrUserId - The user's ID
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||