|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.email.inboxlistener.console.MenuDAO
Contains methods to access to the DB tables
Constructor Summary | |
MenuDAO(DBAccount _dba)
|
Method Summary | |
void |
deleteAccount(java.lang.String username)
Gets Accounts returns a list that contains MailAccount |
MailboxAccount |
getAccount(java.lang.String username)
Get Account; returns the MailAccount Object with all the info about the user |
java.util.List |
getAccounts()
Gets Accounts returns a list that contains MailAccount |
void |
insertAccount(MailboxAccount account)
Gets Accounts returns a list that contains MailAccount |
int |
updateActivation(java.lang.String username,
java.lang.String activation)
update the password of the Account |
int |
updateMaxEmailNumber(java.lang.String username,
int maxemailnumber)
update the password of the Account |
int |
updatePassword(java.lang.String username,
java.lang.String password)
update the password of the Account |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MenuDAO(DBAccount _dba)
Method Detail |
public java.util.List getAccounts() throws InboxListenerException
InboxListenerException
public MailboxAccount getAccount(java.lang.String username) throws InboxListenerException
username
- String
InboxListenerException
public void insertAccount(MailboxAccount account) throws InboxListenerException
InboxListenerException
public int updatePassword(java.lang.String username, java.lang.String password) throws InboxListenerException
username
- String
InboxListenerException
public int updateActivation(java.lang.String username, java.lang.String activation) throws InboxListenerException
username
- String
InboxListenerException
public int updateMaxEmailNumber(java.lang.String username, int maxemailnumber) throws InboxListenerException
username
- String
InboxListenerException
public void deleteAccount(java.lang.String username) throws InboxListenerException
InboxListenerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |