public class

NotificationData

extends Object
implements Serializable
java.lang.Object
   ↳ com.atlassian.confluence.mail.notification.listeners.NotificationData

Class Overview

Data that is related to a set of notifications about a change in the system. This is a like a template for all the notifications that are sent for a single event.

Summary

Public Constructors
NotificationData(User modifier, boolean shouldNotifyOnOwnActions, ConfluenceEntityObject permissionEntity)
Public Methods
void addAllToContext(Map<StringSerializable> map)
void addDoNotNotifyAgain(String userName)
void addTemplateImage(DataSource dataSource)
void addToContext(String key, Serializable value)
boolean doNotNotifyAgain(String userName)
Map<StringSerializable> getContext()
User getModifier()
ConfluenceEntityObject getPermissionEntity()
User must have VIEW permission on this entity in order to receive the notification.
String getSubject()
ArrayList<DataSource> getTemplateImageDataSources()
String getTemplateName()
void setSubject(String subject)
void setTemplateName(String templateName)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public NotificationData (User modifier, boolean shouldNotifyOnOwnActions, ConfluenceEntityObject permissionEntity)

Parameters
modifier user who triggered the event that led to creating a notification.

Public Methods

public void addAllToContext (Map<StringSerializable> map)

public void addDoNotNotifyAgain (String userName)

public void addTemplateImage (DataSource dataSource)

public void addToContext (String key, Serializable value)

public boolean doNotNotifyAgain (String userName)

public Map<StringSerializable> getContext ()

public User getModifier ()

public ConfluenceEntityObject getPermissionEntity ()

User must have VIEW permission on this entity in order to receive the notification.

public String getSubject ()

public ArrayList<DataSource> getTemplateImageDataSources ()

public String getTemplateName ()

public void setSubject (String subject)

public void setTemplateName (String templateName)

public String toString ()