com.atlassian.confluence.user.notifications
Class WelcomeEmailBuilder

java.lang.Object
  extended by com.atlassian.confluence.user.notifications.WelcomeEmailBuilder

public class WelcomeEmailBuilder
extends java.lang.Object

Creates NotificationData instances for new users.

Since:
5.3

Constructor Summary
WelcomeEmailBuilder(SettingsManager settingsManager, DataSourceFactory dataSourceFactory, UserVerificationTokenManager tokenManager)
           
 
Method Summary
 NotificationContext buildContextFrom(ConfluenceUser user, NotificationData notificationData)
          Constructs a NotificationContext for the welcome email with the given notificationData
 NotificationData buildFrom(ConfluenceUser user)
          Builds NotificationData for a welcome email for the given (new) user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WelcomeEmailBuilder

public WelcomeEmailBuilder(SettingsManager settingsManager,
                           DataSourceFactory dataSourceFactory,
                           UserVerificationTokenManager tokenManager)
Method Detail

buildFrom

public NotificationData buildFrom(ConfluenceUser user)
Builds NotificationData for a welcome email for the given (new) user.

Parameters:
user - the user
Returns:
the data

buildContextFrom

public NotificationContext buildContextFrom(ConfluenceUser user,
                                            NotificationData notificationData)
Constructs a NotificationContext for the welcome email with the given notificationData

Parameters:
user - the user to send the email to
notificationData - the data
Returns:
the context


Copyright © 2003-2014 Atlassian. All Rights Reserved.