com.atlassian.confluence.plugins.replytoemail
Class ReplyToEmailHandler

java.lang.Object
  extended by com.atlassian.confluence.plugins.replytoemail.ReplyToEmailHandler
All Implemented Interfaces:
com.atlassian.confluence.plugins.emailgateway.api.EmailHandler

public class ReplyToEmailHandler
extends java.lang.Object
implements com.atlassian.confluence.plugins.emailgateway.api.EmailHandler

Handles emails that are Replies to emails sent from Confluence.

Allows users to add comments by replying to Page, Blog and Comment notifications.

Since:
5.3

Constructor Summary
ReplyToEmailHandler(ContentEntityManager contentEntityManager, CommentManager commentManager, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, com.atlassian.confluence.plugins.emailgateway.api.UsersByEmailService usersByEmailService, com.atlassian.confluence.plugins.emailgateway.api.EmailContentParser emailContentParser, com.atlassian.confluence.plugins.emailgateway.api.AttachmentConverterService attachmentConverterService)
           
 
Method Summary
 boolean handle(com.atlassian.confluence.plugins.emailgateway.api.ReceivedEmail email)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplyToEmailHandler

public ReplyToEmailHandler(@Qualifier(value="contentEntityManager")
                           ContentEntityManager contentEntityManager,
                           CommentManager commentManager,
                           com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate,
                           com.atlassian.confluence.plugins.emailgateway.api.UsersByEmailService usersByEmailService,
                           com.atlassian.confluence.plugins.emailgateway.api.EmailContentParser emailContentParser,
                           com.atlassian.confluence.plugins.emailgateway.api.AttachmentConverterService attachmentConverterService)
Method Detail

handle

public boolean handle(com.atlassian.confluence.plugins.emailgateway.api.ReceivedEmail email)
               throws com.atlassian.confluence.plugins.emailgateway.api.EmailHandlingException
Specified by:
handle in interface com.atlassian.confluence.plugins.emailgateway.api.EmailHandler
Throws:
com.atlassian.confluence.plugins.emailgateway.api.EmailHandlingException


Copyright © 2003-2013 Atlassian. All Rights Reserved.