findEntityReferences
public static WorkflowEntityReferences findEntityReferences(Mandant client,
Projekt project,
AssociatesModel associatesModel,
FlowchartModel flowchartModel,
Predicate<IObjectReferenceDescriptor> filter)
Searches all entity references configured in the nodes and triggers settings, and returns all references matching
the given predicate.
- Parameters:
client - Current client for retrieving node and trigger plugins.
associatesModel - Current associates model for fetching derived properties.
flowchartModel - Current flowchart model with the nodes and triggers.
filter - Predicate that is given a reference and must return true if that reference is to be
included in the returned result.
- Returns:
- All references for which the predicate returned
true, together with the nodes and triggers that
contain that reference.