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 Object
- Author:
- arussel
JbpmHelper
public JbpmHelper()
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)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.