com.funambol.email.inboxlistener.engine
Class ListenerRegistryDAO

java.lang.Object
  extended by com.funambol.email.inboxlistener.engine.ListenerRegistryDAO

public class ListenerRegistryDAO
extends java.lang.Object

Contains methods to access to the tables with the information about Mail Server Account.


Constructor Summary
ListenerRegistryDAO(java.lang.String _keystoreHome, java.lang.String _encryptionKey)
           
 
Method Summary
 java.util.List getAccounts(java.lang.String listenerId)
          Gets Accounts returns a list that contains MailAccount
 java.util.List getAccountsToRemove(java.lang.String listenerId)
          Gets Accounts returns a list that contains MailAccount
 void removeAccounts(java.lang.String accountId, java.lang.String username)
          delete user
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenerRegistryDAO

public ListenerRegistryDAO(java.lang.String _keystoreHome,
                           java.lang.String _encryptionKey)
Method Detail

getAccounts

public java.util.List getAccounts(java.lang.String listenerId)
                           throws InboxListenerException
Gets Accounts returns a list that contains MailAccount

Throws:
InboxListenerException

getAccountsToRemove

public java.util.List getAccountsToRemove(java.lang.String listenerId)
                                   throws InboxListenerException
Gets Accounts returns a list that contains MailAccount

Throws:
InboxListenerException

removeAccounts

public void removeAccounts(java.lang.String accountId,
                           java.lang.String username)
                    throws InboxListenerException
delete user

Parameters:
accountId - String
Throws:
EntityException
InboxListenerException


Copyright © 2005-2006 Funambol.