public class PreferencesDAO extends HibernateRepository<Preference>
Constructor and Description |
---|
PreferencesDAO() |
Modifier and Type | Method and Description |
---|---|
Preference |
createOrUpdatePreference(Account account,
String key,
String value) |
Preference |
get(long id) |
List<Preference> |
getAccountPreferences(Account account,
List<PreferenceKey> keys) |
Preference |
getPreference(Account account,
String key) |
HashMap<String,String> |
retrievePreferenceValues(Account account,
HashSet<String> keys) |
create, currentSession, delete, get, getBuilder, update
public List<Preference> getAccountPreferences(Account account, List<PreferenceKey> keys)
public Preference getPreference(Account account, String key)
public HashMap<String,String> retrievePreferenceValues(Account account, HashSet<String> keys)
public Preference createOrUpdatePreference(Account account, String key, String value)
public Preference get(long id)
Copyright © 2017. All rights reserved.