|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portlet.emailpreview.dao.demo.DemoAccountService
@Component public final class DemoAccountService
A Demo implementation of IEmailAccountService.
| Constructor Summary | |
|---|---|
DemoAccountService()
|
|
| 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. |
void |
setJsonLocation(String jsonLocation)
|
boolean |
setSeenFlag(javax.portlet.PortletRequest req,
long[] uids,
boolean seenValue)
Switch the value of the SEEN flag for the specified messages. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DemoAccountService()
| Method Detail |
|---|
public void setJsonLocation(String jsonLocation)
public AccountSummary getAccountSummary(javax.portlet.PortletRequest req,
int start,
int max,
boolean refresh)
IEmailAccountServiceAccountSummary object from the data store itself, or
possibly from cache.
getAccountSummary in interface IEmailAccountServicereq - The current PortletRequestmax - 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
public EmailMessage getMessage(javax.portlet.PortletRequest req,
int messageNum)
IEmailAccountService
getMessage in interface IEmailAccountServicereq - The current PortletRequestmessageNum - Index of the selected message
public boolean deleteMessages(javax.portlet.PortletRequest req,
long[] uids)
IEmailAccountService
deleteMessages in interface IEmailAccountServicereq - The current PortletRequestuids - Array of message UIDs to delete
public boolean setSeenFlag(javax.portlet.PortletRequest req,
long[] uids,
boolean seenValue)
IEmailAccountService
setSeenFlag in interface IEmailAccountServicereq - The current PortletRequestseenValue - The new value of the seen flag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||