forked from esteban-aliverti/JBPM-Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing compilation problem due to last changes in jbpm.
- Loading branch information
Demian Calcaprina
committed
Apr 13, 2012
1 parent
3c63591
commit 0fdd1ae
Showing
4 changed files
with
6 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -246,13 +246,13 @@ public void executeWorkItem(WorkItem workItem, WorkItemManager manager) { | |
notification.setBusinessAdministrators(businessAdministrators); | ||
|
||
//Email Header | ||
Map<String,EmailNotificationHeader> emailHeaders = new HashMap<String, EmailNotificationHeader>(); | ||
Map<Language,EmailNotificationHeader> emailHeaders = new HashMap<Language, EmailNotificationHeader>(); | ||
EmailNotificationHeader emailHeader = new EmailNotificationHeader(); | ||
emailHeader.setLanguage("en-UK"); | ||
emailHeader.setFrom("[email protected]"); | ||
emailHeader.setSubject(taskName+" reaches its deadline"); | ||
emailHeader.setBody(taskName+" reaches its deadline. Now it is your responsability!"); | ||
emailHeaders.put("en-UK", emailHeader); | ||
emailHeaders.put(new Language("en-UK"), emailHeader); | ||
notification.setEmailHeaders(emailHeaders); | ||
|
||
notifications.add(notification); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -229,13 +229,13 @@ public void executeWorkItem(WorkItem workItem, WorkItemManager manager) { | |
notification.setBusinessAdministrators(businessAdministrators); | ||
|
||
//Email Header | ||
Map<String,EmailNotificationHeader> emailHeaders = new HashMap<String, EmailNotificationHeader>(); | ||
Map<Language,EmailNotificationHeader> emailHeaders = new HashMap<Language, EmailNotificationHeader>(); | ||
EmailNotificationHeader emailHeader = new EmailNotificationHeader(); | ||
emailHeader.setLanguage("en-UK"); | ||
emailHeader.setFrom("[email protected]"); | ||
emailHeader.setSubject(taskName+" reaches its deadline"); | ||
emailHeader.setBody(taskName+" reaches its deadline. Now it is your responsability!"); | ||
emailHeaders.put("en-UK", emailHeader); | ||
emailHeaders.put(new Language("en-UK"), emailHeader); | ||
notification.setEmailHeaders(emailHeaders); | ||
|
||
notifications.add(notification); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters