com.atlassian.confluence.mail.archive
Interface MailAccountManager
- All Known Implementing Classes:
- DefaultMailAccountManager
public interface MailAccountManager
updateAccountStatus
MailPollResult updateAccountStatus(MailAccount mailAccount)
- check whether mail account can reliably retrieve mail. This will perform a check
(by connecting to the server and logging in, for example) rather than just trusting
the last known status value set on the mail account.
- Returns:
- true if the server successfully verified its status, false otherwise
poll
java.util.List<MailPollResult> poll(Space space)
poll
MailPollResult poll(Space space,
MailAccount mailAccount)
getMailAccounts
java.util.List<MailAccount> getMailAccounts(Space space)
addMailAccount
MailAccount addMailAccount(Space space,
MailAccount mailAccount)
removeMailAccount
void removeMailAccount(Space space,
int accountId)
getMailAccount
MailAccount getMailAccount(Space space,
int accountId)
updateAccount
void updateAccount(Space space,
MailAccount mailAccount)
pollAllSpaces
java.util.List pollAllSpaces()
Copyright © 2003-2014 Atlassian. All Rights Reserved.