public class BpmNotificationEngine extends Object implements IBpmNotificationService
| Constructor and Description |
|---|
BpmNotificationEngine(ProcessToolRegistry registry) |
public BpmNotificationEngine(ProcessToolRegistry registry)
public void handleNotifications()
public void handleNotificationsWithContext()
public void onProcessStateChange(BpmTask task, ProcessInstance pi, String userLogin, boolean processStarted, boolean processEnded, boolean enteringStep)
public void registerTemplateArgumentProvider(TemplateArgumentProvider provider)
registerTemplateArgumentProvider in interface IBpmNotificationServicepublic void unregisterTemplateArgumentProvider(TemplateArgumentProvider provider)
unregisterTemplateArgumentProvider in interface IBpmNotificationServicepublic Collection<TemplateArgumentProvider> getTemplateArgumentProviders()
getTemplateArgumentProviders in interface IBpmNotificationServicepublic List<TemplateArgumentDescription> getDefaultArgumentDescriptions(I18NSource i18NSource)
getDefaultArgumentDescriptions in interface IBpmNotificationServicepublic List<NotificationHistoryEntry> getNotificationHistoryEntries()
getNotificationHistoryEntries in interface IBpmNotificationServicepublic void invalidateCache()
invalidateCache in interface IBpmNotificationServicepublic void refreshConfigIfNecessary()
public void addNotificationToSend(NotificationData notificationData) throws Exception
IBpmNotificationServiceaddNotificationToSend in interface IBpmNotificationServiceExceptionpublic void addNotificationToSend(ProcessedNotificationData processedNotificationData) throws Exception
addNotificationToSend in interface IBpmNotificationServiceExceptionpublic static javax.mail.Message createMessageFromNotification(BpmNotification notification, javax.mail.Session mailSession) throws Exception
Exceptionpublic String findTemplate(String templateName)
findTemplate in interface IBpmNotificationServicepublic String processTemplate(String templateName, TemplateData templateData)
processTemplate in interface IBpmNotificationServicepublic TemplateData createTemplateData(String templateName, Locale locale)
createTemplateData in interface IBpmNotificationServicepublic ProcessedNotificationData processNotificationData(NotificationData notificationData) throws Exception
processNotificationData in interface IBpmNotificationServiceExceptionpublic ITemplateDataProvider getTemplateDataProvider()
getTemplateDataProvider in interface IBpmNotificationServiceCopyright © 2013. All Rights Reserved.