Class DefaultWorkflowInstance
Object
com.liferay.portal.kernel.workflow.DefaultWorkflowInstance
- All Implemented Interfaces:
WorkflowInstance,WorkflowModel,Serializable
- Author:
- Michael C. Han, Brian Wing Shun Chan
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChildWorkflowInstance(WorkflowInstance childWorkflowInstance) intlongintlongbooleanisActive()booleanvoidsetActive(boolean active) voidsetChildrenWorkflowInstances(List<WorkflowInstance> childrenWorkflowInstances) voidsetCurrentWorkflowNodes(List<WorkflowNode> currentWorkflowNodes) voidsetEndDate(Date endDate) voidsetParentWorkflowInstance(WorkflowInstance parentWorkflowInstance) voidsetStartDate(Date startDate) voidsetWorkflowContext(Map<String, Serializable> workflowContext) voidsetWorkflowDefinitionName(String workflowDefinitionName) voidsetWorkflowDefinitionVersion(int workflowDefinitionVersion) voidsetWorkflowInstanceId(long workflowInstanceId)
-
Constructor Details
-
DefaultWorkflowInstance
public DefaultWorkflowInstance()
-
-
Method Details
-
addChildWorkflowInstance
- Specified by:
addChildWorkflowInstancein interfaceWorkflowInstance
-
getChildrenWorkflowInstanceCount
public int getChildrenWorkflowInstanceCount()- Specified by:
getChildrenWorkflowInstanceCountin interfaceWorkflowInstance
-
getChildrenWorkflowInstances
- Specified by:
getChildrenWorkflowInstancesin interfaceWorkflowInstance
-
getCurrentWorkflowNodes
- Specified by:
getCurrentWorkflowNodesin interfaceWorkflowInstance
-
getEndDate
- Specified by:
getEndDatein interfaceWorkflowInstance
-
getParentWorkflowInstance
- Specified by:
getParentWorkflowInstancein interfaceWorkflowInstance
-
getParentWorkflowInstanceId
public long getParentWorkflowInstanceId()- Specified by:
getParentWorkflowInstanceIdin interfaceWorkflowInstance
-
getStartDate
- Specified by:
getStartDatein interfaceWorkflowInstance
-
getWorkflowContext
- Specified by:
getWorkflowContextin interfaceWorkflowInstance
-
getWorkflowDefinitionName
- Specified by:
getWorkflowDefinitionNamein interfaceWorkflowInstance
-
getWorkflowDefinitionVersion
public int getWorkflowDefinitionVersion()- Specified by:
getWorkflowDefinitionVersionin interfaceWorkflowInstance
-
getWorkflowInstanceId
public long getWorkflowInstanceId()- Specified by:
getWorkflowInstanceIdin interfaceWorkflowInstance
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceWorkflowInstance
-
isComplete
public boolean isComplete()- Specified by:
isCompletein interfaceWorkflowInstance
-
setActive
public void setActive(boolean active) -
setChildrenWorkflowInstances
-
setCurrentWorkflowNodes
-
setEndDate
-
setParentWorkflowInstance
- Specified by:
setParentWorkflowInstancein interfaceWorkflowInstance
-
setStartDate
-
setWorkflowContext
-
setWorkflowDefinitionName
-
setWorkflowDefinitionVersion
public void setWorkflowDefinitionVersion(int workflowDefinitionVersion) -
setWorkflowInstanceId
public void setWorkflowInstanceId(long workflowInstanceId)
-