@ApplicationScoped public class EmailNotificationListener extends Object implements NotificationListener
Constructor and Description |
---|
EmailNotificationListener() |
Modifier and Type | Method and Description |
---|---|
protected void |
buildMapByLanguage(Map<String,List<org.kie.api.task.model.User>> map,
org.kie.api.task.model.Group group) |
protected void |
buildMapByLanguage(Map<String,List<org.kie.api.task.model.User>> map,
org.kie.api.task.model.User user) |
protected List<String> |
getAttachements(Object attachementsFromVariables) |
protected URL |
getAttachemntURL(String attachment) |
protected javax.mail.Session |
getSession() |
protected org.kie.internal.task.api.UserInfo |
getUserInfo() |
void |
onNotification(org.kie.internal.task.api.model.NotificationEvent event) |
protected org.kie.internal.task.api.UserInfo getUserInfo()
protected javax.mail.Session getSession()
public void onNotification(@Observes org.kie.internal.task.api.model.NotificationEvent event)
onNotification
in interface NotificationListener
protected URL getAttachemntURL(String attachment) throws MalformedURLException
MalformedURLException
protected void buildMapByLanguage(Map<String,List<org.kie.api.task.model.User>> map, org.kie.api.task.model.Group group)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.