Class InviteSender

java.lang.Object
org.alfresco.repo.invitation.site.InviteSender
Direct Known Subclasses:
InviteModeratedSender, InviteNominatedSender

public abstract class InviteSender extends Object
Notifies the necessary user(s) of a pending site membership invitation/request.
Author:
Nick Smith
  • Field Details

  • Constructor Details

  • Method Details

    • 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.
    • buildMailTextModel

      protected abstract Map<String,Serializable> buildMailTextModel(Map<String,String> properties)
    • getRequiredProperties

      protected abstract List<String> getRequiredProperties()
    • checkProperties

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

      protected NodeRef getEmailTemplateNodeRef(String emailTemplateXPath)
    • getSiteName

      protected String getSiteName(Map<String,String> properties)
    • getWorkflowPropForSiteName

      protected abstract String getWorkflowPropForSiteName()