public class DefaultWorkflowInstance extends java.lang.Object implements java.io.Serializable, WorkflowInstance
| Constructor and Description |
|---|
DefaultWorkflowInstance() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChildWorkflowInstance(WorkflowInstance childWorkflowInstance) |
int |
getChildrenWorkflowInstanceCount() |
java.util.List<WorkflowInstance> |
getChildrenWorkflowInstances() |
java.util.List<java.lang.String> |
getCurrentNodeNames() |
java.util.Date |
getEndDate() |
WorkflowInstance |
getParentWorkflowInstance() |
long |
getParentWorkflowInstanceId() |
java.util.Date |
getStartDate() |
java.lang.String |
getState()
Deprecated.
As of Cavanaugh (7.4.x), replaced by
getCurrentNodeNames() |
java.util.Map<java.lang.String,java.io.Serializable> |
getWorkflowContext() |
java.lang.String |
getWorkflowDefinitionName() |
int |
getWorkflowDefinitionVersion() |
long |
getWorkflowInstanceId() |
boolean |
isActive() |
boolean |
isComplete() |
void |
setActive(boolean active) |
void |
setChildrenWorkflowInstances(java.util.List<WorkflowInstance> childrenWorkflowInstances) |
void |
setCurrentNodeNames(java.util.List<java.lang.String> currentNodeNames) |
void |
setEndDate(java.util.Date endDate) |
void |
setParentWorkflowInstance(WorkflowInstance parentWorkflowInstance) |
void |
setStartDate(java.util.Date startDate) |
void |
setState(java.lang.String state)
Deprecated.
As of Cavanaugh (7.4.x), replaced by
setCurrentNodeNames(List) |
void |
setWorkflowContext(java.util.Map<java.lang.String,java.io.Serializable> workflowContext) |
void |
setWorkflowDefinitionName(java.lang.String workflowDefinitionName) |
void |
setWorkflowDefinitionVersion(int workflowDefinitionVersion) |
void |
setWorkflowInstanceId(long workflowInstanceId) |
public void addChildWorkflowInstance(WorkflowInstance childWorkflowInstance)
addChildWorkflowInstance in interface WorkflowInstancepublic int getChildrenWorkflowInstanceCount()
getChildrenWorkflowInstanceCount in interface WorkflowInstancepublic java.util.List<WorkflowInstance> getChildrenWorkflowInstances()
getChildrenWorkflowInstances in interface WorkflowInstancepublic java.util.List<java.lang.String> getCurrentNodeNames()
getCurrentNodeNames in interface WorkflowInstancepublic java.util.Date getEndDate()
getEndDate in interface WorkflowInstancepublic WorkflowInstance getParentWorkflowInstance()
getParentWorkflowInstance in interface WorkflowInstancepublic long getParentWorkflowInstanceId()
getParentWorkflowInstanceId in interface WorkflowInstancepublic java.util.Date getStartDate()
getStartDate in interface WorkflowInstance@Deprecated public java.lang.String getState()
getCurrentNodeNames()getState in interface WorkflowInstancepublic java.util.Map<java.lang.String,java.io.Serializable> getWorkflowContext()
getWorkflowContext in interface WorkflowInstancepublic java.lang.String getWorkflowDefinitionName()
getWorkflowDefinitionName in interface WorkflowInstancepublic int getWorkflowDefinitionVersion()
getWorkflowDefinitionVersion in interface WorkflowInstancepublic long getWorkflowInstanceId()
getWorkflowInstanceId in interface WorkflowInstancepublic boolean isActive()
isActive in interface WorkflowInstancepublic boolean isComplete()
isComplete in interface WorkflowInstancepublic void setActive(boolean active)
public void setChildrenWorkflowInstances(java.util.List<WorkflowInstance> childrenWorkflowInstances)
public void setCurrentNodeNames(java.util.List<java.lang.String> currentNodeNames)
public void setEndDate(java.util.Date endDate)
public void setParentWorkflowInstance(WorkflowInstance parentWorkflowInstance)
setParentWorkflowInstance in interface WorkflowInstancepublic void setStartDate(java.util.Date startDate)
@Deprecated public void setState(java.lang.String state)
setCurrentNodeNames(List)public void setWorkflowContext(java.util.Map<java.lang.String,java.io.Serializable> workflowContext)
public void setWorkflowDefinitionName(java.lang.String workflowDefinitionName)
public void setWorkflowDefinitionVersion(int workflowDefinitionVersion)
public void setWorkflowInstanceId(long workflowInstanceId)