|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.funambol.email.admin.dao.WSDAO
public class WSDAO
Contains methods to access to the DB tables.
| Constructor Summary | |
|---|---|
WSDAO(java.lang.String endPoint,
java.lang.String user,
java.lang.String pwd)
Creates a new instance of WSDAO. |
|
| Method Summary | |
|---|---|
void |
deleteAccount(java.lang.String accountID)
Delete account with the given ID. |
int |
deleteMailServer(java.lang.String mailserverID)
Delete mail server with the given ID. |
MailServerAccount |
getAccount(java.lang.String username)
Retrieve the account for the given username. |
MailServerAccount[] |
getAccounts(com.funambol.framework.filter.Clause clause)
Retrieve an array of the MailServerAccount objects that match the given clause. |
SyncItemInfoAdmin[] |
getCachedInfo(java.lang.String username,
java.lang.String protocol)
Retrieve all the cache entries for given username,protocol. |
MailServer[] |
getMailServers(com.funambol.framework.filter.Clause clause)
Retrieve an array of the MailServer objects that match the given clause. |
void |
insertAccount(MailServerAccount msa)
Insert a given account. |
void |
insertMailServer(MailServer ms)
Insert a given mail server. |
void |
updateAccount(MailServerAccount msa)
Updates a given account. |
void |
updateMailServer(MailServer ms)
Updates a given mail server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WSDAO(java.lang.String endPoint,
java.lang.String user,
java.lang.String pwd)
throws InboxListenerException
endPoint - user - pwd -
InboxListenerException| Method Detail |
|---|
public MailServerAccount[] getAccounts(com.funambol.framework.filter.Clause clause)
throws InboxListenerException,
com.funambol.framework.tools.beans.BeanException
InboxListenerException
com.funambol.framework.tools.beans.BeanException
public MailServer[] getMailServers(com.funambol.framework.filter.Clause clause)
throws InboxListenerException,
com.funambol.framework.tools.beans.BeanException
InboxListenerException
com.funambol.framework.tools.beans.BeanException
public MailServerAccount getAccount(java.lang.String username)
throws InboxListenerException
username - String
InboxListenerException
public void insertAccount(MailServerAccount msa)
throws InboxListenerException
msa - the account to be inserted
InboxListenerException
public void insertMailServer(MailServer ms)
throws InboxListenerException
ms - the mail server to be inserted
InboxListenerException
public void updateAccount(MailServerAccount msa)
throws InboxListenerException
msa - account to be updated
InboxListenerException
public void updateMailServer(MailServer ms)
throws InboxListenerException
ms - mail server to be updated
InboxListenerException
public void deleteAccount(java.lang.String accountID)
throws InboxListenerException
accountID - id for the account to be deleted.
InboxListenerException
public int deleteMailServer(java.lang.String mailserverID)
throws InboxListenerException
mailserverID - id for the mail server to be deleted.
InboxListenerException
public SyncItemInfoAdmin[] getCachedInfo(java.lang.String username,
java.lang.String protocol)
throws InboxListenerException
username - protocol -
InboxListenerException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||