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

java.lang.Object
  extended by com.atlassian.confluence.mail.notification.listeners.PerNotificationData

public class PerNotificationData
extends Object

Data that is specific to a single email notification sent to a single user.


Constructor Summary
PerNotificationData()
           
 
Method Summary
 void addRightFooterLink(String url, String labelKey)
          Add a link that appears in the bottom-right of the notification.
 List<List<String>> getRightFooterLinks()
          Returns the list of subscription links for the bottom-right of each notification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerNotificationData

public PerNotificationData()
Method Detail

addRightFooterLink

public void addRightFooterLink(String url,
                               String labelKey)
Add a link that appears in the bottom-right of the notification.

Parameters:
url - the URL for the link, relative to the instance (context path will be prepended)
labelKey - the i18n key for the label

getRightFooterLinks

public List<List<String>> getRightFooterLinks()
Returns the list of subscription links for the bottom-right of each notification. Each item is a two-item list consisting of the relative URL and label i18n key.

All the returned lists are immutable.

See Also:
addRightFooterLink(String, String)


Copyright © 2003-2013 Atlassian. All Rights Reserved.