|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NotificationService
| Method Summary | |
|---|---|
boolean |
addIssueNotification(Notification notification)
TODO: whats its use? Moved from IssueService, could not find out the purpose of this method. |
List<Notification> |
getIssueNotifications(Issue issue)
Retrieves all notifications for an issue where the notification's user is also active. |
List<Notification> |
getIssueNotifications(Issue issue,
boolean primaryOnly,
boolean activeOnly)
|
List<Notification> |
getPrimaryIssueNotifications(Issue issue)
Retrieves the primary issue notifications. |
boolean |
hasIssueNotification(Issue issue,
Integer userId)
|
boolean |
hasIssueNotification(Issue issue,
Integer userId,
Notification.Role role)
|
boolean |
removeIssueNotification(Integer notificationId)
Retrieves an array of issue notifications. |
void |
sendNotification(Issue issue,
Notification.Type type,
String baseURL)
|
void |
sendNotification(Issue issue,
Notification.Type type,
String baseURL,
javax.mail.internet.InternetAddress[] receipients,
Integer lastModifiedDays)
|
void |
sendNotification(Notification notification,
Notification.Type type,
String baseURL)
|
| Method Detail |
|---|
List<Notification> getPrimaryIssueNotifications(Issue issue)
issueId - the id of the issue to find notifications forList<Notification> getIssueNotifications(Issue issue)
issueId - the id of the issue to find notifications forboolean removeIssueNotification(Integer notificationId)
issueId - the id of the issue to find notifications forpimaryOnly - only include the primary notificationsactiveOnly - only include the notification if the user is currently active (not locked or deleted)org.itracker.services.implementations.IssueServiceImpl#getPrimaryIssueNotifications
List<Notification> getIssueNotifications(Issue issue,
boolean primaryOnly,
boolean activeOnly)
issueId - primaryOnly - activeOnly -
boolean hasIssueNotification(Issue issue,
Integer userId)
issueId - userId -
boolean hasIssueNotification(Issue issue,
Integer userId,
Notification.Role role)
void sendNotification(Notification notification,
Notification.Type type,
String baseURL)
notification - type - baseURL -
void sendNotification(Issue issue,
Notification.Type type,
String baseURL)
issue - type - baseURL -
void sendNotification(Issue issue,
Notification.Type type,
String baseURL,
javax.mail.internet.InternetAddress[] receipients,
Integer lastModifiedDays)
issueId - type - baseURL - receipients - lastModifiedDays - boolean addIssueNotification(Notification notification)
IssueService, could not find out the purpose of this method. What will happen with this added Notification?
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||