ALF-11837 - now will authenticate via both from fields - also a refactor in anticipation of implemeting multiple recipeints and authentication.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32731 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2011-12-13 14:53:18 +00:00
parent e18d1961ab
commit c34da6ea33
5 changed files with 134 additions and 156 deletions

View File

@@ -40,20 +40,20 @@ public interface EmailService
/**
* Processes an email message. The message's content is intended for a node found by
* examining the email's target address.
*
* @param delivery instructions - who gets the message and who is it from
* @param message the email message
* @throws EmailMessageRejectException if the message is rejected for <b>any</b> reason
*/
@Auditable(parameters = { "message" })
void importMessage(EmailMessage message);
void importMessage(EmailDelivery delivery, EmailMessage message);
/**
* Process an email message. The message's content is intended for a specific node.
*
* @param delivery instructions - who gets the message and who is it from
* @param nodeRef the node to import the message to
* @param message the email message
* @throws EmailMessageRejectException if the message is rejected for <b>any</b> reason
*/
@Auditable(parameters = { "nodeRef", "message" })
void importMessage(NodeRef nodeRef, EmailMessage message);
void importMessage(EmailDelivery delivery, NodeRef nodeRef, EmailMessage message);
}