@Role
@Unstable
public interface MailContentStore
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String batchId,
String messageId)
Remove a message from the store.
|
javax.mail.internet.MimeMessage |
load(javax.mail.Session session,
String batchId,
String messageId)
Load message from the store.
|
void |
save(String batchId,
javax.mail.internet.MimeMessage message)
Save MimeMessage to the store.
|
void save(String batchId, javax.mail.internet.MimeMessage message) throws MailStoreException
batchId - the batch id of the message to be savedmessage - the message to serialize in the storeMailStoreException - when an error occurs when saving the message to the storejavax.mail.internet.MimeMessage load(javax.mail.Session session,
String batchId,
String messageId)
throws MailStoreException
session - the JavaMail session used to send the mailbatchId - the batch id of the message that was originally savedmessageId - the id of the message that was originally savedMailStoreException - when an error occurs when loading the message from the storevoid delete(String batchId, String messageId) throws MailStoreException
batchId - the batch id of the message that was originally savedmessageId - the id of the message that was originally savedMailStoreException - when an error occurs when deleting the message from the storeCopyright © 2004–2015 XWiki. All rights reserved.