org.alfresco.repo.workflow.jbpm
Class WorkflowTaskInstance

java.lang.Object
  extended by org.jbpm.context.exe.VariableContainer
      extended by org.jbpm.taskmgmt.exe.TaskInstance
          extended by org.alfresco.repo.workflow.jbpm.WorkflowTaskInstance
All Implemented Interfaces:
java.io.Serializable, org.jbpm.graph.def.Identifiable, org.jbpm.taskmgmt.exe.Assignable

public class WorkflowTaskInstance
extends org.jbpm.taskmgmt.exe.TaskInstance

Alfresco specific implementation of a jBPM task instance

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jbpm.taskmgmt.exe.TaskInstance
actorId, comments, create, description, dueDate, end, isBlocking, isCancelled, isOpen, isSignalling, isSuspended, name, pooledActors, previousActorId, priority, processInstance, start, swimlaneInstance, task, taskMgmtInstance, token
 
Fields inherited from class org.jbpm.context.exe.VariableContainer
variableInstances
 
Constructor Summary
WorkflowTaskInstance()
          Construct
WorkflowTaskInstance(java.lang.String taskName, java.lang.String actorId)
          Construct
 
Method Summary
 void create(org.jbpm.graph.exe.ExecutionContext executionContext)
           
 void end(org.jbpm.graph.def.Transition transition)
           
 void setJbpmEngineName(java.lang.String jbpmEngineName)
          Sets jbpmEngineName which is used to get the JBPMEngine instance from a BeanFactory
 
Methods inherited from class org.jbpm.taskmgmt.exe.TaskInstance
addComment, addComment, assign, cancel, cancel, cancel, copySwimlaneInstanceAssignment, create, end, end, equals, getActorId, getAvailableTransitions, getComments, getCreate, getDescription, getDueDate, getEnd, getId, getName, getParentVariableContainer, getPooledActors, getPreviousActorId, getPriority, getProcessInstance, getStart, getSwimlaneInstance, getTask, getTaskMgmtInstance, getToken, hasEnded, isBlocking, isCancelled, isLast, isOpen, isSignalling, isStartTaskInstance, isSuspended, resume, setActorId, setActorId, setBlocking, setCreate, setDescription, setDueDate, setEnd, setId, setName, setPooledActors, setPooledActors, setPriority, setProcessInstance, setSignalling, setStart, setSwimlaneInstance, setTask, setTaskMgmtInstance, setToken, start, start, start, suspend, toString
 
Methods inherited from class org.jbpm.context.exe.VariableContainer
addVariableInstance, addVariables, deleteVariable, deleteVariableInstance, deleteVariableLocally, getContextInstance, getUpdatedVariableContainers, getVariable, getVariableInstance, getVariableInstances, getVariableLocally, getVariables, getVariablesLocally, hasVariable, hasVariableLocally, setVariable, setVariableLocally, setVariables
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowTaskInstance

public WorkflowTaskInstance()
Construct


WorkflowTaskInstance

public WorkflowTaskInstance(java.lang.String taskName,
                            java.lang.String actorId)
Construct

Parameters:
taskName -
actorId -
Method Detail

setJbpmEngineName

public void setJbpmEngineName(java.lang.String jbpmEngineName)
Sets jbpmEngineName which is used to get the JBPMEngine instance from a BeanFactory

Parameters:
jbpmEngineName - the jbpmEngineName to set

create

public void create(org.jbpm.graph.exe.ExecutionContext executionContext)
Overrides:
create in class org.jbpm.taskmgmt.exe.TaskInstance

end

public void end(org.jbpm.graph.def.Transition transition)
Overrides:
end in class org.jbpm.taskmgmt.exe.TaskInstance


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