com.atlassian.jira.notification
Class AdhocNotificationServiceImpl

java.lang.Object
  extended by com.atlassian.jira.notification.AdhocNotificationServiceImpl
All Implemented Interfaces:
AdhocNotificationService

public final class AdhocNotificationServiceImpl
extends Object
implements AdhocNotificationService


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.notification.AdhocNotificationService
AdhocNotificationService.ValiationOption, AdhocNotificationService.ValidateNotificationResult
 
Constructor Summary
AdhocNotificationServiceImpl(MailService mailService, UserManager userManager, GroupManager groupManager, WatcherService watcherService, VoteService voteService, PermissionManager permissionManager, I18nHelper.BeanFactory i18nBeanFactory, NotificationSchemeManager notificationSchemeManager, NotificationFilterManager notificationFilterManager, UserPreferencesManager userPreferencesManager)
           
 
Method Summary
 NotificationBuilder makeBuilder()
           
static ServiceOutcome<NotificationBuilder> makeBuilder(NotificationBuilder notificationBuilder, NotificationJsonBean jsonBean, I18nHelper i18nHelper)
           
 void sendNotification(AdhocNotificationService.ValidateNotificationResult result)
           
 AdhocNotificationService.ValidateNotificationResult validateNotification(NotificationBuilder notification, com.atlassian.crowd.embedded.api.User user, Issue issue)
           
 AdhocNotificationService.ValidateNotificationResult validateNotification(NotificationBuilder notification, com.atlassian.crowd.embedded.api.User user, Issue issue, AdhocNotificationService.ValiationOption option)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdhocNotificationServiceImpl

public AdhocNotificationServiceImpl(MailService mailService,
                                    UserManager userManager,
                                    GroupManager groupManager,
                                    WatcherService watcherService,
                                    VoteService voteService,
                                    PermissionManager permissionManager,
                                    I18nHelper.BeanFactory i18nBeanFactory,
                                    NotificationSchemeManager notificationSchemeManager,
                                    NotificationFilterManager notificationFilterManager,
                                    UserPreferencesManager userPreferencesManager)
Method Detail

makeBuilder

public NotificationBuilder makeBuilder()
Specified by:
makeBuilder in interface AdhocNotificationService

makeBuilder

public static ServiceOutcome<NotificationBuilder> makeBuilder(NotificationBuilder notificationBuilder,
                                                              NotificationJsonBean jsonBean,
                                                              I18nHelper i18nHelper)

validateNotification

public AdhocNotificationService.ValidateNotificationResult validateNotification(NotificationBuilder notification,
                                                                                com.atlassian.crowd.embedded.api.User user,
                                                                                Issue issue)
Specified by:
validateNotification in interface AdhocNotificationService

validateNotification

public AdhocNotificationService.ValidateNotificationResult validateNotification(NotificationBuilder notification,
                                                                                com.atlassian.crowd.embedded.api.User user,
                                                                                Issue issue,
                                                                                AdhocNotificationService.ValiationOption option)
Specified by:
validateNotification in interface AdhocNotificationService

sendNotification

public void sendNotification(AdhocNotificationService.ValidateNotificationResult result)
Specified by:
sendNotification in interface AdhocNotificationService


Copyright © 2002-2014 Atlassian. All Rights Reserved.