org.opencrx.mail.workflow
Class MailWorkflow
java.lang.Object
org.opencrx.mail.workflow.MailWorkflow
- All Implemented Interfaces:
- ASynchWorkflow_1_0
- Direct Known Subclasses:
- ExportMailWorkflow, SendMailNotificationWorkflow, SendMailWorkflow
public abstract class MailWorkflow
- extends Object
- implements ASynchWorkflow_1_0
|
Method Summary |
void |
execute(WfProcessInstance wfProcessInstance)
Execute the workflow specified by wfProcessInstance. |
protected String |
getSubject(RefPackage_1_0 rootPkg,
Path targetIdentity,
UserHome userHome,
Map params)
|
protected String |
getText(javax.mail.Message message,
RefPackage_1_0 rootPkg,
Path targetIdentity,
RefObject targetObject,
Path wfProcessInstanceIdentity,
UserHome userHome,
Map params)
|
protected String |
getWebAccessUrl(UserHome userHome)
|
protected String |
setContent(javax.mail.Message message,
javax.mail.Session session,
RefPackage_1_0 rootPkg,
Path targetIdentity,
Path wfProcessInstanceIdentity,
UserHome userHome,
Map params)
|
protected javax.mail.Address[] |
setRecipients(javax.mail.Message message,
RefPackage_1_0 rootPkg,
Path targetIdentity,
EmailAccount eMailAccount)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailWorkflow
public MailWorkflow()
getWebAccessUrl
protected String getWebAccessUrl(UserHome userHome)
getText
protected String getText(javax.mail.Message message,
RefPackage_1_0 rootPkg,
Path targetIdentity,
RefObject targetObject,
Path wfProcessInstanceIdentity,
UserHome userHome,
Map params)
throws ServiceException
- Throws:
ServiceException
getSubject
protected String getSubject(RefPackage_1_0 rootPkg,
Path targetIdentity,
UserHome userHome,
Map params)
throws ServiceException
- Throws:
ServiceException
setContent
protected String setContent(javax.mail.Message message,
javax.mail.Session session,
RefPackage_1_0 rootPkg,
Path targetIdentity,
Path wfProcessInstanceIdentity,
UserHome userHome,
Map params)
throws ServiceException
- Throws:
ServiceException
setRecipients
protected javax.mail.Address[] setRecipients(javax.mail.Message message,
RefPackage_1_0 rootPkg,
Path targetIdentity,
EmailAccount eMailAccount)
throws ServiceException
- Throws:
ServiceException
execute
public void execute(WfProcessInstance wfProcessInstance)
throws ServiceException
- Description copied from interface:
ASynchWorkflow_1_0
- Execute the workflow specified by wfProcessInstance.
- Specified by:
execute in interface ASynchWorkflow_1_0
- 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.