org.nuxeo.ecm.platform.jbpm.web
Class JbpmHelper
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JbpmHelper
public JbpmHelper()
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)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.