com.atlassian.confluence.user.notifications
Class UserSignUpNotificationsListener
java.lang.Object
com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener
com.atlassian.confluence.user.notifications.UserSignUpNotificationsListener
- All Implemented Interfaces:
- com.atlassian.event.EventListener
public class UserSignUpNotificationsListener
- extends AbstractNotificationsListener
Sends notifications to admins when a user signs up.
Methods inherited from class com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener |
attachAvatar, getConversionContext, getNotificationDataForEvent, handleEvent, sendNotification, sendNotification, sendNotifications, setFormatSettingsManager, setHtmlDiffer, setI18NBeanFactory, setLocaleManager, setNotificationManager, setNotificationRenderManager, setNotificationsSender, setPermissionManagerTarget, setTaskManager, setUserAccessor, setViewRenderer, setWebResourceManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserSignUpNotificationsListener
public UserSignUpNotificationsListener()
getContentEntityObject
protected ContentEntityObject getContentEntityObject(java.util.Map contextMap)
- Description copied from class:
AbstractNotificationsListener
- Returns the content entity used for the render context.
- Specified by:
getContentEntityObject
in class AbstractNotificationsListener
processNotifications
public void processNotifications(com.atlassian.event.Event event)
- Description copied from class:
AbstractNotificationsListener
- Generates the notifications associated with an event. This method should never be run if the Event is a ContentEvent
with suppressNotifications set to true.
- Specified by:
processNotifications
in class AbstractNotificationsListener
createNotificationTask
protected com.atlassian.mail.queue.MailQueueItem createNotificationTask(com.atlassian.user.User toUser,
NotificationData notificationData,
java.lang.String renderedSubject,
NotificationContext context)
getHandledEventClasses
public java.lang.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)
setSignupManager
public void setSignupManager(SignupManager easyUserManager)
setEmailService
public void setEmailService(EmailService notificationsService)
setLicenseService
public void setLicenseService(LicenseService licenseService)
Copyright © 2003-2014 Atlassian. All Rights Reserved.