| org.sakaiproject.user.api.PreferencesService
All known Subclasses: org.sakaiproject.user.impl.BasePreferencesService,
PreferencesService | public interface PreferencesService extends EntityProducer(Code) | |
The PreferencesService keeps sets of preferences for each user (id)
|
APPLICATION_ID | final static String APPLICATION_ID(Code) | | The type string for this application: should not change over time as it may be stored in various parts of persistent entities.
|
REFERENCE_ROOT | final static String REFERENCE_ROOT(Code) | | This string starts the references to resources in this service.
|
SECURE_ADD_PREFS | final static String SECURE_ADD_PREFS(Code) | | Securiy / Event for adding a preferences.
|
SECURE_EDIT_PREFS | final static String SECURE_EDIT_PREFS(Code) | | Securiy / Event for updating a preferences.
|
SECURE_REMOVE_PREFS | final static String SECURE_REMOVE_PREFS(Code) | | Securiy / Event for removing a preferences.
|
allowUpdate | boolean allowUpdate(String id)(Code) | | Check to see if the current user can add or modify permissions with this id.
Parameters: id - The preferences id. true if the user is allowed to update or add these preferences, false if not. |
cancel | void cancel(PreferencesEdit edit)(Code) | | Cancel the changes made to a PreferencesEdit object, and release the lock. The PreferencesEdit is disabled, and not to be used after this call.
Parameters: user - The PreferencesEdit object to commit. |
commit | void commit(PreferencesEdit edit)(Code) | | Commit the changes made to a PreferencesEdit object, and release the lock. The PreferencesEdit is disabled, and not to be used after this call.
Parameters: user - The PreferencesEdit object to commit. |
getPreferences | Preferences getPreferences(String id)(Code) | | Access a set of preferences associated with this id.
Parameters: id - The preferences id. The Preferences object. |
remove | void remove(PreferencesEdit edit)(Code) | | Remove this PreferencesEdit - it must be locked from edit(). The PreferencesEdit is disabled, and not to be used after this call.
Parameters: user - The PreferencesEdit object to remove. |
|
|