Package org.bonitasoft.engine.api.impl
Class ProcessInvolvementDelegate
- java.lang.Object
-
- org.bonitasoft.engine.api.impl.ProcessInvolvementDelegate
-
public class ProcessInvolvementDelegate extends java.lang.Object- Author:
- Emmanuel Duchastenier
-
-
Constructor Summary
Constructors Constructor Description ProcessInvolvementDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bonitasoft.engine.bpm.process.ArchivedProcessInstancegetLastArchivedProcessInstance(long processInstanceId)protected TenantServiceAccessorgetTenantServiceAccessor()booleanisInvolvedInProcessInstance(long userId, long processInstanceId)booleanisManagerOfUserInvolvedInProcessInstance(long managerUserId, long processInstanceId)booleanisProcessOrArchivedProcessInitiator(long userId, long processInstanceId)
-
-
-
Method Detail
-
getTenantServiceAccessor
protected TenantServiceAccessor getTenantServiceAccessor()
-
isInvolvedInProcessInstance
public boolean isInvolvedInProcessInstance(long userId, long processInstanceId) throws org.bonitasoft.engine.bpm.process.ProcessInstanceNotFoundException- Throws:
org.bonitasoft.engine.bpm.process.ProcessInstanceNotFoundException
-
isProcessOrArchivedProcessInitiator
public boolean isProcessOrArchivedProcessInitiator(long userId, long processInstanceId) throws org.bonitasoft.engine.bpm.process.ProcessInstanceNotFoundException- Throws:
org.bonitasoft.engine.bpm.process.ProcessInstanceNotFoundException
-
isManagerOfUserInvolvedInProcessInstance
public boolean isManagerOfUserInvolvedInProcessInstance(long managerUserId, long processInstanceId) throws org.bonitasoft.engine.exception.BonitaException- Throws:
org.bonitasoft.engine.exception.BonitaException
-
getLastArchivedProcessInstance
public org.bonitasoft.engine.bpm.process.ArchivedProcessInstance getLastArchivedProcessInstance(long processInstanceId) throws SBonitaException- Throws:
SBonitaException
-
-