org.alfresco.repo.notification
Class EMailNotificationProvider

java.lang.Object
  extended by org.alfresco.repo.notification.EMailNotificationProvider
All Implemented Interfaces:
NotificationProvider

public class EMailNotificationProvider
extends java.lang.Object
implements NotificationProvider

EMail notification provider implementation

Since:
4.0

Field Summary
static java.lang.String NAME
          Name of provider
 
Constructor Summary
EMailNotificationProvider()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
Name of provider

See Also:
Constant Field Values
Constructor Detail

EMailNotificationProvider

public EMailNotificationProvider()
Method Detail

setNotificationService

public void setNotificationService(NotificationService notificationService)
Parameters:
notificationService - notification service

setNodeService

public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Parameters:
nodeService - node service

setActionService

public void setActionService(ActionService actionService)
Parameters:
actionService - action service

setPersonService

public void setPersonService(PersonService personService)
Parameters:
personService - person service

setRepository

public void setRepository(Repository repository)
Parameters:
repository - repository object

setRepoAdminService

public void setRepoAdminService(RepoAdminService repoAdminService)
Parameters:
repoAdminService - repository administration serviceS

setFileFolderService

public void setFileFolderService(FileFolderService fileFolderService)
Parameters:
fileFolderService - file folder service

init

public void init()
Init method registers provider with notification service.


getName

public java.lang.String getName()
Description copied from interface: NotificationProvider
Gets the name of the notification provider.

Specified by:
getName in interface NotificationProvider
Returns:
notification provider name
See Also:
NotificationProvider.getName()

sendNotification

public void sendNotification(NotificationContext notificationContext)
Description copied from interface: NotificationProvider
Sends a notification using the notification provider.

Specified by:
sendNotification in interface NotificationProvider
Parameters:
notificationContext - notification context
See Also:
NotificationProvider.sendNotification(org.alfresco.service.cmr.notification.NotificationContext)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.