public class InviteModeratedSender extends InviteSender
Modifier and Type | Field and Description |
---|---|
static String |
SHARE_PENDING_INVITES_LINK |
static String |
WF_PACKAGE |
actionService, fileFolderService, messageService, namespaceService, nodeService, personService, repoAdminService, repository, searchService, siteService
Constructor and Description |
---|
InviteModeratedSender(ServiceRegistry services,
Repository repository,
MessageService messageService) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Serializable> |
buildMailTextModel(Map<String,String> properties) |
protected String |
getPendingInvitesLink(Map<String,String> properties) |
List<String> |
getRequiredProperties() |
protected String |
getWorkflowPropForSiteName() |
void |
sendMail(String emailTemplatePath,
String emailSubjectKey,
Map<String,String> properties)
Sends an invitation email.
|
checkProperties, getEmailTemplateNodeRef, getSiteName
public static final String WF_PACKAGE
public static final String SHARE_PENDING_INVITES_LINK
public InviteModeratedSender(ServiceRegistry services, Repository repository, MessageService messageService)
public void sendMail(String emailTemplatePath, String emailSubjectKey, Map<String,String> properties)
InviteSender
sendMail
in class InviteSender
emailTemplatePath
- the XPath to the email template in the repositoryemailSubjectKey
- the subject of the emailproperties
- A Map containing the properties needed to send the email.protected Map<String,Serializable> buildMailTextModel(Map<String,String> properties)
buildMailTextModel
in class InviteSender
public List<String> getRequiredProperties()
getRequiredProperties
in class InviteSender
protected String getWorkflowPropForSiteName()
getWorkflowPropForSiteName
in class InviteSender
Copyright © 2005–2017 Alfresco Software. All rights reserved.