| javax.servlet.http.HttpServlet org.tigris.scarab.notification.ScarabNewNotificationManager
All known Subclasses: org.tigris.scarab.notification.ScarabNotificationManager,
ScarabNewNotificationManager | public class ScarabNewNotificationManager extends HttpServlet implements NotificationManager(Code) | | This class provides the new implementation for the Notification Manager.
It will queue the notifications, and then process them consolidating by user and issue, so
a user will only get ONE email for issue containing every activity relating this
issue since the last notification.
author: jorgeuriarte |
Field Summary | |
public static Logger | log |
log | public static Logger log(Code) | | |
addActivityNotification | public void addActivityNotification(ActivityType event, ActivitySet activitySet, Issue issue, ScarabUser fromUser)(Code) | | Receives an activitySet from which to generate notification. Current
implementation does only online email sending, with no aggregation or
filtering.
|
addActivityNotification | public void addActivityNotification(ActivityType event, ActivitySet activitySet, Issue issue, Set toUsers, Set ccUsers, ScarabUser fromUser)(Code) | | Long version of the addActivityNotification method, allowing to pass the sets of
users involved as 'To' or 'CC'.
|
sendPendingNotifications | public void sendPendingNotifications()(Code) | | This method process the pending notifications and send them
to the users.
If the NotificationManager is not activated, this method
will not do anything (the mail should have been sent already).
|
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|