SHA-1627 : CLONE - Create email template

- Hooked a new step into the invite moderated workflow, so as to notify by email all site managers of site join requests.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129048 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Constantin Popa
2016-08-01 13:57:30 +00:00
parent e381de4db0
commit b6715f9b35
18 changed files with 929 additions and 246 deletions

View File

@@ -27,7 +27,7 @@ package org.alfresco.service.cmr.invitation;
import java.util.List;
import java.util.Map;
import org.alfresco.service.Auditable;
import org.alfresco.service.NotAuditable;
@@ -324,6 +324,17 @@ public interface InvitationService
* @return true if emails are sent on invite.
*/
@NotAuditable
boolean isSendEmails();
boolean isSendEmails();
/**
*
* Sends the site join request notification email using the given template, subject localization key, and variables.
*
* @param invitationId
* @param emailTemplateXpath
* @param emailSubjectKey
* @param variables
*/
@Auditable(parameters = { "inviteId" })
public void sendModeratedInvitation(String invitationId, String emailTemplateXpath, String emailSubjectKey, Map<String, Object> variables);
}