Class EventTaskLocator
- java.lang.Object
-
- de.xima.fc.workflow.processor.logic.event.EventTaskLocator
-
public final class EventTaskLocator extends Object
Helper for locating the workflow tasks that apply to a certain event.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<Projekt,Map<Vorgang,List<IWorkflowQueueItem>>>
findTasksToRun(IEntityContext ec, IWorkflowEventData eventData)
Finds all task that apply to the given event data.static Map<Projekt,Map<Vorgang,List<IWorkflowQueueItem>>>
findTasksToRun(IWorkflowEventData eventData)
Finds all task that apply to the given event data.static List<IWorkflowQueueItem>
findTasksToRunForFormRecord(IEntityContext ec, IFormRecordProvidingEvent eventData)
Finds all task that apply to the given form record event data.static List<IWorkflowQueueItem>
findTasksToRunForFormRecord(IFormRecordProvidingEvent eventData)
Finds all task that apply to the given form record event data.
-
-
-
Method Detail
-
findTasksToRun
public static Map<Projekt,Map<Vorgang,List<IWorkflowQueueItem>>> findTasksToRun(IEntityContext ec, IWorkflowEventData eventData)
Finds all task that apply to the given event data.- Parameters:
eventData
- Event data to process.- Returns:
- All tasks that apply to the given event data. Grouped by the project and form record they apply to.
-
findTasksToRun
public static Map<Projekt,Map<Vorgang,List<IWorkflowQueueItem>>> findTasksToRun(IWorkflowEventData eventData)
Finds all task that apply to the given event data.- Parameters:
eventData
- Event data to process.- Returns:
- All tasks that apply to the given event data. Grouped by the project and form record they apply to.
-
findTasksToRunForFormRecord
public static List<IWorkflowQueueItem> findTasksToRunForFormRecord(IEntityContext ec, IFormRecordProvidingEvent eventData)
Finds all task that apply to the given form record event data.- Parameters:
eventData
- Event data to process.- Returns:
- All tasks that apply to the given form record event data.
-
findTasksToRunForFormRecord
public static List<IWorkflowQueueItem> findTasksToRunForFormRecord(IFormRecordProvidingEvent eventData)
Finds all task that apply to the given form record event data.- Parameters:
eventData
- Event data to process.- Returns:
- All tasks that apply to the given form record event data.
-
-