Class InviteSender

    • Field Detail

      • nodeService

        protected final org.alfresco.service.cmr.repository.NodeService nodeService
      • searchService

        protected final org.alfresco.service.cmr.search.SearchService searchService
      • repository

        protected final Repository repository
      • namespaceService

        protected final org.alfresco.service.namespace.NamespaceService namespaceService
    • Method Detail

      • sendMail

        public abstract void sendMail​(String emailTemplateXpath,
                                      String emailSubjectKey,
                                      Map<String,​String> properties)
        Sends an invitation email.
        Parameters:
        emailTemplateXpath - the XPath to the email template in the repository
        emailSubjectKey - the subject of the email
        properties - A Map containing the properties needed to send the email.
      • getRequiredProperties

        protected abstract List<String> getRequiredProperties()
      • checkProperties

        protected void checkProperties​(Map<String,​String> properties)
        Parameters:
        properties - Map
      • getEmailTemplateNodeRef

        protected org.alfresco.service.cmr.repository.NodeRef getEmailTemplateNodeRef​(String emailTemplateXPath)
      • getWorkflowPropForSiteName

        protected abstract String getWorkflowPropForSiteName()