com.atlassian.confluence.mail
Interface MailAccountManager
- All Known Implementing Classes:
- DefaultMailAccountManager
- public interface MailAccountManager
updateAccountStatus
public 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
public List poll(Space space)
poll
public MailPollResult poll(Space space,
MailAccount mailAccount)
getMailAccounts
public List getMailAccounts(Space space)
addMailAccount
public MailAccount addMailAccount(Space space,
MailAccount mailAccount)
removeMailAccount
public void removeMailAccount(Space space,
int accountId)
getMailAccount
public MailAccount getMailAccount(Space space,
int accountId)
updateAccount
public void updateAccount(Space space,
MailAccount mailAccount)
pollAllSpaces
public List pollAllSpaces()