@Service @Transactional public class WorkflowInstanceServiceImpl extends Object implements WorkflowInstanceService
| Constructor and Description |
|---|
WorkflowInstanceServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertIsExecuting(long refNum) |
WorkflowInstance |
create(String workflowName,
Integer workflowVersion,
Map<String,Object> arguments,
String label1,
String label2) |
WorkflowInstance |
find(long refNum) |
void |
handleAbortingError(long woinRefNum,
Exception exception) |
void |
handleCompleteError(long woinRefNum,
Long woitRefNum,
Exception exception) |
void |
handleStartingError(long woinRefNum,
Exception exception) |
void |
lock(List<Long> refNums) |
void |
markAbort(long refNum) |
void |
markAborted(long refNum) |
void |
markAborting(long refNum) |
void |
markExecuted(long refNum) |
void |
markExecuting(long refNum) |
void |
markStarting(long refNum) |
void |
recoverAbort(String nodeName) |
void |
recoverAborting(String nodeName) |
void |
recoverExecuting(String nodeName) |
void |
recoverNew(String nodeName) |
void |
recoverNotAssigned(String clusterName) |
void |
recoverStarting(String nodeName) |
void |
resume(long refNum) |
void |
rewindAfterError(long refNum) |
void |
suspend(long refNum) |
void |
unlock(long refNum) |
void |
updateHistory(Long refNum,
String history) |
void |
updateNodeName(long refNum,
String nodeName) |
void |
updateState(long refNum,
String state) |
public WorkflowInstance create(String workflowName, Integer workflowVersion, Map<String,Object> arguments, String label1, String label2)
create in interface WorkflowInstanceServicepublic WorkflowInstance find(long refNum)
find in interface WorkflowInstanceService@Transactional(propagation=NOT_SUPPORTED)
public void markStarting(long refNum)
throws UnexpectedStatusException
markStarting in interface WorkflowInstanceServiceUnexpectedStatusExceptionpublic void markExecuting(long refNum)
throws UnexpectedStatusException
markExecuting in interface WorkflowInstanceServiceUnexpectedStatusExceptionpublic void markExecuted(long refNum)
throws UnexpectedStatusException
markExecuted in interface WorkflowInstanceServiceUnexpectedStatusExceptionpublic void markAbort(long refNum)
throws UnexpectedStatusException
markAbort in interface WorkflowInstanceServiceUnexpectedStatusExceptionpublic void markAborting(long refNum)
throws UnexpectedStatusException
markAborting in interface WorkflowInstanceServiceUnexpectedStatusExceptionpublic void markAborted(long refNum)
throws UnexpectedStatusException
markAborted in interface WorkflowInstanceServiceUnexpectedStatusExceptionpublic void assertIsExecuting(long refNum)
throws UnexpectedStatusException
assertIsExecuting in interface WorkflowInstanceServiceUnexpectedStatusExceptionpublic void rewindAfterError(long refNum)
throws UnexpectedStatusException
rewindAfterError in interface WorkflowInstanceServiceUnexpectedStatusExceptionpublic void suspend(long refNum)
throws UnexpectedStatusException
suspend in interface WorkflowInstanceServiceUnexpectedStatusExceptionpublic void resume(long refNum)
throws UnexpectedStatusException
resume in interface WorkflowInstanceServiceUnexpectedStatusExceptionpublic void handleStartingError(long woinRefNum,
Exception exception)
throws UnexpectedStatusException
handleStartingError in interface WorkflowInstanceServiceUnexpectedStatusExceptionpublic void handleAbortingError(long woinRefNum,
Exception exception)
throws UnexpectedStatusException
handleAbortingError in interface WorkflowInstanceServiceUnexpectedStatusExceptionpublic void handleCompleteError(long woinRefNum,
Long woitRefNum,
Exception exception)
throws UnexpectedStatusException
handleCompleteError in interface WorkflowInstanceServiceUnexpectedStatusExceptionpublic void lock(List<Long> refNums)
lock in interface WorkflowInstanceServicepublic void unlock(long refNum)
unlock in interface WorkflowInstanceServicepublic void updateNodeName(long refNum,
String nodeName)
updateNodeName in interface WorkflowInstanceServicepublic void updateState(long refNum,
String state)
updateState in interface WorkflowInstanceServicepublic void updateHistory(Long refNum, String history)
updateHistory in interface WorkflowInstanceServicepublic void recoverNotAssigned(String clusterName)
recoverNotAssigned in interface WorkflowInstanceServicepublic void recoverNew(String nodeName)
recoverNew in interface WorkflowInstanceServicepublic void recoverStarting(String nodeName)
recoverStarting in interface WorkflowInstanceServicepublic void recoverExecuting(String nodeName)
recoverExecuting in interface WorkflowInstanceServicepublic void recoverAbort(String nodeName)
recoverAbort in interface WorkflowInstanceServicepublic void recoverAborting(String nodeName)
recoverAborting in interface WorkflowInstanceServiceCopyright © 2018. All rights reserved.