Nuxeo ECM Projects 5.4.3-SNAPSHOT

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 Object

Author:
arussel

Constructor Summary
JbpmHelper()
           
 
Method Summary
 String createProcessInstance(NuxeoPrincipal principal, String pd, DocumentModel dm, String endLifeCycle)
           
 JbpmService getJbpmService()
           
 List<String> getPooledActorIds(TaskInstance task)
           
 boolean isTaskAssignedToUser(TaskInstance task, NuxeoPrincipal user)
           
 boolean processHasRunningTask(ProcessInstance pi, String taskName)
           
 String updateProcessVariable(ProcessInstance pi, String variableName, 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 Exception
Throws:
Exception

createProcessInstance

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

updateProcessVariable

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

processHasRunningTask

public boolean processHasRunningTask(ProcessInstance pi,
                                     String taskName)

isTaskAssignedToUser

public boolean isTaskAssignedToUser(TaskInstance task,
                                    NuxeoPrincipal user)

getPooledActorIds

public List<String> getPooledActorIds(TaskInstance task)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.