com.atlassian.confluence.mail.archive
Interface MailContentManager

All Known Implementing Classes:
DefaultMailContentManager

public interface MailContentManager


Method Summary
 int findMailTotal(Space space)
           
 Mail getById(long id)
           
 Mail getFirstMailAfter(Mail mail)
           
 Mail getFirstMailBefore(Mail mail)
           
 Iterable<Mail> getSpaceMail(Space space, int startIndex, int maxResults)
           
 void removeMailInSpace(Space space)
           
 boolean spaceHasMail(Space space)
           
 Mail storeIncomingMail(Space space, javax.mail.internet.MimeMessage mimeMessage)
           
 

Method Detail

getById

Mail getById(long id)

getFirstMailAfter

Mail getFirstMailAfter(Mail mail)

getFirstMailBefore

Mail getFirstMailBefore(Mail mail)

findMailTotal

int findMailTotal(Space space)

spaceHasMail

boolean spaceHasMail(Space space)

getSpaceMail

Iterable<Mail> getSpaceMail(Space space,
                            int startIndex,
                            int maxResults)

storeIncomingMail

Mail storeIncomingMail(Space space,
                       javax.mail.internet.MimeMessage mimeMessage)
                       throws ConfluenceException
Throws:
ConfluenceException

removeMailInSpace

void removeMailInSpace(Space space)


Copyright © 2003–2015 Atlassian. All rights reserved.