com.atlassian.confluence.mail.notification
Class NotificationEmailHelper
java.lang.Object
com.atlassian.confluence.mail.notification.NotificationEmailHelper
public class NotificationEmailHelper
- extends java.lang.Object
Helper methods for generating and parsing message ids.
- Since:
- 5.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotificationEmailHelper
public NotificationEmailHelper()
extractTargetContentFromNotificationEmailReply
public static ContentEntityObject extractTargetContentFromNotificationEmailReply(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers,
NotificationEmailHelper.ContentFinder contentFinder)
- Retrieves the relevant content object from the given (reply) email headers.
- Parameters:
headers
- the headers from an email replycontentFinder
- function to resolve ContentEntityObject
s from a content id.
- Returns:
- the
ContentEntityObject
resolved.
populateWithTrackingHeaders
public static void populateWithTrackingHeaders(com.atlassian.mail.Email mail,
java.lang.Long contentId)
- Adds a message id and reply address derived from the given content id
- Parameters:
mail
- the mail to modifycontentId
- the content id
Copyright © 2003-2014 Atlassian. All Rights Reserved.