com.liferay.portal.kernel.workflow
Class DefaultWorkflowInstance
java.lang.Object
com.liferay.portal.kernel.workflow.DefaultWorkflowInstance
- All Implemented Interfaces:
- WorkflowInstance, Serializable
public class DefaultWorkflowInstance
- extends Object
- implements Serializable, WorkflowInstance
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultWorkflowInstance
public DefaultWorkflowInstance()
addChildWorkflowInstance
public void addChildWorkflowInstance(WorkflowInstance childWorkflowInstance)
- Specified by:
addChildWorkflowInstance
in interface WorkflowInstance
getChildrenWorkflowInstanceCount
public int getChildrenWorkflowInstanceCount()
- Specified by:
getChildrenWorkflowInstanceCount
in interface WorkflowInstance
getChildrenWorkflowInstances
public List<WorkflowInstance> getChildrenWorkflowInstances()
- Specified by:
getChildrenWorkflowInstances
in interface WorkflowInstance
getEndDate
public Date getEndDate()
- Specified by:
getEndDate
in interface WorkflowInstance
getParentWorkflowInstance
public WorkflowInstance getParentWorkflowInstance()
- Specified by:
getParentWorkflowInstance
in interface WorkflowInstance
getParentWorkflowInstanceId
public long getParentWorkflowInstanceId()
- Specified by:
getParentWorkflowInstanceId
in interface WorkflowInstance
getStartDate
public Date getStartDate()
- Specified by:
getStartDate
in interface WorkflowInstance
getState
public String getState()
- Specified by:
getState
in interface WorkflowInstance
getWorkflowContext
public Map<String,Serializable> getWorkflowContext()
- Specified by:
getWorkflowContext
in interface WorkflowInstance
getWorkflowDefinitionName
public String getWorkflowDefinitionName()
- Specified by:
getWorkflowDefinitionName
in interface WorkflowInstance
getWorkflowDefinitionVersion
public int getWorkflowDefinitionVersion()
- Specified by:
getWorkflowDefinitionVersion
in interface WorkflowInstance
getWorkflowInstanceId
public long getWorkflowInstanceId()
- Specified by:
getWorkflowInstanceId
in interface WorkflowInstance
isComplete
public boolean isComplete()
- Specified by:
isComplete
in interface WorkflowInstance
setChildrenWorkflowInstances
public void setChildrenWorkflowInstances(List<WorkflowInstance> childrenWorkflowInstances)
setEndDate
public void setEndDate(Date endDate)
setParentWorkflowInstance
public void setParentWorkflowInstance(WorkflowInstance parentWorkflowInstance)
- Specified by:
setParentWorkflowInstance
in interface WorkflowInstance
setStartDate
public void setStartDate(Date startDate)
setState
public void setState(String state)
setWorkflowContext
public void setWorkflowContext(Map<String,Serializable> workflowContext)
setWorkflowDefinitionName
public void setWorkflowDefinitionName(String workflowDefinitionName)
setWorkflowDefinitionVersion
public void setWorkflowDefinitionVersion(int workflowDefinitionVersion)
setWorkflowInstanceId
public void setWorkflowInstanceId(long workflowInstanceId)