com.atlassian.confluence.mail.notification.listeners
Class BlogPostNotificationsListener

java.lang.Object
  extended by com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener<BlogPostEvent>
      extended by com.atlassian.confluence.mail.notification.listeners.BlogPostNotificationsListener
All Implemented Interfaces:
com.atlassian.event.EventListener

public class BlogPostNotificationsListener
extends AbstractNotificationsListener<BlogPostEvent>


Field Summary
 
Fields inherited from class com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener
dataSourceFactory, notificationManager, notificationsSender, taskManager, userAccessor, viewRenderer
 
Constructor Summary
BlogPostNotificationsListener()
           
 
Method Summary
protected  ContentEntityObject getContentEntityObject(java.util.Map contextMap)
          Returns the content entity used for the render context.
 java.lang.Class[] getHandledEventClasses()
           
protected  void handleBlogPostEvent(BlogPostEvent blogEvent)
           
protected  void processNotifications(BlogPostEvent event)
          Generates the notifications associated with an event.
 
Methods inherited from class com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener
attachAvatar, getConversionContext, getNotificationDataForEvent, handleEvent, sendNotification, sendNotification, sendNotifications, setDataSourceFactory, 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
 

Constructor Detail

BlogPostNotificationsListener

public BlogPostNotificationsListener()
Method Detail

processNotifications

protected void processNotifications(BlogPostEvent 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<BlogPostEvent>

handleBlogPostEvent

protected void handleBlogPostEvent(BlogPostEvent blogEvent)

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<BlogPostEvent>

getHandledEventClasses

public java.lang.Class[] getHandledEventClasses()


Copyright © 2003-2014 Atlassian. All Rights Reserved.