Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.jbpm.web
Class JbpmHelper

java.lang.Object
  extended by org.nuxeo.ecm.platform.jbpm.web.JbpmHelper

@Name(value="jbpmHelper")
@Scope(value=STATELESS)
@Install(precedence=10)
public class JbpmHelper
extends java.lang.Object

Author:
arussel

Constructor Summary
JbpmHelper()
           
 
Method Summary
 java.lang.String createProcessInstance(NuxeoPrincipal principal, java.lang.String pd, DocumentModel dm, java.lang.String endLifeCycle)
           
 JbpmService getJbpmService()
           
 java.util.List<java.lang.String> getPooledActorIds(TaskInstance task)
           
 boolean isTaskAssignedToUser(TaskInstance task, NuxeoPrincipal user)
           
 boolean processHasRunningTask(ProcessInstance pi, java.lang.String taskName)
           
 java.lang.String updateProcessVariable(ProcessInstance pi, java.lang.String variableName, java.lang.Object variableValue)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JbpmHelper

public JbpmHelper()
Method Detail

getJbpmService

public JbpmService getJbpmService()
                           throws java.lang.Exception
Throws:
java.lang.Exception

createProcessInstance

public java.lang.String createProcessInstance(NuxeoPrincipal principal,
                                              java.lang.String pd,
                                              DocumentModel dm,
                                              java.lang.String endLifeCycle)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

updateProcessVariable

public java.lang.String updateProcessVariable(ProcessInstance pi,
                                              java.lang.String variableName,
                                              java.lang.Object variableValue)
                                       throws NuxeoJbpmException,
                                              java.lang.Exception
Throws:
NuxeoJbpmException
java.lang.Exception

processHasRunningTask

public boolean processHasRunningTask(ProcessInstance pi,
                                     java.lang.String taskName)

isTaskAssignedToUser

public boolean isTaskAssignedToUser(TaskInstance task,
                                    NuxeoPrincipal user)

getPooledActorIds

public java.util.List<java.lang.String> getPooledActorIds(TaskInstance task)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.