@Deprecated public interface MailContentManager extends ContentEntityManager
ITERATE_ALL
Modifier and Type | Method and Description |
---|---|
int |
findMailTotal(Space space)
Deprecated.
|
Mail |
getFirstMailAfter(String spaceKey,
long mailId)
Deprecated.
|
Mail |
getFirstMailBefore(String spaceKey,
long mailId)
Deprecated.
|
List<Mail> |
getMail(Space space,
boolean currentOnly)
Deprecated.
|
Mail |
getMailById(long id)
Deprecated.
Get a mail by its database id.
|
Mail |
getMailByMessageId(String messageId)
Deprecated.
Get a mail by its message-id.
|
List |
getMailsByMessageId(String messageId)
Deprecated.
Get all mails with the matching message-id.
|
List |
getSpaceMail(int firstResult,
int maxResults,
String spaceKey)
Deprecated.
|
Iterator |
getSpaceMailIterator(String spaceKey)
Deprecated.
|
Iterator |
getSpaceMailWithAttachmentsIterator(String spaceKey)
Deprecated.
|
void |
removeAllMail(Space space)
Deprecated.
|
void |
removeAttachmentsForMail(Mail mail)
Deprecated.
|
void |
removeMail(Mail mail)
Deprecated.
since 4.1 - does exactly the same thing as
ContentEntityManager.removeContentEntity(com.atlassian.confluence.core.ContentEntityObject) |
boolean |
spaceHasMail(String spaceKey)
Deprecated.
|
Mail |
storeIncomingMail(Space space,
byte[] rawMessage)
Deprecated.
Create a new mail content object in the given space for the given raw RFC822 message.
|
Mail |
storeIncomingMail(Space space,
javax.mail.internet.MimeMessage mimeMessage)
Deprecated.
Create a new mail content object in the given space for the given mimeMessage.
|
getById, getNextVersion, getOtherVersion, getPageAndBlogPostsVersionsLastEditedByUser, getPreviousVersion, getRecentlyAddedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntitiesForUser, getRecentlyModifiedForChangeDigest, getVersionHistorySummaries, getVersionsLastEditedByUser, refreshContentEntity, removeContentEntity, removeHistoricalVersion, revertContentEntityBackToVersion, saveContentEntity, saveContentEntity, saveNewVersion, saveNewVersion, updateContentLinkingTo, updateOutgoingLinksInContent, updateSingleContentLinkinTo, updateSingleContentLinkinTo
Mail getMailById(long id)
Mail getMailByMessageId(String messageId)
List getMailsByMessageId(String messageId)
messageId
- the message id of the mails to retrieveMail storeIncomingMail(Space space, javax.mail.internet.MimeMessage mimeMessage) throws ConfluenceException
space
- the space to attach the message tomimeMessage
- the message that has been receivedConfluenceException
Mail storeIncomingMail(Space space, byte[] rawMessage)
We use a byte array because RFC822 messages are streams of bytes - character encoding happens after the header is parsed
space
- the space to attach the message torawMessage
- the message that has been receivedboolean spaceHasMail(String spaceKey)
@Deprecated void removeMail(Mail mail)
ContentEntityManager.removeContentEntity(com.atlassian.confluence.core.ContentEntityObject)
mail
- the mail to removevoid removeAttachmentsForMail(Mail mail)
Iterator getSpaceMailWithAttachmentsIterator(String spaceKey)
int findMailTotal(Space space)
void removeAllMail(Space space)
Copyright © 2003–2016 Atlassian. All rights reserved.