Class InviteSender

    • 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 NodeRef getEmailTemplateNodeRef​(String emailTemplateXPath)
      • getWorkflowPropForSiteName

        protected abstract String getWorkflowPropForSiteName()