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 TypeMethodDescriptionvoid
addChildWorkflowInstance
(WorkflowInstance childWorkflowInstance) int
long
int
long
boolean
isActive()
boolean
void
setActive
(boolean active) void
setChildrenWorkflowInstances
(List<WorkflowInstance> childrenWorkflowInstances) void
setCurrentWorkflowNodes
(List<WorkflowNode> currentWorkflowNodes) void
setEndDate
(Date endDate) void
setParentWorkflowInstance
(WorkflowInstance parentWorkflowInstance) void
setStartDate
(Date startDate) void
setWorkflowContext
(Map<String, Serializable> workflowContext) void
setWorkflowDefinitionName
(String workflowDefinitionName) void
setWorkflowDefinitionVersion
(int workflowDefinitionVersion) void
setWorkflowInstanceId
(long workflowInstanceId)
-
Constructor Details
-
DefaultWorkflowInstance
public DefaultWorkflowInstance()
-
-
Method Details
-
addChildWorkflowInstance
- Specified by:
addChildWorkflowInstance
in interfaceWorkflowInstance
-
getChildrenWorkflowInstanceCount
public int getChildrenWorkflowInstanceCount()- Specified by:
getChildrenWorkflowInstanceCount
in interfaceWorkflowInstance
-
getChildrenWorkflowInstances
- Specified by:
getChildrenWorkflowInstances
in interfaceWorkflowInstance
-
getCurrentWorkflowNodes
- Specified by:
getCurrentWorkflowNodes
in interfaceWorkflowInstance
-
getEndDate
- Specified by:
getEndDate
in interfaceWorkflowInstance
-
getParentWorkflowInstance
- Specified by:
getParentWorkflowInstance
in interfaceWorkflowInstance
-
getParentWorkflowInstanceId
public long getParentWorkflowInstanceId()- Specified by:
getParentWorkflowInstanceId
in interfaceWorkflowInstance
-
getStartDate
- Specified by:
getStartDate
in interfaceWorkflowInstance
-
getWorkflowContext
- Specified by:
getWorkflowContext
in interfaceWorkflowInstance
-
getWorkflowDefinitionName
- Specified by:
getWorkflowDefinitionName
in interfaceWorkflowInstance
-
getWorkflowDefinitionVersion
public int getWorkflowDefinitionVersion()- Specified by:
getWorkflowDefinitionVersion
in interfaceWorkflowInstance
-
getWorkflowInstanceId
public long getWorkflowInstanceId()- Specified by:
getWorkflowInstanceId
in interfaceWorkflowInstance
-
isActive
public boolean isActive()- Specified by:
isActive
in interfaceWorkflowInstance
-
isComplete
public boolean isComplete()- Specified by:
isComplete
in interfaceWorkflowInstance
-
setActive
public void setActive(boolean active) -
setChildrenWorkflowInstances
-
setCurrentWorkflowNodes
-
setEndDate
-
setParentWorkflowInstance
- Specified by:
setParentWorkflowInstance
in interfaceWorkflowInstance
-
setStartDate
-
setWorkflowContext
-
setWorkflowDefinitionName
-
setWorkflowDefinitionVersion
public void setWorkflowDefinitionVersion(int workflowDefinitionVersion) -
setWorkflowInstanceId
public void setWorkflowInstanceId(long workflowInstanceId)
-