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, getSiteNamepublic 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)
InviteSendersendMail in class InviteSenderemailTemplatePath - 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 InviteSenderpublic List<String> getRequiredProperties()
getRequiredProperties in class InviteSenderprotected String getWorkflowPropForSiteName()
getWorkflowPropForSiteName in class InviteSenderCopyright © 2005–2018 Alfresco Software. All rights reserved.