public class JBPMEngine extends AlfrescoBpmEngine implements WorkflowEngine
| Modifier and Type | Field and Description |
|---|---|
protected AuthorityDAO |
authorityDAO |
protected java.lang.String |
companyHomePath |
protected org.alfresco.service.cmr.repository.StoreRef |
companyHomeStore |
static java.lang.String |
ENGINE_ID |
protected static java.lang.String |
ERR_END_TASK_INVALID_TRANSITION |
protected static java.lang.String |
ERR_FIND_COMPLETED_TASK_INSTS |
protected static java.lang.String |
ERR_INVALID_EVENT |
protected org.springmodules.workflow.jbpm31.JbpmTemplate |
jbpmTemplate |
protected org.alfresco.service.cmr.repository.NodeService |
nodeService |
protected PersonService |
personService |
protected ServiceRegistry |
serviceRegistry |
protected org.alfresco.service.cmr.search.SearchService |
unprotectedSearchService |
authorityManager, dictionaryService, factory, messageService, namespaceService, tenantService| Constructor and Description |
|---|
JBPMEngine() |
| Modifier and Type | Method and Description |
|---|---|
WorkflowInstance |
cancelWorkflow(java.lang.String workflowId)
Cancel an "in-flight" Workflow instance
|
java.util.List |
cancelWorkflows(java.util.List workflowIds)
Cancel a batch of "in-flight" Workflow instances
|
protected org.alfresco.repo.workflow.jbpm.JBPMEngine.CompiledProcessDefinition |
compileProcessDefinition(java.io.InputStream definitionStream,
java.lang.String mimetype)
Construct a Process Definition from the provided Process Definition
stream
|
protected WorkflowDefinition |
createWorkflowDefinition(org.jbpm.graph.def.ProcessDefinition definition)
Creates a Workflow Definition
|
protected WorkflowDeployment |
createWorkflowDeployment(org.alfresco.repo.workflow.jbpm.JBPMEngine.CompiledProcessDefinition compiledDef)
Creates a Workflow Deployment
|
protected WorkflowInstance |
createWorkflowInstance(org.jbpm.graph.exe.ProcessInstance instance) |
protected WorkflowInstance |
createWorkflowInstance(org.jbpm.graph.exe.ProcessInstance instance,
WorkflowDefinition definition,
java.util.Date endDate,
java.util.Map variables)
Creates a Workflow Instance
|
protected WorkflowNode |
createWorkflowNode(org.jbpm.graph.def.Node node)
Creates a Workflow Node
|
protected WorkflowPath |
createWorkflowPath(org.jbpm.graph.exe.Token token)
Creates a Workflow Path
|
protected WorkflowPath |
createWorkflowPath(org.jbpm.graph.exe.Token token,
WorkflowInstance wfInstance,
WorkflowNode node)
Creates a Workflow Path
|
protected WorkflowTask |
createWorkflowTask(org.jbpm.taskmgmt.exe.TaskInstance task)
* Creates a Workflow Task
|
protected WorkflowTaskDefinition |
createWorkflowTaskDefinition(org.jbpm.taskmgmt.def.Task task)
Creates a Workflow Task Definition
|
protected WorkflowTimer |
createWorkflowTimer(org.jbpm.job.Timer timer)
Creates a Workflow Timer
|
protected WorkflowTransition |
createWorkflowTransition(org.jbpm.graph.def.Transition transition)
Create a Workflow Transition
|
WorkflowInstance |
deleteWorkflow(java.lang.String workflowId)
Delete an "in-flight" Workflow instance
|
WorkflowDeployment |
deployDefinition(java.io.InputStream workflowDefinition,
java.lang.String mimetype)
Deploy a Workflow Definition
|
WorkflowDeployment |
deployDefinition(java.io.InputStream workflowDefinition,
java.lang.String mimetype,
java.lang.String name)
Deploy a Workflow Definition
|
WorkflowTask |
endTask(java.lang.String taskId,
java.lang.String transition)
End the Task (i.e.
|
WorkflowPath |
fireEvent(java.lang.String pathId,
java.lang.String event)
Fire custom event against specified path
|
java.util.List |
getActiveWorkflows()
Gets all "in-flight" active workflow instances.
|
java.util.List |
getActiveWorkflows(java.lang.String workflowDefinitionId)
Gets all "in-flight" active workflow instances of the specified Workflow Definition
|
java.util.List |
getAllDefinitions()
Gets all deployed Workflow Definitions (with all previous versions)
|
java.util.List |
getAllDefinitionsByName(java.lang.String workflowName)
Gets all (including previous) Workflow Definitions for the given unique name
|
java.util.List |
getAssignedTasks(java.lang.String authority,
WorkflowTaskState state)
Gets all tasks assigned to the specified authority
|
java.util.List |
getAssignedTasks(java.lang.String authority,
WorkflowTaskState state,
boolean sameSession) |
java.util.List |
getCompletedWorkflows()
Gets all completed workflow instances.
|
java.util.List |
getCompletedWorkflows(java.lang.String workflowDefinitionId)
Gets all "in-flight" completed workflow instances of the specified Workflow Definition
|
protected org.alfresco.service.namespace.QName |
getDefaultStartTaskType() |
WorkflowDefinition |
getDefinitionById(java.lang.String workflowDefinitionId)
Gets a Workflow Definition by unique Id
|
WorkflowDefinition |
getDefinitionByName(java.lang.String workflowName)
Gets a Workflow Definition by unique name
|
byte[] |
getDefinitionImage(java.lang.String workflowDefinitionId)
Gets a graphical view of the Workflow Definition
|
java.util.List |
getDefinitions()
Gets all deployed Workflow Definitions
|
protected long |
getJbpmId(java.lang.String id)
Get JBoss JBPM Id from Engine Global Id
|
protected org.alfresco.service.namespace.QName[] |
getMissingMandatoryTaskProperties(org.jbpm.taskmgmt.exe.TaskInstance instance)
Get missing mandatory properties on Task
|
java.util.Map |
getPathProperties(java.lang.String pathId)
Gets the properties associated with the specified path (and parent paths)
|
java.util.List |
getPooledTasks(java.util.List authorities)
Gets the pooled tasks available to the specified authority
|
protected org.jbpm.graph.def.ProcessDefinition |
getProcessDefinition(org.jbpm.db.GraphSession graphSession,
java.lang.String workflowDefinitionId)
Gets a jBPM process definition
|
protected org.jbpm.graph.exe.ProcessInstance |
getProcessInstance(org.jbpm.db.GraphSession graphSession,
java.lang.String workflowId)
Gets a jBPM Process Instance
|
WorkflowTask |
getStartTask(java.lang.String workflowInstanceId)
Gets all active timers for the specified workflow
|
java.util.List |
getStartTasks(java.util.List workflowInstanceIds,
boolean sameSession)
Gets all start tasks for the specified workflow
|
WorkflowTask |
getTaskById(java.lang.String taskId)
Gets a Task by unique Id
|
java.util.List |
getTaskDefinitions(java.lang.String workflowDefinitionId)
Gets the Task Definitions for the given Workflow Definition
|
protected org.jbpm.taskmgmt.exe.TaskInstance |
getTaskInstance(org.jbpm.db.TaskMgmtSession taskSession,
java.lang.String taskId)
Gets a jBPM Task Instance
|
protected java.util.Map |
getTaskProperties(org.jbpm.taskmgmt.exe.TaskInstance instance,
boolean localProperties)
Gets Properties of Task
|
protected java.util.Map |
getTaskProperties(org.jbpm.taskmgmt.exe.TaskInstance instance,
boolean localProperties,
java.util.Map variablesCache)
Gets Properties of Task
|
java.util.List |
getTasksForWorkflowPath(java.lang.String pathId)
Gets all Tasks associated with the specified path
|
java.util.List |
getTasksForWorkflowPath(java.lang.String pathId,
boolean sameSession) |
java.util.List |
getTimers(java.lang.String workflowId)
Gets all active timers for the specified workflow
|
WorkflowInstance |
getWorkflowById(java.lang.String workflowId)
Gets a specific workflow instances
|
java.io.InputStream |
getWorkflowImage(java.lang.String workflowInstanceId)
Gets a graphical view of the workflow instance
|
java.util.List |
getWorkflowPaths(java.lang.String workflowId)
Gets all Paths for the specified Workflow instance
|
java.util.List |
getWorkflows()
Gets all workflow instances (both active and completed).
|
java.util.List |
getWorkflows(java.lang.String workflowDefinitionId)
Gets all "in-flight" workflow instances (both active and completed) of the specified Workflow Definition
|
java.util.List |
getWorkflows(WorkflowInstanceQuery query)
Gets all "in-flight" workflow instances according to the specified workflowInstanceQuery parameter
|
protected java.util.List |
getWorkflowTasks(java.util.List tasks) |
protected java.util.List |
getWorkflowTasks(java.util.List tasks,
boolean sameSession) |
protected java.util.List |
getWorkflowTasks(org.hibernate.Session session,
java.util.List rows) |
protected WorkflowTaskState |
getWorkflowTaskState(org.jbpm.taskmgmt.exe.TaskInstance task)
Get the Workflow Task State for the specified JBoss JBPM Task
|
protected org.jbpm.graph.exe.Token |
getWorkflowToken(org.jbpm.db.GraphSession session,
java.lang.String pathId)
Get the JBoss JBPM Token for the Workflow Path
|
boolean |
hasWorkflowImage(java.lang.String workflowInstanceId)
Determines if a graphical view of the workflow instance exists
|
boolean |
isDefinitionDeployed(java.io.InputStream workflowDefinition,
java.lang.String mimetype)
Is the specified Workflow Definition already deployed?
Note: the notion of "already deployed" may differ between bpm engines.
|
java.util.List |
queryTasks(WorkflowTaskQuery query) |
java.util.List |
queryTasks(WorkflowTaskQuery query,
boolean sameSession)
Query for tasks
|
void |
setAuthorityDAO(AuthorityDAO authorityDAO)
Sets the Authority DAO
|
void |
setCompanyHomePath(java.lang.String companyHomePath)
Sets the Company Home Path
|
void |
setCompanyHomeStore(java.lang.String companyHomeStore)
Sets the Company Home Store
|
void |
setDefaultStartTaskDescription(org.jbpm.taskmgmt.exe.TaskInstance instance)
Sets default description for the Task
|
protected void |
setDefaultTaskProperties(org.jbpm.taskmgmt.exe.TaskInstance instance)
Sets Default Properties of Task
|
protected void |
setDefaultWorkflowProperties(org.jbpm.taskmgmt.exe.TaskInstance startTask)
Initialise Workflow Instance properties
|
void |
setJBPMTemplate(org.springmodules.workflow.jbpm31.JbpmTemplate jbpmTemplate)
Sets the JBPM Template used for accessing JBoss JBPM in the correct
context
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Sets the Node Service
|
void |
setPersonService(PersonService personService)
Sets the Person Service
|
void |
setServiceRegistry(ServiceRegistry serviceRegistry)
Sets the Service Registry
|
protected void |
setTaskProperties(org.jbpm.taskmgmt.exe.TaskInstance instance,
java.util.Map properties)
Sets Properties of Task
|
void |
setUnprotectedSearchService(org.alfresco.service.cmr.search.SearchService unprotectedSearchService)
Set the unprotected search service - so we can find the node ref for
company home when folk do not have read access to company home TODO:
review use with DC
|
WorkflowPath |
signal(java.lang.String pathId,
java.lang.String transition)
Signal the transition from one Workflow Node to another within an "in-flight"
process.
|
WorkflowTask |
startTask(java.lang.String taskId)
Start the specified Task
Note: this is an optional task operation.
|
WorkflowPath |
startWorkflow(java.lang.String workflowDefinitionId,
java.util.Map parameters)
Start a Workflow Instance
|
WorkflowTask |
suspendTask(java.lang.String taskId)
Suspend the specified Task
|
void |
undeployDefinition(java.lang.String workflowDefinitionId)
Undeploy an exisiting Workflow Definition
TODO: Determine behaviour when "in-flight" workflow instances exist
|
WorkflowTask |
updateTask(java.lang.String taskId,
java.util.Map properties,
java.util.Map add,
java.util.Map remove)
Update the Properties and Associations of a Task
|
afterPropertiesSet, setDictionaryService, setMessageService, setNamespaceService, setTenantService, setWorkflowAuthorityManager, setWorkflowObjectFactorycreateGlobalId, createLocalId, getEngineId, setBPMEngineRegistry, setEngineIdprotected org.alfresco.service.cmr.repository.NodeService nodeService
protected ServiceRegistry serviceRegistry
protected PersonService personService
protected AuthorityDAO authorityDAO
protected org.springmodules.workflow.jbpm31.JbpmTemplate jbpmTemplate
protected org.alfresco.service.cmr.search.SearchService unprotectedSearchService
protected org.alfresco.service.cmr.repository.StoreRef companyHomeStore
protected java.lang.String companyHomePath
protected static final java.lang.String ERR_INVALID_EVENT
protected static final java.lang.String ERR_FIND_COMPLETED_TASK_INSTS
protected static final java.lang.String ERR_END_TASK_INVALID_TRANSITION
public static final java.lang.String ENGINE_ID
public void setJBPMTemplate(org.springmodules.workflow.jbpm31.JbpmTemplate jbpmTemplate)
jbpmTemplate - public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - public void setPersonService(PersonService personService)
personService - public void setAuthorityDAO(AuthorityDAO authorityDAO)
authorityDAO - public void setServiceRegistry(ServiceRegistry serviceRegistry)
serviceRegistry - public void setCompanyHomePath(java.lang.String companyHomePath)
companyHomePath - public void setCompanyHomeStore(java.lang.String companyHomeStore)
companyHomeStore - public void setUnprotectedSearchService(org.alfresco.service.cmr.search.SearchService unprotectedSearchService)
unprotectedSearchService - public WorkflowDeployment deployDefinition(java.io.InputStream workflowDefinition, java.lang.String mimetype)
WorkflowComponentdeployDefinition in interface WorkflowComponentworkflowDefinition - the content object containing the definitionmimetype - (optional) the mime type of the workflow definitionpublic WorkflowDeployment deployDefinition(java.io.InputStream workflowDefinition, java.lang.String mimetype, java.lang.String name)
WorkflowComponentdeployDefinition in interface WorkflowComponentworkflowDefinition - the content object containing the definitionmimetype - (optional) the mime type of the workflow definitionname - (optional) a name to represent the deploymentpublic boolean isDefinitionDeployed(java.io.InputStream workflowDefinition,
java.lang.String mimetype)
WorkflowComponentisDefinitionDeployed in interface WorkflowComponentworkflowDefinition - the definition to checkmimetype - the mimetype of the definitionpublic void undeployDefinition(java.lang.String workflowDefinitionId)
WorkflowComponentundeployDefinition in interface WorkflowComponentworkflowDefinitionId - the id of the definition to undeploypublic java.util.List getDefinitions()
getDefinitions in interface WorkflowComponentpublic java.util.List getAllDefinitions()
WorkflowComponentgetAllDefinitions in interface WorkflowComponentpublic WorkflowDefinition getDefinitionById(java.lang.String workflowDefinitionId)
WorkflowComponentgetDefinitionById in interface WorkflowComponentworkflowDefinitionId - the workflow definition idpublic WorkflowDefinition getDefinitionByName(java.lang.String workflowName)
WorkflowComponentgetDefinitionByName in interface WorkflowComponentworkflowName - workflow name e.g. jbpm$wf:reviewpublic java.util.List getAllDefinitionsByName(java.lang.String workflowName)
WorkflowComponentgetAllDefinitionsByName in interface WorkflowComponentworkflowName - workflow name e.g. jbpm$wf:reviewpublic byte[] getDefinitionImage(java.lang.String workflowDefinitionId)
WorkflowComponentgetDefinitionImage in interface WorkflowComponentworkflowDefinitionId - the workflow definition idpublic java.util.List getTaskDefinitions(java.lang.String workflowDefinitionId)
WorkflowComponentgetTaskDefinitions in interface WorkflowComponentworkflowDefinitionId - the workflow definition idprotected org.jbpm.graph.def.ProcessDefinition getProcessDefinition(org.jbpm.db.GraphSession graphSession,
java.lang.String workflowDefinitionId)
graphSession - jBPM graph sessionworkflowDefinitionId - workflow definition idpublic WorkflowPath startWorkflow(java.lang.String workflowDefinitionId, java.util.Map parameters)
WorkflowComponentstartWorkflow in interface WorkflowComponentworkflowDefinitionId - the workflow definition idparameters - the initial set of parameters used to populate the "Start Task" propertiespublic java.util.List getActiveWorkflows()
getActiveWorkflows in interface WorkflowComponentpublic java.util.List getCompletedWorkflows()
getCompletedWorkflows in interface WorkflowComponentpublic java.util.List getWorkflows()
getWorkflows in interface WorkflowComponentpublic java.util.List getActiveWorkflows(java.lang.String workflowDefinitionId)
getActiveWorkflows in interface WorkflowComponentworkflowDefinitionId - the workflow definition idpublic java.util.List getCompletedWorkflows(java.lang.String workflowDefinitionId)
getCompletedWorkflows in interface WorkflowComponentworkflowDefinitionId - the workflow definition idpublic java.util.List getWorkflows(java.lang.String workflowDefinitionId)
getWorkflows in interface WorkflowComponentworkflowDefinitionId - the workflow definition idpublic java.util.List getWorkflows(WorkflowInstanceQuery query)
WorkflowComponentgetWorkflows in interface WorkflowComponentpublic WorkflowInstance getWorkflowById(java.lang.String workflowId)
getWorkflowById in interface WorkflowComponentworkflowId - the id of the workflow to retrieveprotected org.jbpm.graph.exe.ProcessInstance getProcessInstance(org.jbpm.db.GraphSession graphSession,
java.lang.String workflowId)
graphSession - jBPM graph sessionworkflowId - workflow idpublic java.util.List getWorkflowPaths(java.lang.String workflowId)
WorkflowComponentgetWorkflowPaths in interface WorkflowComponentworkflowId - workflow instance idpublic java.util.Map getPathProperties(java.lang.String pathId)
WorkflowComponentgetPathProperties in interface WorkflowComponentpathId - workflow path idpublic WorkflowInstance cancelWorkflow(java.lang.String workflowId)
WorkflowComponentcancelWorkflow in interface WorkflowComponentworkflowId - the workflow instance to cancelpublic java.util.List cancelWorkflows(java.util.List workflowIds)
WorkflowComponentcancelWorkflows in interface WorkflowComponentworkflowIds - List of the workflow instances to cancelpublic WorkflowInstance deleteWorkflow(java.lang.String workflowId)
WorkflowComponentdeleteWorkflow in interface WorkflowComponentworkflowId - the workflow instance to cancelpublic WorkflowPath signal(java.lang.String pathId, java.lang.String transition)
WorkflowComponentsignal in interface WorkflowComponentpathId - the workflow path to signal onpublic WorkflowPath fireEvent(java.lang.String pathId, java.lang.String event)
WorkflowComponentfireEvent in interface WorkflowComponentpathId - the workflow path to fire event onevent - name of eventpublic java.util.List getTasksForWorkflowPath(java.lang.String pathId)
getTasksForWorkflowPath in interface WorkflowComponentpathId - the path idpublic java.util.List getTasksForWorkflowPath(java.lang.String pathId,
boolean sameSession)
public java.util.List getTimers(java.lang.String workflowId)
WorkflowComponentgetTimers in interface WorkflowComponentpublic boolean hasWorkflowImage(java.lang.String workflowInstanceId)
WorkflowComponenthasWorkflowImage in interface WorkflowComponentworkflowInstanceId - the workflow instance idpublic java.io.InputStream getWorkflowImage(java.lang.String workflowInstanceId)
WorkflowComponentgetWorkflowImage in interface WorkflowComponentworkflowInstanceId - the workflow instance idpublic java.util.List getAssignedTasks(java.lang.String authority,
WorkflowTaskState state)
getAssignedTasks in interface TaskComponentauthority - the authoritystate - filter by specified workflow task statepublic java.util.List getAssignedTasks(java.lang.String authority,
WorkflowTaskState state,
boolean sameSession)
protected java.util.List getWorkflowTasks(org.hibernate.Session session,
java.util.List rows)
public java.util.List getPooledTasks(java.util.List authorities)
TaskComponentgetPooledTasks in interface TaskComponentpublic java.util.List queryTasks(WorkflowTaskQuery query)
queryTasks in interface TaskComponentpublic java.util.List queryTasks(WorkflowTaskQuery query, boolean sameSession)
TaskComponentqueryTasks in interface TaskComponentquery - the filter by which tasks are queriedsameSession - indicates that the returned WorkflowTask elements will be used in
the same session. If true, the returned List will be a lazy loaded list
providing greater performance.protected java.util.List getWorkflowTasks(java.util.List tasks)
protected java.util.List getWorkflowTasks(java.util.List tasks,
boolean sameSession)
protected org.jbpm.taskmgmt.exe.TaskInstance getTaskInstance(org.jbpm.db.TaskMgmtSession taskSession,
java.lang.String taskId)
taskSession - jBPM task sessiontaskId - task idpublic WorkflowTask updateTask(java.lang.String taskId, java.util.Map properties, java.util.Map add, java.util.Map remove)
TaskComponentupdateTask in interface TaskComponenttaskId - the task id to updateproperties - the map of properties to set on the task (or null, if none to set)add - the map of items to associate with the task (or null, if none to add)remove - the map of items to dis-associate with the task (or null, if none to remove)public WorkflowTask startTask(java.lang.String taskId)
TaskComponentstartTask in interface TaskComponenttaskId - the task to startpublic WorkflowTask suspendTask(java.lang.String taskId)
TaskComponentsuspendTask in interface TaskComponentpublic WorkflowTask endTask(java.lang.String taskId, java.lang.String transition)
TaskComponentendTask in interface TaskComponenttaskId - the task id to endpublic WorkflowTask getTaskById(java.lang.String taskId)
TaskComponentgetTaskById in interface TaskComponenttaskId - the task idpublic WorkflowTask getStartTask(java.lang.String workflowInstanceId)
TaskComponentgetStartTask in interface TaskComponentpublic java.util.List getStartTasks(java.util.List workflowInstanceIds,
boolean sameSession)
TaskComponentgetStartTasks in interface TaskComponentprotected org.alfresco.repo.workflow.jbpm.JBPMEngine.CompiledProcessDefinition compileProcessDefinition(java.io.InputStream definitionStream,
java.lang.String mimetype)
workflowDefinition - stream to create process definition frommimetype - mimetype of streamprotected long getJbpmId(java.lang.String id)
id - global idprotected org.jbpm.graph.exe.Token getWorkflowToken(org.jbpm.db.GraphSession session,
java.lang.String pathId)
session - JBoss JBPM Graph SessionpathId - workflow path idprotected java.util.Map getTaskProperties(org.jbpm.taskmgmt.exe.TaskInstance instance,
boolean localProperties)
instance - task instanceproperties - properties to setprotected java.util.Map getTaskProperties(org.jbpm.taskmgmt.exe.TaskInstance instance,
boolean localProperties,
java.util.Map variablesCache)
instance - task instanceproperties - properties to setvariablesCache - cahce of context instance variables if any existsprotected void setTaskProperties(org.jbpm.taskmgmt.exe.TaskInstance instance,
java.util.Map properties)
instance - task instanceproperties - properties to setprotected void setDefaultTaskProperties(org.jbpm.taskmgmt.exe.TaskInstance instance)
instance - task instancepublic void setDefaultStartTaskDescription(org.jbpm.taskmgmt.exe.TaskInstance instance)
instance - task instanceprotected void setDefaultWorkflowProperties(org.jbpm.taskmgmt.exe.TaskInstance startTask)
startTask - start task instanceprotected org.alfresco.service.namespace.QName[] getMissingMandatoryTaskProperties(org.jbpm.taskmgmt.exe.TaskInstance instance)
instance - task instanceprotected WorkflowPath createWorkflowPath(org.jbpm.graph.exe.Token token)
token - JBoss JBPM TokenwfInstance - node - protected WorkflowPath createWorkflowPath(org.jbpm.graph.exe.Token token, WorkflowInstance wfInstance, WorkflowNode node)
token - JBoss JBPM TokenwfInstance - node - protected WorkflowNode createWorkflowNode(org.jbpm.graph.def.Node node)
node - JBoss JBPM Nodeprotected WorkflowTransition createWorkflowTransition(org.jbpm.graph.def.Transition transition)
transition - JBoss JBPM Transitionprotected WorkflowInstance createWorkflowInstance(org.jbpm.graph.exe.ProcessInstance instance)
protected WorkflowInstance createWorkflowInstance(org.jbpm.graph.exe.ProcessInstance instance, WorkflowDefinition definition, java.util.Date endDate, java.util.Map variables)
instance - JBoss JBPM Process InstanceendDate - variables - protected WorkflowDefinition createWorkflowDefinition(org.jbpm.graph.def.ProcessDefinition definition)
definition - JBoss Process Definitionprotected WorkflowTask createWorkflowTask(org.jbpm.taskmgmt.exe.TaskInstance task)
task - protected WorkflowTaskDefinition createWorkflowTaskDefinition(org.jbpm.taskmgmt.def.Task task)
task - JBoss JBPM Taskprotected WorkflowDeployment createWorkflowDeployment(org.alfresco.repo.workflow.jbpm.JBPMEngine.CompiledProcessDefinition compiledDef)
compiledDef - compiled JBPM process definitionprotected WorkflowTimer createWorkflowTimer(org.jbpm.job.Timer timer)
timer - jBPM Timerprotected WorkflowTaskState getWorkflowTaskState(org.jbpm.taskmgmt.exe.TaskInstance task)
task - taskprotected org.alfresco.service.namespace.QName getDefaultStartTaskType()
getDefaultStartTaskType in class AlfrescoBpmEngineCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.