public interface PreferenceService
| Modifier and Type | Field and Description |
|---|---|
static String |
DIGEST_PREFERENCE |
static String |
MAIL_NOTIFCIATION
A preference type to express mail notification preference for the user on
a context
|
static String |
NONE_PREFERENCE |
static String |
SEPARATE_PREFERENCE |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAllPreferences(String user,
String context,
String type)
Removes a preference and all sub prefrences
|
void |
deletePreference(String user,
String context,
String type)
Removes a preference
|
String |
findPreferenceAt(String user,
String context,
String type)
Locate the most applicable preference at a given context of a given type
|
void |
updatePreference(String user,
String context,
String type,
String perference)
Update the users preference
|
static final String MAIL_NOTIFCIATION
static final String NONE_PREFERENCE
static final String DIGEST_PREFERENCE
static final String SEPARATE_PREFERENCE
void updatePreference(String user, String context, String type, String perference)
user - context - the path to the node in the wiki space where the preference is
bein expressedtype - or preferenceperference - String findPreferenceAt(String user, String context, String type)
user - the useridcontext - the path to the contexttype - the type of preferencevoid deleteAllPreferences(String user, String context, String type)
user - context - type - Copyright © 2003-2014 Sakai Project. All Rights Reserved.