public abstract class InviteSender extends Object
Modifier and Type | Field and Description |
---|---|
protected ActionService |
actionService |
protected FileFolderService |
fileFolderService |
protected MessageService |
messageService |
protected org.alfresco.service.namespace.NamespaceService |
namespaceService |
protected org.alfresco.service.cmr.repository.NodeService |
nodeService |
protected PersonService |
personService |
protected RepoAdminService |
repoAdminService |
protected Repository |
repository |
protected org.alfresco.service.cmr.search.SearchService |
searchService |
protected SiteService |
siteService |
Constructor and Description |
---|
InviteSender(ServiceRegistry services,
Repository repository,
MessageService messageService) |
Modifier and Type | Method and Description |
---|---|
protected abstract Map<String,Serializable> |
buildMailTextModel(Map<String,String> properties) |
protected void |
checkProperties(Map<String,String> properties) |
protected org.alfresco.service.cmr.repository.NodeRef |
getEmailTemplateNodeRef(String emailTemplateXPath) |
protected abstract List<String> |
getRequiredProperties() |
protected String |
getSiteName(Map<String,String> properties) |
protected abstract String |
getWorkflowPropForSiteName() |
abstract void |
sendMail(String emailTemplateXpath,
String emailSubjectKey,
Map<String,String> properties)
Sends an invitation email.
|
protected final ActionService actionService
protected final org.alfresco.service.cmr.repository.NodeService nodeService
protected final PersonService personService
protected final org.alfresco.service.cmr.search.SearchService searchService
protected final SiteService siteService
protected final Repository repository
protected final MessageService messageService
protected final FileFolderService fileFolderService
protected final RepoAdminService repoAdminService
protected final org.alfresco.service.namespace.NamespaceService namespaceService
public InviteSender(ServiceRegistry services, Repository repository, MessageService messageService)
public abstract void sendMail(String emailTemplateXpath, String emailSubjectKey, Map<String,String> properties)
emailTemplateXpath
- 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 abstract Map<String,Serializable> buildMailTextModel(Map<String,String> properties)
protected void checkProperties(Map<String,String> properties)
properties
- Mapprotected org.alfresco.service.cmr.repository.NodeRef getEmailTemplateNodeRef(String emailTemplateXPath)
protected abstract String getWorkflowPropForSiteName()
Copyright © 2005–2017 Alfresco Software. All rights reserved.