Package org.bonitasoft.engine.api.impl
Class TaskInvolvementDelegate
- java.lang.Object
-
- org.bonitasoft.engine.api.impl.TaskInvolvementDelegate
-
public class TaskInvolvementDelegate extends java.lang.Object- Author:
- Emmanuel Duchastenier
-
-
Constructor Summary
Constructors Constructor Description TaskInvolvementDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TenantServiceAccessorgetTenantServiceAccessor()booleanhasUserPendingOrAssignedTasks(long userId, java.lang.Long processInstanceId)booleanisExecutorOfArchivedTaskOfProcess(long userId, java.lang.Long rootProcessInstanceId)booleanisInvolvedInHumanTaskInstance(long userId, long humanTaskInstanceId)org.bonitasoft.engine.search.SearchResult<org.bonitasoft.engine.bpm.flownode.HumanTaskInstance>searchPendingTasksManagedBy(long managerUserId, org.bonitasoft.engine.search.SearchOptions searchOptions)
-
-
-
Method Detail
-
getTenantServiceAccessor
protected TenantServiceAccessor getTenantServiceAccessor()
-
isExecutorOfArchivedTaskOfProcess
public boolean isExecutorOfArchivedTaskOfProcess(long userId, java.lang.Long rootProcessInstanceId) throws SBonitaReadException- Throws:
SBonitaReadException
-
isInvolvedInHumanTaskInstance
public boolean isInvolvedInHumanTaskInstance(long userId, long humanTaskInstanceId) throws org.bonitasoft.engine.bpm.flownode.ActivityInstanceNotFoundException- Throws:
org.bonitasoft.engine.bpm.flownode.ActivityInstanceNotFoundException
-
hasUserPendingOrAssignedTasks
public boolean hasUserPendingOrAssignedTasks(long userId, java.lang.Long processInstanceId) throws SExecutionException- Throws:
SExecutionException
-
searchPendingTasksManagedBy
public org.bonitasoft.engine.search.SearchResult<org.bonitasoft.engine.bpm.flownode.HumanTaskInstance> searchPendingTasksManagedBy(long managerUserId, org.bonitasoft.engine.search.SearchOptions searchOptions) throws org.bonitasoft.engine.exception.SearchException- Throws:
org.bonitasoft.engine.exception.SearchException
-
-