com.atlassian.confluence.mail.notification.listeners
Class AbstractNotificationsListener
java.lang.Object
com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener
- All Implemented Interfaces:
- com.atlassian.event.EventListener
- Direct Known Subclasses:
- AttachmentNotificationsListener, BlogPostNotificationsListener, CommentNotificationsListener, PageNotificationsListener, SpaceNotificationsListener
public abstract class AbstractNotificationsListener
- extends java.lang.Object
- implements com.atlassian.event.EventListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.event.EventListener |
getHandledEventClasses, handleEvent |
userAccessor
protected UserAccessor userAccessor
taskManager
protected com.atlassian.core.task.MultiQueueTaskManager taskManager
notificationManager
protected NotificationManager notificationManager
permissionManager
protected PermissionManager permissionManager
wikiStyleRenderer
protected com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer
AbstractNotificationsListener
public AbstractNotificationsListener()
sendNotification
protected void sendNotification(Notification notification,
NotificationData notificationData)
getContentEntityObject
protected abstract ContentEntityObject getContentEntityObject(java.util.Map contextMap)
- Returns the content entity used for the render context.
getRenderContext
protected com.atlassian.renderer.RenderContext getRenderContext(NotificationData notificationData)
createNotificationTask
protected com.atlassian.mail.queue.MailQueueItem createNotificationTask(com.atlassian.user.User toUser,
NotificationData notificationData,
java.lang.String renderedSubject,
java.util.Map contextMap)
sendPageNotifications
protected void sendPageNotifications(AbstractPage page,
NotificationData notificationData)
sendSpaceNotifications
protected void sendSpaceNotifications(Space space,
NotificationData notificationData)
sendNotifications
protected void sendNotifications(java.util.List spaceNotifications,
NotificationData notificationData)
makeViewEntityPermissionsCheck
protected NotificationsPermissionsCheck makeViewEntityPermissionsCheck(java.lang.Object entity)
getLastModifier
protected com.atlassian.user.User getLastModifier(ConfluenceEntityObject entity)
setPermissionManager
public void setPermissionManager(PermissionManager permissionManager)
setNotificationManager
public void setNotificationManager(NotificationManager notificationManager)
setUserAccessor
public void setUserAccessor(UserAccessor userAccessor)
setTaskManager
public void setTaskManager(com.atlassian.core.task.MultiQueueTaskManager taskManager)
setWikiStyleRenderer
public void setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)
setFormatSettingsManager
public void setFormatSettingsManager(FormatSettingsManager formatSettingsManager)
setWebResourceManager
public void setWebResourceManager(com.atlassian.plugin.webresource.WebResourceManager webResourceManager)
Copyright © 2003-2009 Atlassian Pty Ltd. All Rights Reserved.