public class ProfilePreferencesLogicImpl extends Object implements org.sakaiproject.profile2.logic.ProfilePreferencesLogic
| Constructor and Description |
|---|
ProfilePreferencesLogicImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.sakaiproject.profile2.model.ProfilePreferences |
getPreferencesRecordForUser(String userId) |
org.sakaiproject.profile2.model.ProfilePreferences |
getPreferencesRecordForUser(String userId,
boolean useCache) |
void |
init() |
boolean |
isPreferenceEnabled(String userUuid,
org.sakaiproject.profile2.types.PreferenceType type) |
boolean |
savePreferencesRecord(org.sakaiproject.profile2.model.ProfilePreferences prefs) |
public org.sakaiproject.profile2.model.ProfilePreferences getPreferencesRecordForUser(String userId)
getPreferencesRecordForUser in interface org.sakaiproject.profile2.logic.ProfilePreferencesLogicpublic org.sakaiproject.profile2.model.ProfilePreferences getPreferencesRecordForUser(String userId, boolean useCache)
getPreferencesRecordForUser in interface org.sakaiproject.profile2.logic.ProfilePreferencesLogicpublic boolean savePreferencesRecord(org.sakaiproject.profile2.model.ProfilePreferences prefs)
savePreferencesRecord in interface org.sakaiproject.profile2.logic.ProfilePreferencesLogicpublic boolean isPreferenceEnabled(String userUuid, org.sakaiproject.profile2.types.PreferenceType type)
isPreferenceEnabled in interface org.sakaiproject.profile2.logic.ProfilePreferencesLogicpublic void init()
Copyright © 2008-2014 The Sakai Foundation. All Rights Reserved.