org.opencrx.mail.workflow
Class SendMailWorkflow

java.lang.Object
  extended by org.opencrx.mail.workflow.MailWorkflow
      extended by org.opencrx.mail.workflow.SendMailWorkflow
All Implemented Interfaces:
ASynchWorkflow_1_0

public class SendMailWorkflow
extends MailWorkflow


Constructor Summary
SendMailWorkflow()
           
 
Method Summary
protected  String getSubject(javax.jdo.PersistenceManager pm, Path targetIdentity, UserHome userHome, Map params)
           
protected  String setContent(javax.mail.Message message, javax.mail.Session session, javax.jdo.PersistenceManager pm, Path targetIdentity, Path wfProcessInstanceIdentity, UserHome userHome, Map params)
           
protected  javax.mail.Address[] setRecipients(javax.mail.Message message, javax.jdo.PersistenceManager pm, Path targetIdentity, EmailAccount eMailAccount)
           
 
Methods inherited from class org.opencrx.mail.workflow.MailWorkflow
execute, getText, getWebAccessUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SendMailWorkflow

public SendMailWorkflow()
Method Detail

getSubject

protected String getSubject(javax.jdo.PersistenceManager pm,
                            Path targetIdentity,
                            UserHome userHome,
                            Map params)
                     throws ServiceException
Overrides:
getSubject in class MailWorkflow
Throws:
ServiceException

setRecipients

protected javax.mail.Address[] setRecipients(javax.mail.Message message,
                                             javax.jdo.PersistenceManager pm,
                                             Path targetIdentity,
                                             EmailAccount eMailAccount)
                                      throws ServiceException
Overrides:
setRecipients in class MailWorkflow
Throws:
ServiceException

setContent

protected String setContent(javax.mail.Message message,
                            javax.mail.Session session,
                            javax.jdo.PersistenceManager pm,
                            Path targetIdentity,
                            Path wfProcessInstanceIdentity,
                            UserHome userHome,
                            Map params)
                     throws ServiceException
Overrides:
setContent in class MailWorkflow
Throws:
ServiceException


This software is published under the BSD license. Copyright © 2003-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.