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
-
Field Summary
Fields inherited from class org.alfresco.repo.activities.feed.AbstractUserNotifier
activitiesFeedModelBuilderFactory, activityService, logger, namespaceService, nodeService, repoAdminService, siteService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidPerform basic checks to ensure that the necessary dependencies were injected.protected Longstatic org.apache.commons.logging.Logprotected voidnotifyUser(NodeRef personNodeRef, String subjectText, Object[] subjectParams, Map<String, Object> model, String templateNodeRef) voidsetActionService(ActionService actionService) voidsetAuthenticationContext(AuthenticationContext authenticationContext) voidsetEmailHelper(EmailHelper emailHelper) voidsetExcludedEmailSuffixes(List<String> excludedEmailSuffixes) static voidsetLogger(org.apache.commons.logging.Log logger) protected booleanMethods inherited from class org.alfresco.repo.activities.feed.AbstractUserNotifier
notifyUser, setActivitiesFeedModelBuilderFactory, setActivityService, setNamespaceService, setNodeService, setRepoAdminService, setSiteService
-
Constructor Details
-
EmailUserNotifier
public EmailUserNotifier()
-
-
Method Details
-
setAuthenticationContext
-
setActionService
-
setEmailHelper
-
getLogger
public static org.apache.commons.logging.Log getLogger() -
setLogger
public static void setLogger(org.apache.commons.logging.Log logger) -
getExcludedEmailSuffixes
-
setExcludedEmailSuffixes
-
checkProperties
protected void checkProperties()Perform basic checks to ensure that the necessary dependencies were injected.- Overrides:
checkPropertiesin classAbstractUserNotifier
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
skipUser
- Specified by:
skipUserin classAbstractUserNotifier
-
getFeedId
- Specified by:
getFeedIdin classAbstractUserNotifier
-
notifyUser
protected void notifyUser(NodeRef personNodeRef, String subjectText, Object[] subjectParams, Map<String, Object> model, String templateNodeRef) - Specified by:
notifyUserin classAbstractUserNotifier
-