public class EMailNotificationProvider extends Object implements NotificationProvider
Constructor and Description |
---|
EMailNotificationProvider() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the name of the notification provider.
|
void |
init()
Init method registers provider with notification service.
|
void |
sendNotification(NotificationContext notificationContext)
Sends a notification using the notification provider.
|
void |
setActionService(ActionService actionService) |
void |
setFileFolderService(FileFolderService fileFolderService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setNotificationService(NotificationService notificationService) |
void |
setPersonService(PersonService personService) |
void |
setRepoAdminService(RepoAdminService repoAdminService) |
void |
setRepository(Repository repository) |
public static final String NAME
public void setNotificationService(NotificationService notificationService)
notificationService
- notification servicepublic void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- node servicepublic void setActionService(ActionService actionService)
actionService
- action servicepublic void setPersonService(PersonService personService)
personService
- person servicepublic void setRepository(Repository repository)
repository
- repository objectpublic void setRepoAdminService(RepoAdminService repoAdminService)
repoAdminService
- repository administration serviceSpublic void setFileFolderService(FileFolderService fileFolderService)
fileFolderService
- file folder servicepublic void init()
public String getName()
NotificationProvider
getName
in interface NotificationProvider
NotificationProvider.getName()
public void sendNotification(NotificationContext notificationContext)
NotificationProvider
sendNotification
in interface NotificationProvider
notificationContext
- notification contextNotificationProvider.sendNotification(org.alfresco.service.cmr.notification.NotificationContext)
Copyright © 2005–2017 Alfresco Software. All rights reserved.