@Tracked(value=TRACE) public class SynchronizationActivity extends AbstractWait implements com.centurylink.mdw.activity.types.SynchronizationActivity
| Constructor and Description |
|---|
SynchronizationActivity() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkIfSynchronized() |
void |
execute()
Executes the controlled activity
|
boolean |
isSynchronized()
synchronize a condition and returns the result of the evaluation.
|
boolean |
needSuspend() |
protected void |
processOtherMessage(java.lang.String messageString)
This method is invoked to process a received event (other than an incoming transition is made).
|
boolean |
resume(com.centurylink.mdw.model.event.InternalEvent eventMessageDoc) |
boolean |
resumeWaiting(com.centurylink.mdw.model.event.InternalEvent eventMessageDoc) |
deregisterEvents, getMessageFromEventMessage, getWaitEventSpecs, handleEventCompletionCode, registerWaitEvent, registerWaitEventsexecutecloseDatabaseAccess, 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 void execute()
throws com.centurylink.mdw.activity.ActivityException
execute in interface com.centurylink.mdw.activity.types.GeneralActivityexecute in class DefaultActivityImplcom.centurylink.mdw.activity.ActivityExceptionprotected boolean checkIfSynchronized()
throws com.centurylink.mdw.activity.ActivityException
com.centurylink.mdw.activity.ActivityExceptionpublic boolean isSynchronized()
throws com.centurylink.mdw.activity.ActivityException
com.centurylink.mdw.activity.ActivityExceptionprotected void processOtherMessage(java.lang.String messageString)
throws com.centurylink.mdw.activity.ActivityException
messageString - the entire message content of the external event (from document table)com.centurylink.mdw.activity.ActivityExceptionpublic final boolean resume(com.centurylink.mdw.model.event.InternalEvent eventMessageDoc)
throws com.centurylink.mdw.activity.ActivityException
resume in interface com.centurylink.mdw.activity.types.SuspendableActivityresume in class AbstractWaitcom.centurylink.mdw.activity.ActivityExceptionpublic boolean resumeWaiting(com.centurylink.mdw.model.event.InternalEvent eventMessageDoc)
throws com.centurylink.mdw.activity.ActivityException
resumeWaiting in interface com.centurylink.mdw.activity.types.SuspendableActivitycom.centurylink.mdw.activity.ActivityExceptionpublic boolean needSuspend()
needSuspend in interface com.centurylink.mdw.activity.types.SuspendableActivityneedSuspend in class AbstractWait