Class WorkflowInstance
- java.lang.Object
-
- org.alfresco.service.cmr.workflow.WorkflowInstance
-
- All Implemented Interfaces:
Serializable
@AlfrescoPublicApi public class WorkflowInstance extends Object implements Serializable
Workflow Instance Data Object Represents an "in-flight" workflow.- Author:
- davidc
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description booleanactiveDeprecated.NodeRefcontextDeprecated.WorkflowDefinitiondefinitionDeprecated.StringdescriptionDeprecated.DatedueDateWorkflow Due DateDateendDateDeprecated.StringidDeprecated.NodeRefinitiatorDeprecated.IntegerpriorityWorkflow priorityDatestartDateDeprecated.NodeRefworkflowPackageDeprecated.
-
Constructor Summary
Constructors Constructor Description WorkflowInstance(String id, WorkflowDefinition definition, String description, NodeRef initiator, NodeRef workflowPackage, NodeRef context, boolean active, Date startDate, Date endDate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeRefgetContext()WorkflowDefinitiongetDefinition()StringgetDescription()DategetDueDate()DategetEndDate()StringgetId()NodeRefgetInitiator()IntegergetPriority()static longgetSerialversionuid()DategetStartDate()NodeRefgetWorkflowPackage()booleanisActive()StringtoString()
-
-
-
Field Detail
-
id
@Deprecated public String id
Deprecated.Workflow Instance unique id
-
description
@Deprecated public String description
Deprecated.Workflow Instance description
-
active
@Deprecated public boolean active
Deprecated.Is this Workflow instance still "in-flight" or has it completed?
-
initiator
@Deprecated public NodeRef initiator
Deprecated.Initiator (cm:person) - null if System initiated
-
priority
public Integer priority
Workflow priority
-
startDate
@Deprecated public Date startDate
Deprecated.Workflow Start Date
-
dueDate
public Date dueDate
Workflow Due Date
-
endDate
@Deprecated public Date endDate
Deprecated.Workflow End Date
-
workflowPackage
@Deprecated public NodeRef workflowPackage
Deprecated.Workflow Package
-
context
@Deprecated public NodeRef context
Deprecated.Workflow Context
-
definition
@Deprecated public WorkflowDefinition definition
Deprecated.Workflow Definition
-
-
Method Detail
-
getSerialversionuid
public static long getSerialversionuid()
- Returns:
- the serialversionuid
-
getId
public String getId()
- Returns:
- the id
-
getDescription
public String getDescription()
- Returns:
- the description
-
isActive
public boolean isActive()
- Returns:
- the active
-
getInitiator
public NodeRef getInitiator()
- Returns:
- the initiator
-
getPriority
public Integer getPriority()
- Returns:
- the priority, null if there is no priority set
-
getStartDate
public Date getStartDate()
- Returns:
- the startDate
-
getDueDate
public Date getDueDate()
- Returns:
- the dueDate
-
getEndDate
public Date getEndDate()
- Returns:
- the endDate
-
getWorkflowPackage
public NodeRef getWorkflowPackage()
- Returns:
- the workflowPackage
-
getContext
public NodeRef getContext()
- Returns:
- the context
-
getDefinition
public WorkflowDefinition getDefinition()
- Returns:
- the definition
-
-