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