public class PreferencesController extends Object
Constructor and Description |
---|
PreferencesController() |
Modifier and Type | Method and Description |
---|---|
Preference |
createPreference(Account account,
String key,
String value) |
String |
getPreferenceValue(String userId,
String preferenceKey) |
UserPreferences |
getUserPreferences(String requester,
long userId) |
HashMap<PreferenceKey,String> |
retrieveAccountPreferences(Account account,
ArrayList<PreferenceKey> keys) |
HashMap<String,String> |
retrieveUserPreferenceList(Account account,
List<SearchBoostField> fields) |
PreferenceInfo |
updatePreference(String requesterEmail,
long userId,
String key,
String value) |
public HashMap<PreferenceKey,String> retrieveAccountPreferences(Account account, ArrayList<PreferenceKey> keys)
public UserPreferences getUserPreferences(String requester, long userId)
public HashMap<String,String> retrieveUserPreferenceList(Account account, List<SearchBoostField> fields)
public Preference createPreference(Account account, String key, String value)
public PreferenceInfo updatePreference(String requesterEmail, long userId, String key, String value)
Copyright © 2017. All rights reserved.