public interface IEmailAccountService
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteMessages(javax.portlet.PortletRequest req,
String[] messageIds)
Delete and expunge the specified massages from the store.
|
AccountSummary |
getAccountSummary(javax.portlet.PortletRequest req,
int start,
int max,
boolean refresh,
String folder)
Obtains the
AccountSummary object from the data store itself, or possibly from cache. |
List<javax.mail.Folder> |
getAllUserInboxFolders(javax.portlet.PortletRequest req) |
EmailMessage |
getMessage(javax.portlet.PortletRequest req,
String messageId)
Retrieve an individual message from the mail store.
|
boolean |
setSeenFlag(javax.portlet.PortletRequest req,
String[] messageIds,
boolean read)
Switch the value of the SEEN flag for the specified messages.
|
AccountSummary getAccountSummary(javax.portlet.PortletRequest req, int start, int max, boolean refresh, String folder) throws EmailPreviewException
AccountSummary object from the data store itself, or possibly from cache.req - The current PortletRequeststart - max - The maximum number of messages (header info) that may be returned with the summaryrefresh - True if the concrete service implementation must not return cached data; otherwise falseEmailPreviewException - On other errorsEmailMessage getMessage(javax.portlet.PortletRequest req, String messageId)
req - The current PortletRequestmessageId - messageIdboolean deleteMessages(javax.portlet.PortletRequest req,
String[] messageIds)
req - The current PortletRequestmessageIds - List of messageIds to deleteboolean setSeenFlag(javax.portlet.PortletRequest req,
String[] messageIds,
boolean read)
req - The current PortletRequestmessageIds - read - The new value of the seen flagList<javax.mail.Folder> getAllUserInboxFolders(javax.portlet.PortletRequest req)
Copyright © 2015 Jasig. All Rights Reserved.