org.jbpm.services.task.deadlines.notifications.impl.email
Class EmailNotificationListener
java.lang.Object
org.jbpm.services.task.deadlines.notifications.impl.email.EmailNotificationListener
- All Implemented Interfaces:
- NotificationListener
@ApplicationScoped
public class EmailNotificationListener
- extends Object
- implements NotificationListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmailNotificationListener
public EmailNotificationListener()
getUserInfo
protected org.kie.internal.task.api.UserInfo getUserInfo()
getSession
protected javax.mail.Session getSession()
onNotification
public void onNotification(@Observes
org.kie.internal.task.api.model.NotificationEvent event)
- Specified by:
onNotification
in interface NotificationListener
getAttachemntURL
protected URL getAttachemntURL(String attachment)
throws MalformedURLException
- Throws:
MalformedURLException
getAttachements
protected List<String> getAttachements(Object attachementsFromVariables)
buildMapByLanguage
protected void buildMapByLanguage(Map<String,List<org.kie.internal.task.api.model.User>> map,
org.kie.internal.task.api.model.Group group)
buildMapByLanguage
protected void buildMapByLanguage(Map<String,List<org.kie.internal.task.api.model.User>> map,
org.kie.internal.task.api.model.User user)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.