org.alfresco.service.cmr.workflow
Class WorkflowInstance

java.lang.Object
  extended by org.alfresco.service.cmr.workflow.WorkflowInstance
All Implemented Interfaces:
java.io.Serializable

public class WorkflowInstance
extends java.lang.Object
implements java.io.Serializable

Workflow Instance Data Object Represents an "in-flight" workflow.

See Also:
Serialized Form

Field Summary
 boolean active
          Deprecated. 
 org.alfresco.service.cmr.repository.NodeRef context
          Deprecated. 
 WorkflowDefinition definition
          Deprecated. 
 java.lang.String description
          Deprecated. 
 java.util.Date dueDate
          Workflow Due Date
 java.util.Date endDate
          Deprecated. 
 java.lang.String id
          Deprecated. 
 org.alfresco.service.cmr.repository.NodeRef initiator
          Deprecated. 
 java.lang.Integer priority
          Workflow priority
 java.util.Date startDate
          Deprecated. 
 org.alfresco.service.cmr.repository.NodeRef workflowPackage
          Deprecated. 
 
Constructor Summary
WorkflowInstance(java.lang.String id, WorkflowDefinition definition, java.lang.String description, org.alfresco.service.cmr.repository.NodeRef initiator, org.alfresco.service.cmr.repository.NodeRef workflowPackage, org.alfresco.service.cmr.repository.NodeRef context, boolean active, java.util.Date startDate, java.util.Date endDate)
           
 
Method Summary
 org.alfresco.service.cmr.repository.NodeRef getContext()
           
 WorkflowDefinition getDefinition()
           
 java.lang.String getDescription()
           
 java.util.Date getDueDate()
           
 java.util.Date getEndDate()
           
 java.lang.String getId()
           
 org.alfresco.service.cmr.repository.NodeRef getInitiator()
           
 java.lang.Integer getPriority()
           
static long getSerialversionuid()
           
 java.util.Date getStartDate()
           
 org.alfresco.service.cmr.repository.NodeRef getWorkflowPackage()
           
 boolean isActive()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

@Deprecated
public java.lang.String id
Deprecated. 
Workflow Instance unique id


description

@Deprecated
public java.lang.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 org.alfresco.service.cmr.repository.NodeRef initiator
Deprecated. 
Initiator (cm:person) - null if System initiated


priority

public java.lang.Integer priority
Workflow priority


startDate

@Deprecated
public java.util.Date startDate
Deprecated. 
Workflow Start Date


dueDate

public java.util.Date dueDate
Workflow Due Date


endDate

@Deprecated
public java.util.Date endDate
Deprecated. 
Workflow End Date


workflowPackage

@Deprecated
public org.alfresco.service.cmr.repository.NodeRef workflowPackage
Deprecated. 
Workflow Package


context

@Deprecated
public org.alfresco.service.cmr.repository.NodeRef context
Deprecated. 
Workflow Context


definition

@Deprecated
public WorkflowDefinition definition
Deprecated. 
Workflow Definition

Constructor Detail

WorkflowInstance

public WorkflowInstance(java.lang.String id,
                        WorkflowDefinition definition,
                        java.lang.String description,
                        org.alfresco.service.cmr.repository.NodeRef initiator,
                        org.alfresco.service.cmr.repository.NodeRef workflowPackage,
                        org.alfresco.service.cmr.repository.NodeRef context,
                        boolean active,
                        java.util.Date startDate,
                        java.util.Date endDate)
Method Detail

getSerialversionuid

public static long getSerialversionuid()
Returns:
the serialversionuid

getId

public java.lang.String getId()
Returns:
the id

getDescription

public java.lang.String getDescription()
Returns:
the description

isActive

public boolean isActive()
Returns:
the active

getInitiator

public org.alfresco.service.cmr.repository.NodeRef getInitiator()
Returns:
the initiator

getPriority

public java.lang.Integer getPriority()
Returns:
the priority, null if there is no priority set

getStartDate

public java.util.Date getStartDate()
Returns:
the startDate

getDueDate

public java.util.Date getDueDate()
Returns:
the dueDate

getEndDate

public java.util.Date getEndDate()
Returns:
the endDate

getWorkflowPackage

public org.alfresco.service.cmr.repository.NodeRef getWorkflowPackage()
Returns:
the workflowPackage

getContext

public org.alfresco.service.cmr.repository.NodeRef getContext()
Returns:
the context

getDefinition

public WorkflowDefinition getDefinition()
Returns:
the definition

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.