org.apache.hupa.server.preferences
Class InSessionUserPreferencesStorage
java.lang.Object
org.apache.hupa.server.preferences.UserPreferencesStorage
org.apache.hupa.server.preferences.InSessionUserPreferencesStorage
public class InSessionUserPreferencesStorage
- extends UserPreferencesStorage
A preferences storage which uses session as repository data
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InSessionUserPreferencesStorage
@Inject
public InSessionUserPreferencesStorage(IMAPStoreCache cache,
org.apache.commons.logging.Log logger,
com.google.inject.Provider<javax.servlet.http.HttpSession> sessionProvider)
addContact
public void addContact(ContactsResult.Contact... contacts)
- Description copied from class:
UserPreferencesStorage
- Add a new contact to the list.
The implementation has to check for duplicates
- Specified by:
addContact
in class UserPreferencesStorage
getContacts
public ContactsResult.Contact[] getContacts()
- Description copied from class:
UserPreferencesStorage
- Get the list of contacts
- Specified by:
getContacts
in class UserPreferencesStorage
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.