|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.tigris.scarab.notification.ScarabOldNotificationManager
This class provides the default implementation for the provided notification manager. It just send the notifications by email in the moment they are added.
| Field Summary | |
static org.apache.log4j.Logger |
log
|
| Constructor Summary | |
ScarabOldNotificationManager()
|
|
| Method Summary | |
void |
addActivityNotification(ActivityType event,
ActivitySet activitySet,
Issue issue,
ScarabUser fromUser)
Receives an activitySet from which to generate notification. |
void |
addActivityNotification(ActivityType event,
ActivitySet activitySet,
Issue issue,
java.util.Set toUsers,
java.util.Set ccUsers,
ScarabUser fromUser)
Long version of the addActivityNotification method, allowing to pass the sets of users involved as 'To' or 'CC'. |
java.lang.Integer |
getManagerId()
Each manager has its own id (Which happens to be a small integer value. |
void |
sendPendingNotifications()
Does nothing, because this implementation currently send the notifications online in the moment they are generated calling addActivityNotification methods. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static org.apache.log4j.Logger log
| Constructor Detail |
public ScarabOldNotificationManager()
| Method Detail |
public java.lang.Integer getManagerId()
NotificationManager
getManagerId in interface NotificationManager
public void addActivityNotification(ActivityType event,
ActivitySet activitySet,
Issue issue,
ScarabUser fromUser)
addActivityNotification in interface NotificationManagerevent - The event that originated the notificationactivitySet - The activity set describing the eventissue - The issue affected by the eventfromUser - TODOaddActivityNotification(NotificationEvent, EmailContext,
ActivitySet, Issue, Set, Set),
#addActivityNotification(NotificationEvent, EmailContext, ActivitySet, Issue, Set, Set)
public void addActivityNotification(ActivityType event,
ActivitySet activitySet,
Issue issue,
java.util.Set toUsers,
java.util.Set ccUsers,
ScarabUser fromUser)
addActivityNotification in interface NotificationManagerevent - The event that originated the notificationactivitySet - The activity set describing the eventissue - The issue affected by the eventtoUsers - List of users intended to be notified as 'To:'ccUsers - List of users intended to be notified in 'CC:'fromUser - TODO#addActivityNotification(NotificationEvent, ActivitySet, Issue, ScarabUser)public void sendPendingNotifications()
sendPendingNotifications in interface NotificationManager
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||