public abstract class InvokeProcessActivityBase extends AbstractWait implements com.centurylink.mdw.activity.types.InvokeProcessActivity
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
SYNCHRONOUS |
| Constructor and Description |
|---|
InvokeProcessActivityBase() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
allowInput(com.centurylink.mdw.model.variable.Variable childVar) |
protected abstract boolean |
allSubProcessCompleted() |
protected java.lang.String |
evaluateBindingValue(com.centurylink.mdw.model.variable.Variable childVar,
java.lang.String v) |
protected java.util.Map<java.lang.String,java.lang.String> |
getOutputParameters(java.lang.Long subprocInstId,
java.lang.Long subprocId) |
protected com.centurylink.mdw.model.workflow.Process |
getSubprocess(java.lang.String name,
java.lang.String verSpec)
TODO: Allow expressions that resolve to a version/spec.
|
protected void |
onFinish()
This method is a hook for custom processing, to be called
when subprocesses are completed.
|
protected void |
processOtherMessage(java.lang.String msg)
This method is invoked to process a received event (other than subprocess termination).
|
boolean |
resume(com.centurylink.mdw.model.event.InternalEvent msg) |
protected boolean |
resumeOnOtherEvent(java.lang.String msg,
java.lang.String compCode) |
protected abstract boolean |
resumeOnProcessFinish(com.centurylink.mdw.model.event.InternalEvent msg,
java.lang.Integer status) |
boolean |
resumeWaiting(com.centurylink.mdw.model.event.InternalEvent msg) |
deregisterEvents, getMessageFromEventMessage, getWaitEventSpecs, handleEventCompletionCode, needSuspend, registerWaitEvent, registerWaitEventsexecute, 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, valueIsVariableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected static final java.lang.String SYNCHRONOUS
public final boolean resumeWaiting(com.centurylink.mdw.model.event.InternalEvent msg)
throws com.centurylink.mdw.activity.ActivityException
resumeWaiting in interface com.centurylink.mdw.activity.types.SuspendableActivitycom.centurylink.mdw.activity.ActivityExceptionprotected abstract boolean allSubProcessCompleted()
throws java.lang.Exception
java.lang.Exceptionprotected void processOtherMessage(java.lang.String msg)
throws com.centurylink.mdw.activity.ActivityException
messageString - the entire message content of the external event (from document table)com.centurylink.mdw.activity.ActivityExceptionprotected void onFinish()
throws com.centurylink.mdw.activity.ActivityException
com.centurylink.mdw.activity.ActivityExceptionprotected boolean resumeOnOtherEvent(java.lang.String msg,
java.lang.String compCode)
throws com.centurylink.mdw.activity.ActivityException
com.centurylink.mdw.activity.ActivityExceptionprotected abstract boolean resumeOnProcessFinish(com.centurylink.mdw.model.event.InternalEvent msg,
java.lang.Integer status)
throws com.centurylink.mdw.activity.ActivityException
com.centurylink.mdw.activity.ActivityExceptionpublic final boolean resume(com.centurylink.mdw.model.event.InternalEvent msg)
throws com.centurylink.mdw.activity.ActivityException
resume in interface com.centurylink.mdw.activity.types.SuspendableActivityresume in class AbstractWaitcom.centurylink.mdw.activity.ActivityExceptionprotected boolean allowInput(com.centurylink.mdw.model.variable.Variable childVar)
protected java.lang.String evaluateBindingValue(com.centurylink.mdw.model.variable.Variable childVar,
java.lang.String v)
protected java.util.Map<java.lang.String,java.lang.String> getOutputParameters(java.lang.Long subprocInstId,
java.lang.Long subprocId)
throws java.sql.SQLException,
com.centurylink.mdw.services.ProcessException,
com.centurylink.mdw.dataaccess.DataAccessException
java.sql.SQLExceptioncom.centurylink.mdw.services.ProcessExceptioncom.centurylink.mdw.dataaccess.DataAccessExceptionprotected com.centurylink.mdw.model.workflow.Process getSubprocess(java.lang.String name,
java.lang.String verSpec)
throws com.centurylink.mdw.dataaccess.DataAccessException
com.centurylink.mdw.dataaccess.DataAccessException