Class WorkflowElementReferenceHelper
- java.lang.Object
-
- de.xima.fc.workflow.designer.helper.WorkflowElementReferenceHelper
-
public final class WorkflowElementReferenceHelper extends Object
Helper for extracting referenced entities of workflow elements (nodes and triggers).- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WorkflowEntityReferencesfindEntityReferences(Mandant client, AssociatesModel associatesModel, FlowchartModel flowchartModel, Predicate<IEntityReferenceDescriptor> filter)Searches all entity references configured in the nodes and triggers settings, and returns all references matching the given predicate.
-
-
-
Method Detail
-
findEntityReferences
public static WorkflowEntityReferences findEntityReferences(Mandant client, AssociatesModel associatesModel, FlowchartModel flowchartModel, Predicate<IEntityReferenceDescriptor> 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 returntrueif 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.
-
-