NotificationServiceImplpublic interface NotificationService
| Modifier and Type | Method | Description | 
|---|---|---|
boolean | 
addIssueNotification(org.itracker.model.Notification notification) | 
 TODO: whats its use? 
 | 
List<org.itracker.model.Notification> | 
getIssueNotifications(org.itracker.model.Issue issue) | 
 Retrieves all notifications for an issue where the notification's user is also active. 
 | 
List<org.itracker.model.Notification> | 
getIssueNotifications(org.itracker.model.Issue issue,
                     boolean primaryOnly,
                     boolean activeOnly) | 
|
List<org.itracker.model.Notification> | 
getPrimaryIssueNotifications(org.itracker.model.Issue issue) | 
 Retrieves the primary issue notifications. 
 | 
boolean | 
hasIssueNotification(org.itracker.model.Issue issue,
                    Integer userId) | 
|
boolean | 
hasIssueNotification(org.itracker.model.Issue issue,
                    Integer userId,
                    org.itracker.model.Notification.Role role) | 
|
boolean | 
hasIssueNotification(org.itracker.model.Issue issue,
                    String login) | 
|
boolean | 
hasIssueNotification(org.itracker.model.Issue issue,
                    String login,
                    org.itracker.model.Notification.Role role) | 
|
boolean | 
removeIssueNotification(Integer notificationId) | 
 Retrieves an array of issue notifications. 
 | 
void | 
sendNotification(org.itracker.model.Issue issue,
                org.itracker.model.Notification.Type type,
                String baseURL) | 
|
void | 
sendNotification(org.itracker.model.Issue issue,
                org.itracker.model.Notification.Type type,
                String baseURL,
                javax.mail.internet.InternetAddress[] receipients,
                Integer lastModifiedDays) | 
 Deprecated.   
 | 
void | 
sendNotification(org.itracker.model.Notification notification,
                org.itracker.model.Notification.Type type,
                String baseURL) | 
|
void | 
sendReminder(org.itracker.model.Issue issue,
            org.itracker.model.User user,
            String baseURL,
            int issueAge) | 
List<org.itracker.model.Notification> getPrimaryIssueNotifications(org.itracker.model.Issue issue)
issue - the issue to find notifications forList<org.itracker.model.Notification> getIssueNotifications(org.itracker.model.Issue issue)
issue - the issue to find notifications forboolean removeIssueNotification(Integer notificationId)
notificationId - id of the notificationList<org.itracker.model.Notification> getIssueNotifications(org.itracker.model.Issue issue, boolean primaryOnly, boolean activeOnly)
issue - primaryOnly - activeOnly - boolean hasIssueNotification(org.itracker.model.Issue issue,
                             Integer userId)
issue - userId - boolean hasIssueNotification(org.itracker.model.Issue issue,
                             String login)
boolean hasIssueNotification(org.itracker.model.Issue issue,
                             String login,
                             org.itracker.model.Notification.Role role)
boolean hasIssueNotification(org.itracker.model.Issue issue,
                             Integer userId,
                             org.itracker.model.Notification.Role role)
void sendNotification(org.itracker.model.Notification notification,
                      org.itracker.model.Notification.Type type,
                      String baseURL)
notification - type - baseURL - void sendNotification(org.itracker.model.Issue issue,
                      org.itracker.model.Notification.Type type,
                      String baseURL)
issue - type - baseURL - @Deprecated void sendNotification(org.itracker.model.Issue issue, org.itracker.model.Notification.Type type, String baseURL, javax.mail.internet.InternetAddress[] receipients, Integer lastModifiedDays)
issue - type - baseURL - receipients - lastModifiedDays - boolean addIssueNotification(org.itracker.model.Notification notification)
IssueService, could not find out the purpose of this method. What will happen with this added Notification?void sendReminder(org.itracker.model.Issue issue,
                  org.itracker.model.User user,
                  String baseURL,
                  int issueAge)
Copyright © 2002–2022 itracker. All rights reserved.