|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface INotificationService
This is the interface used to retrieve notifications from a notifications data source.
| Method Summary | |
|---|---|
NotificationResponse |
fetchNotificationsFromSource(javax.portlet.PortletRequest req)
Gathers the collection of notifications for the user associated with the srequest. |
String |
getName()
Returns the name of the service, which should be unique in the portlet app. |
NotificationResponse |
getNotifications(String notificationsContextName,
String remoteUser,
javax.portlet.PortletRequest req)
Most implementations need do nothing special with this method. |
void |
refreshNotifications(String notificationsContextName,
String remoteUser)
After calling this method, the next call to getNotifications will cause the notifications to be fetched from their source(s), not from cache. |
| Method Detail |
|---|
String getName()
NotificationResponse getNotifications(String notificationsContextName,
String remoteUser,
javax.portlet.PortletRequest req)
throws NotificationServiceException
notificationsContextName - Configured in the -portlet.xml Spring fileremoteUser - From req.getRemoteUserreq - The PortletRequest
NotificationServiceException
void refreshNotifications(String notificationsContextName,
String remoteUser)
notificationsContextName - remoteUser -
NotificationResponse fetchNotificationsFromSource(javax.portlet.PortletRequest req)
throws NotificationServiceException
req - The PortletRequest
NotificationServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||