Liferay 6.0.5

com.liferay.portal.kernel.workflow
Class DefaultWorkflowInstance

java.lang.Object
  extended by com.liferay.portal.kernel.workflow.DefaultWorkflowInstance
All Implemented Interfaces:
WorkflowInstance, Serializable

public class DefaultWorkflowInstance
extends Object
implements Serializable, WorkflowInstance

See Also:
Serialized Form

Constructor Summary
DefaultWorkflowInstance()
           
 
Method Summary
 void addChildWorkflowInstance(WorkflowInstance childWorkflowInstance)
           
 int getChildrenWorkflowInstanceCount()
           
 List<WorkflowInstance> getChildrenWorkflowInstances()
           
 Date getEndDate()
           
 WorkflowInstance getParentWorkflowInstance()
           
 long getParentWorkflowInstanceId()
           
 Date getStartDate()
           
 String getState()
           
 Map<String,Serializable> getWorkflowContext()
           
 String getWorkflowDefinitionName()
           
 int getWorkflowDefinitionVersion()
           
 long getWorkflowInstanceId()
           
 boolean isComplete()
           
 void setChildrenWorkflowInstances(List<WorkflowInstance> childrenWorkflowInstances)
           
 void setEndDate(Date endDate)
           
 void setParentWorkflowInstance(WorkflowInstance parentWorkflowInstance)
           
 void setStartDate(Date startDate)
           
 void setState(String state)
           
 void setWorkflowContext(Map<String,Serializable> workflowContext)
           
 void setWorkflowDefinitionName(String workflowDefinitionName)
           
 void setWorkflowDefinitionVersion(int workflowDefinitionVersion)
           
 void setWorkflowInstanceId(long workflowInstanceId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultWorkflowInstance

public DefaultWorkflowInstance()
Method Detail

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)

Liferay 6.0.5