public class InviteNominatedSender extends InviteSender
| Modifier and Type | Field and Description |
|---|---|
static String |
SITE_LEAVE_HASH |
static String |
WF_INSTANCE_ID |
static String |
WF_PACKAGE |
actionService, fileFolderService, messageService, namespaceService, nodeService, personService, repoAdminService, repository, searchService, siteService| Constructor and Description |
|---|
InviteNominatedSender(ServiceRegistry services,
Repository repository,
MessageService messageService) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Serializable> |
buildMailTextModel(Map<String,String> properties) |
List<String> |
getRequiredProperties() |
protected String |
getWorkflowPropForSiteName() |
protected String |
makeLink(String location,
String endpoint,
String queryParams,
String hashParam) |
void |
sendMail(Map<String,String> properties)
Deprecated.
|
void |
sendMail(String emailTemplateXpath,
String emailSubjectKey,
Map<String,String> properties)
Sends an invitation email.
|
checkProperties, getEmailTemplateNodeRef, getSiteNamepublic static final String WF_INSTANCE_ID
public static final String WF_PACKAGE
public static final String SITE_LEAVE_HASH
public InviteNominatedSender(ServiceRegistry services, Repository repository, MessageService messageService)
public void sendMail(Map<String,String> properties)
properties - #sendMail(String, String, Map)}public void sendMail(String emailTemplateXpath, String emailSubjectKey, Map<String,String> properties)
InviteSendersendMail in class InviteSenderemailTemplateXpath - 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 InviteSenderprotected String makeLink(String location, String endpoint, String queryParams, String hashParam)
public List<String> getRequiredProperties()
getRequiredProperties in class InviteSenderprotected String getWorkflowPropForSiteName()
getWorkflowPropForSiteName in class InviteSenderCopyright © 2005–2018 Alfresco Software. All rights reserved.