com.atlassian.confluence.plugins.easyuser.notifications
Class UserSignUpNotificationsListener

java.lang.Object
  extended by com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener
      extended by com.atlassian.confluence.plugins.easyuser.notifications.UserSignUpNotificationsListener
All Implemented Interfaces:
com.atlassian.event.EventListener

public class UserSignUpNotificationsListener
extends AbstractNotificationsListener

Sends notifications to admins when a user signs up.


Field Summary
 
Fields inherited from class com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener
dataSourceFactory, notificationManager, taskManager, userAccessor, viewRenderer
 
Constructor Summary
UserSignUpNotificationsListener()
           
 
Method Summary
protected  com.atlassian.mail.queue.MailQueueItem createNotificationTask(com.atlassian.user.User toUser, NotificationData notificationData, String renderedSubject, Map contextMap)
           
protected  ContentEntityObject getContentEntityObject(Map contextMap)
          Returns the content entity used for the render context.
 Class[] getHandledEventClasses()
           
 void handleEvent(com.atlassian.event.Event event)
           
 void setDataSourceFactory(DataSourceFactory dataSourceFactory)
           
 void setEasyUserManager(EasyUserManager easyUserManager)
           
 void setMailContentProcessor(MailContentProcessor mailContentProcessor)
           
 void setSpacePermissionManager(SpacePermissionManager spacePermissionManager)
           
 void setUserChecker(UserChecker userChecker)
           
 
Methods inherited from class com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener
attachAvatar, getConversionContext, getNotificationDataForEvent, sendNetworkNotifications, sendNotification, sendNotification, sendNotifications, sendPageNotifications, sendSpaceNotifications, setFormatSettingsManager, setHtmlDiffer, setI18NBeanFactory, setLocaleManager, setNotificationManager, setPermissionManagerTarget, setTaskManager, setUserAccessor, setViewRenderer, setWebResourceManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserSignUpNotificationsListener

public UserSignUpNotificationsListener()
Method Detail

getContentEntityObject

protected ContentEntityObject getContentEntityObject(Map contextMap)
Description copied from class: AbstractNotificationsListener
Returns the content entity used for the render context.

Specified by:
getContentEntityObject in class AbstractNotificationsListener

handleEvent

public void handleEvent(com.atlassian.event.Event event)

createNotificationTask

protected com.atlassian.mail.queue.MailQueueItem createNotificationTask(com.atlassian.user.User toUser,
                                                                        NotificationData notificationData,
                                                                        String renderedSubject,
                                                                        Map contextMap)
Overrides:
createNotificationTask in class AbstractNotificationsListener

getHandledEventClasses

public Class[] getHandledEventClasses()

setSpacePermissionManager

public void setSpacePermissionManager(SpacePermissionManager spacePermissionManager)

setMailContentProcessor

public void setMailContentProcessor(MailContentProcessor mailContentProcessor)

setDataSourceFactory

public void setDataSourceFactory(DataSourceFactory dataSourceFactory)
Overrides:
setDataSourceFactory in class AbstractNotificationsListener

setUserChecker

public void setUserChecker(UserChecker userChecker)

setEasyUserManager

public void setEasyUserManager(EasyUserManager easyUserManager)


Copyright © 2003-2012 Atlassian. All Rights Reserved.