|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.email.console.ws.EmailWS
public class EmailWS
Field Summary | |
---|---|
protected com.funambol.framework.logging.FunambolLogger |
log
|
protected ConsoleManager |
manager
|
Constructor Summary | |
---|---|
EmailWS()
|
Method Summary | |
---|---|
int |
checkAccount(MailServerAccount msa)
check the account on the mail server |
int |
deletePubMailServer(java.lang.String mailServerId)
delete mail server |
int |
deleteUser(java.lang.String accountID)
delete userId |
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 |
getPubMailServerFromID(java.lang.String mailServerId)
get public mail server |
MailServer[] |
getPubMailServers(java.lang.String clauses)
get public mail servers |
MailServerAccount |
getUser(java.lang.String username)
get user |
MailServerAccount |
getUserFromID(java.lang.String accountID)
get user |
MailServerAccount[] |
getUsers(java.lang.String clauses)
get users in the filter |
int |
insertPubMailServer(MailServer pms)
insert public mail server configuration |
int |
insertUser(MailServerAccount msa)
insert user and the mail server configuration |
int |
updatePubMailServer(MailServer pms)
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 ConsoleManager manager
Constructor Detail |
---|
public EmailWS()
Method Detail |
---|
public MailServerAccount[] getUsers(java.lang.String clauses) throws com.funambol.framework.server.error.ServerException, EntityException
clauses
- String
EntityException
com.funambol.framework.server.error.ServerException
public SyncItemInfoAdmin[] getCachedInfo(java.lang.String username, java.lang.String protocol) throws com.funambol.framework.server.error.ServerException, EntityException
username
- Stringprotocol
- String
EntityException
com.funambol.framework.server.error.ServerException
public MailServer[] getPubMailServers(java.lang.String clauses) throws com.funambol.framework.server.error.ServerException, EntityException
EntityException
com.funambol.framework.server.error.ServerException
public int insertUser(MailServerAccount msa) throws com.funambol.framework.server.error.ServerException, EntityException
msa
- MailServerAccount
EntityException
com.funambol.framework.server.error.ServerException
public int insertPubMailServer(MailServer pms) throws com.funambol.framework.server.error.ServerException, EntityException
pms
- MailServer
ServerException,
- EntityException
com.funambol.framework.server.error.ServerException
EntityException
public int updatePubMailServer(MailServer pms) throws com.funambol.framework.server.error.ServerException, EntityException
pms
- MailServer
ServerException,
- EntityException
com.funambol.framework.server.error.ServerException
EntityException
public int updateUser(MailServerAccount msa) throws com.funambol.framework.server.error.ServerException, EntityException
msa
- MailServerAccount
EntityException
com.funambol.framework.server.error.ServerException
public int deleteUser(java.lang.String accountID) throws com.funambol.framework.server.error.ServerException, EntityException
accountID
- String
ServerException,
- EntityException
com.funambol.framework.server.error.ServerException
EntityException
public int disableUser(java.lang.String accountID) throws com.funambol.framework.server.error.ServerException, EntityException
accountID
- String
ServerException,
- EntityException
com.funambol.framework.server.error.ServerException
EntityException
public int enableUser(java.lang.String accountID) throws com.funambol.framework.server.error.ServerException, EntityException
accountID
- String
ServerException,
- EntityException
com.funambol.framework.server.error.ServerException
EntityException
public int deletePubMailServer(java.lang.String mailServerId) throws com.funambol.framework.server.error.ServerException, EntityException
mailServerId
- String
EntityException
com.funambol.framework.server.error.ServerException
public MailServerAccount getUser(java.lang.String username) throws com.funambol.framework.server.error.ServerException, EntityException
username
- String
ServerException,
- EntityException
com.funambol.framework.server.error.ServerException
EntityException
public MailServerAccount getUserFromID(java.lang.String accountID) throws com.funambol.framework.server.error.ServerException, EntityException
accountID
- String
ServerException,
- EntityException
com.funambol.framework.server.error.ServerException
EntityException
public MailServer getPubMailServerFromID(java.lang.String mailServerId) throws com.funambol.framework.server.error.ServerException, EntityException
mailServerId
- String
ServerException,
- EntityException
com.funambol.framework.server.error.ServerException
EntityException
public int checkAccount(MailServerAccount msa) throws com.funambol.framework.server.error.ServerException, EntityException
msa
- MailServerAccount
EntityException
com.funambol.framework.server.error.ServerException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |