|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.funambol.email.inboxlistener.console.MenuWSDAO
public class MenuWSDAO
Contains methods to access to the DB tables
| Constructor Summary | |
|---|---|
MenuWSDAO(java.lang.String endPoint,
java.lang.String user,
java.lang.String pwd)
|
|
| Method Summary | |
|---|---|
int |
checkAccount(MailServerAccount msa,
int timeout)
Get Account; returns the MailAccount Object with all the info about the user |
int |
checkGuessAccount(MailServerAccount msa,
int timeout)
Get Account; returns the MailAccount Object with all the info about the user |
void |
deleteAccount(java.lang.String accountID)
|
void |
deleteMailServer(java.lang.String mailserverID)
|
void |
disableAccount(java.lang.String accountID)
|
void |
enableAccount(java.lang.String accountID)
|
MailServerAccount |
getAccount(java.lang.String username)
Get Account; returns the MailAccount Object with all the info about the user |
MailServerAccount |
getAccountFromID(java.lang.String accountID)
Get Account; returns the MailAccount Object with all the info about the user |
MailServerAccount[] |
getAccounts()
Gets Accounts returns a list that contains MailAccount |
SyncItemInfoAdmin[] |
getCachedInfo(java.lang.String username,
java.lang.String protocol)
Get Account; returns the MailAccount Object with all the info about the user |
MailServer |
getMailServerFromID(java.lang.String mailserverID)
Get Account; returns the MailAccount Object with all the info about the user |
MailServer[] |
getMailServers()
Gets Accounts returns a list that contains MailAccount |
void |
insertAccount(MailServerAccount msa)
|
void |
insertMailServer(MailServer ms)
|
void |
updateAccount(MailServerAccount msa)
|
void |
updateMailServer(MailServer ms)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MenuWSDAO(java.lang.String endPoint,
java.lang.String user,
java.lang.String pwd)
throws InboxListenerException
endPoint - user - pwd -
InboxListenerException| Method Detail |
|---|
public MailServerAccount[] getAccounts()
throws InboxListenerException,
com.funambol.framework.tools.beans.BeanException
InboxListenerException
com.funambol.framework.tools.beans.BeanException
public MailServer[] getMailServers()
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 SyncItemInfoAdmin[] getCachedInfo(java.lang.String username,
java.lang.String protocol)
throws InboxListenerException
username - String
InboxListenerException
public int checkAccount(MailServerAccount msa,
int timeout)
throws InboxListenerException
msa -
InboxListenerException
public int checkGuessAccount(MailServerAccount msa,
int timeout)
throws InboxListenerException
msa -
InboxListenerException
public MailServer getMailServerFromID(java.lang.String mailserverID)
throws InboxListenerException
mailserverID -
InboxListenerException
public MailServerAccount getAccountFromID(java.lang.String accountID)
throws InboxListenerException
accountID -
InboxListenerException
public void insertAccount(MailServerAccount msa)
throws InboxListenerException
msa -
InboxListenerException
public void insertMailServer(MailServer ms)
throws InboxListenerException
ms -
InboxListenerException
public void updateAccount(MailServerAccount msa)
throws InboxListenerException
msa -
InboxListenerException
public void disableAccount(java.lang.String accountID)
throws InboxListenerException
accountID -
InboxListenerException
public void enableAccount(java.lang.String accountID)
throws InboxListenerException
accountID -
InboxListenerException
public void updateMailServer(MailServer ms)
throws InboxListenerException
ms -
InboxListenerException
public void deleteAccount(java.lang.String accountID)
throws InboxListenerException
accountID -
InboxListenerException
public void deleteMailServer(java.lang.String mailserverID)
throws InboxListenerException
mailserverID -
InboxListenerException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||