Class EmailUserNotifier

java.lang.Object
org.alfresco.repo.activities.feed.AbstractUserNotifier
org.alfresco.repo.activities.feed.EmailUserNotifier
All Implemented Interfaces:
UserNotifier, org.springframework.beans.factory.InitializingBean

public class EmailUserNotifier extends AbstractUserNotifier implements org.springframework.beans.factory.InitializingBean
Notifies the given user by sending activity feed information to their registered email address.
Since:
4.0
  • Constructor Details

    • EmailUserNotifier

      public EmailUserNotifier()
  • Method Details

    • setAuthenticationContext

      public void setAuthenticationContext(AuthenticationContext authenticationContext)
    • setActionService

      public void setActionService(ActionService actionService)
    • setEmailHelper

      public void setEmailHelper(EmailHelper emailHelper)
    • getLogger

      public static org.apache.commons.logging.Log getLogger()
    • setLogger

      public static void setLogger(org.apache.commons.logging.Log logger)
    • getExcludedEmailSuffixes

      public List<String> getExcludedEmailSuffixes()
    • setExcludedEmailSuffixes

      public void setExcludedEmailSuffixes(List<String> excludedEmailSuffixes)
    • checkProperties

      protected void checkProperties()
      Perform basic checks to ensure that the necessary dependencies were injected.
      Overrides:
      checkProperties in class AbstractUserNotifier
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • skipUser

      protected boolean skipUser(NodeRef personNodeRef)
      Specified by:
      skipUser in class AbstractUserNotifier
    • getFeedId

      protected Long getFeedId(NodeRef personNodeRef)
      Specified by:
      getFeedId in class AbstractUserNotifier
    • notifyUser

      protected void notifyUser(NodeRef personNodeRef, String subjectText, Object[] subjectParams, Map<String,Object> model, String templateNodeRef)
      Specified by:
      notifyUser in class AbstractUserNotifier