|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.funambol.email.console.manager.ConsoleManager
public class ConsoleManager
| Field Summary | |
|---|---|
protected ConsoleDAO |
cdao
|
protected static com.funambol.server.tools.id.DBIDGenerator |
idMailServerSpace
|
protected static com.funambol.server.tools.id.DBIDGenerator |
idUserSpace
|
protected com.funambol.framework.logging.FunambolLogger |
log
|
| Constructor Summary | |
|---|---|
ConsoleManager()
|
|
| Method Summary | |
|---|---|
int |
checkAccount(MailServerAccount msa,
int portalCheckTimeout)
check the account on the mail server ok = 0 invalid protocol = 1 invalid username or password = 2 cannection failed = 3 |
int |
deletePubMailServer(java.lang.String mailServerId)
delete mail server |
int |
deleteUser(java.lang.String accountID)
delete user |
int |
disableUser(java.lang.String accountID)
disable account |
int |
enableUser(java.lang.String accountID)
enable account |
SyncItemInfoAdmin[] |
getCachedInfo(java.lang.String username,
java.lang.String protocol)
get the cached info for the specified username |
MailServer |
getPubMailServer(java.lang.String mailServerId)
get public mail server |
MailServer[] |
getPubMailServers(com.funambol.framework.filter.Clause clause)
get public mail servers |
MailServerAccount |
getUser(java.lang.String username)
get user |
MailServerAccount |
getUserFromID(java.lang.String accountID)
get user |
MailServerAccount[] |
getUsers(com.funambol.framework.filter.Clause clause)
get users in the filter |
int |
insertPubMailServer(MailServer ms)
insert public mail server configuration |
int |
insertUser(MailServerAccount msa)
insert user and the mail server configuration |
int |
updatePubMailServer(MailServer ms)
update public mail server |
int |
updateUser(MailServerAccount msa)
update user regarding the mail server connection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected com.funambol.framework.logging.FunambolLogger log
protected static com.funambol.server.tools.id.DBIDGenerator idMailServerSpace
protected static com.funambol.server.tools.id.DBIDGenerator idUserSpace
protected ConsoleDAO cdao
| Constructor Detail |
|---|
public ConsoleManager()
| Method Detail |
|---|
public int insertUser(MailServerAccount msa)
throws EntityException
msa - MailServerAccount
EntityException
public int deleteUser(java.lang.String accountID)
throws EntityException
accountID - String
EntityException
public int disableUser(java.lang.String accountID)
throws EntityException
accountID - String
EntityException
public int enableUser(java.lang.String accountID)
throws EntityException
accountID - String
EntityException
public int updateUser(MailServerAccount msa)
throws EntityException
msa - MailServerAccount
EntityException
public MailServerAccount[] getUsers(com.funambol.framework.filter.Clause clause)
throws EntityException
clause - Clause
EntityException
public MailServerAccount getUser(java.lang.String username)
throws EntityException
username - String
EntityException
public MailServerAccount getUserFromID(java.lang.String accountID)
throws EntityException
accountID - String
EntityException
public int insertPubMailServer(MailServer ms)
throws EntityException
ms - PublicMailServer
EntityException
public int deletePubMailServer(java.lang.String mailServerId)
throws EntityException
mailServerId - String
EntityException
public int updatePubMailServer(MailServer ms)
throws EntityException
ms - PublicMailServer
EntityException
public MailServer[] getPubMailServers(com.funambol.framework.filter.Clause clause)
throws EntityException
EntityException
public MailServer getPubMailServer(java.lang.String mailServerId)
throws EntityException
mailServerId - String
EntityException
public SyncItemInfoAdmin[] getCachedInfo(java.lang.String username,
java.lang.String protocol)
throws EntityException
username - Stringprotocol - String
EntityException
public int checkAccount(MailServerAccount msa,
int portalCheckTimeout)
throws EntityException
msa - MailServerAccountportalCheckTimeout - timeout for each attempt
EntityException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||