@Tracked(value=TRACE) public class EmailNotificationActivity extends DefaultActivityImpl implements com.centurylink.mdw.activity.types.NotificationActivity
| Constructor and Description |
|---|
EmailNotificationActivity() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
execute(com.centurylink.mdw.model.workflow.ActivityRuntimeContext runtimeContext)
Executes the workflow activity.
|
protected java.util.Map<java.lang.String,java.io.File> |
getAttachments() |
protected java.util.List<javax.mail.Address> |
getCcRecipientAddresses(com.centurylink.mdw.model.workflow.ActivityRuntimeContext context) |
protected java.util.List<javax.mail.Address> |
getRecipientAddresses(com.centurylink.mdw.model.workflow.ActivityRuntimeContext context) |
void |
sendNotices() |
executecloseDatabaseAccess, createDocument, createDocument, createDocument, createDocument, doCompatibilityCodeSubstitutions, evaluateExpression, executeScript, getActivityId, getActivityInstance, getActivityInstanceId, getActivityName, getAsset, getAttribute, getAttribute, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValueAsVariableName, getAttributeValueSmart, getDocument, getDocumentContent, getDocumentForUpdate, getEngine, getEntryCode, getExternalEventInstanceDetails, getMainProcessDefinition, getMasterRequestId, getOutputDocuments, getPackage, getParameterId, getParameters, getParameterStringValue, getParameterType, getParameterValue, getParameterValue, getParentProcessId, getPerformanceLevel, getProcessDefinition, getProcessId, getProcessInstance, getProcessInstanceId, getProcessInstanceOwner, getProcessInstanceOwnerId, getProperty, getRequiredAttribute, getRequiredVariableValue, getReturnCode, getReturnMessage, getRuntimeContext, getScriptEvaluator, getScriptExecClassName, getScriptExecutor, getValue, getValueSmart, getVariableInstance, getVariableValue, getVariableValueSmart, getWorkTransitionInstanceId, initialize, isDisabled, isLogDebugEnabled, isLogInfoEnabled, isOutputDocument, lockActivityInstance, lockProcessInstance, logdebug, logexception, loginfo, logsevere, logtag, logwarn, openDatabaseAccess, prepare, setOutputDocuments, setParameterValue, setParameterValue, setParameterValueAsDocument, setParameterValues, setProcessInstanceCompletionCode, setReturnCode, setReturnMessage, setValue, setVariableValue, setVariableValue, startTransaction, stopTransaction, translatePlaceHolder, updateDocumentContent, updateDocumentInfo, updateDocumentInfo, valueIsJavaExpression, valueIsVariablepublic java.lang.Object execute(com.centurylink.mdw.model.workflow.ActivityRuntimeContext runtimeContext)
throws com.centurylink.mdw.activity.ActivityException
DefaultActivityImplexecute in interface com.centurylink.mdw.activity.types.GeneralActivityexecute in class DefaultActivityImplcom.centurylink.mdw.activity.ActivityExceptionpublic void sendNotices()
throws com.centurylink.mdw.activity.ActivityException
sendNotices in interface com.centurylink.mdw.activity.types.NotificationActivitycom.centurylink.mdw.activity.ActivityExceptionprotected java.util.List<javax.mail.Address> getRecipientAddresses(com.centurylink.mdw.model.workflow.ActivityRuntimeContext context)
throws javax.mail.MessagingException
javax.mail.MessagingExceptionprotected java.util.List<javax.mail.Address> getCcRecipientAddresses(com.centurylink.mdw.model.workflow.ActivityRuntimeContext context)
throws javax.mail.MessagingException
javax.mail.MessagingExceptionprotected java.util.Map<java.lang.String,java.io.File> getAttachments()
throws com.centurylink.mdw.config.PropertyException
com.centurylink.mdw.config.PropertyException