Package org.bonitasoft.engine.api.impl
Class TaskInvolvementDelegate
java.lang.Object
org.bonitasoft.engine.api.impl.TaskInvolvementDelegate
- Author:
- Emmanuel Duchastenier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ServiceAccessorbooleanhasUserPendingOrAssignedTasks(long userId, Long processInstanceId) booleanisExecutorOfArchivedTaskOfProcess(long userId, 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)
-
Constructor Details
-
TaskInvolvementDelegate
public TaskInvolvementDelegate()
-
-
Method Details
-
getServiceAccessor
-
isExecutorOfArchivedTaskOfProcess
public boolean isExecutorOfArchivedTaskOfProcess(long userId, 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, 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
-