|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IEmailAccountService
IEmailAccountDao is repsonsible for retrieving email messages from an arbitrary email store.
| Method Summary | |
|---|---|
boolean |
deleteMessages(javax.portlet.PortletRequest req,
long[] uids)
Delete and expunge the specified massages from the store. |
AccountSummary |
getAccountSummary(javax.portlet.PortletRequest req,
int start,
int max,
boolean refresh)
Obtains the AccountSummary object from the data store itself, or
possibly from cache. |
EmailMessage |
getMessage(javax.portlet.PortletRequest req,
int messageNum)
Retrieve an individual message from the mail store. |
boolean |
setSeenFlag(javax.portlet.PortletRequest req,
long[] uids,
boolean value)
Switch the value of the SEEN flag for the specified messages. |
| Method Detail |
|---|
AccountSummary getAccountSummary(javax.portlet.PortletRequest req,
int start,
int max,
boolean refresh)
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 false
MailAuthenticationException - When authentication with the mail server fails
EmailPreviewException - On other errors
EmailMessage getMessage(javax.portlet.PortletRequest req,
int messageNum)
req - The current PortletRequestmessageNum - Index of the selected message
boolean deleteMessages(javax.portlet.PortletRequest req,
long[] uids)
req - The current PortletRequestuids - Array of message UIDs to delete
boolean setSeenFlag(javax.portlet.PortletRequest req,
long[] uids,
boolean value)
req - The current PortletRequestuids - value - The new value of the seen flag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||