public class EMailNotificationProvider extends java.lang.Object implements NotificationProvider
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME
Name of provider
|
| Constructor and Description |
|---|
EMailNotificationProvider() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.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 java.lang.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 java.lang.String getName()
NotificationProvidergetName in interface NotificationProviderNotificationProvider.getName()public void sendNotification(NotificationContext notificationContext)
NotificationProvidersendNotification in interface NotificationProvidernotificationContext - notification contextNotificationProvider.sendNotification(org.alfresco.service.cmr.notification.NotificationContext)Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.