public interface IMailAccountDao<T extends javax.mail.Folder>
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteMessages(MailStoreConfiguration storeConfig,
String[] uuids)
Delete the list of messages from Exchange.
|
AccountSummary |
fetchAccountSummaryFromStore(MailStoreConfiguration storeConfig,
String username,
String mailAccount,
String folder,
int start,
int max)
Obtains a summary of the email messages from the configured store (to/from/subject/date) and general
mailbox summary.
|
List<T> |
getAllUserInboxFolders(MailStoreConfiguration storeConfig)
Gets all the user's inbox folders.
|
EmailMessage |
getMessage(MailStoreConfiguration storeConfig,
String uuid)
Gets a message from the mail server.
|
boolean |
setMessageReadStatus(MailStoreConfiguration storeConfig,
String[] uuids,
boolean read)
Sets the isRead status of the indicated messages to the indicated value.
|
AccountSummary fetchAccountSummaryFromStore(MailStoreConfiguration storeConfig, String username, String mailAccount, String folder, int start, int max)
storeConfig - mailstore configurationusername - Portal usernamemailAccount - Email accountstart - Index of the first expected messagemax - Maximum number of messages to returnfolder - mailbox folder to useEmailMessage getMessage(MailStoreConfiguration storeConfig, String uuid)
uuid - MessagestoreConfig - mail configurationboolean deleteMessages(MailStoreConfiguration storeConfig, String[] uuids)
uuids - uuids if the messages to deleteboolean setMessageReadStatus(MailStoreConfiguration storeConfig, String[] uuids, boolean read)
uuids - uuids of the messages to change the read status ofread - true to indicate message has been readList<T> getAllUserInboxFolders(MailStoreConfiguration storeConfig)
Copyright © 2015 Jasig. All Rights Reserved.