Package com.hybris.cockpitng.tree.node
Interface SearchableDynamicNodePopulator
-
- All Superinterfaces:
DynamicNodePopulator
public interface SearchableDynamicNodePopulator extends DynamicNodePopulator
DynamicNodePopulatorcapable of searching for nodes it generates via text-based query
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.util.List<NavigationNode>getChildren(DynamicNode root, java.lang.String filterString)java.util.List<NavigationNode>getChildren(DynamicNode root, java.lang.String filterString, boolean caseSensitive, TreeUtils.MatchMode matchMode)-
Methods inherited from interface com.hybris.cockpitng.tree.node.DynamicNodePopulator
getChildren
-
-
-
-
Method Detail
-
getChildren
default java.util.List<NavigationNode> getChildren(DynamicNode root, java.lang.String filterString)
- Parameters:
root- root node from which the lookup should start, it must be a node generated by the populatorfilterString- filtering string, default implementation assumes case-insensitive lookup and match-mode based onTreeUtils.MatchMode.CONTAINSoperator- Returns:
- list of root nodes being the top nodes of sub-trees belonging to hte search result
-
getChildren
java.util.List<NavigationNode> getChildren(DynamicNode root, java.lang.String filterString, boolean caseSensitive, TreeUtils.MatchMode matchMode)
- Parameters:
root- root node from which the lookup should start, it must be a node generated by the populatorfilterString- filtering stringcaseSensitive- if set to true the search should be case-sensitivematchMode- match-mode for the lookup as defined byTreeUtils.MatchMode- Returns:
- list of root nodes being the top nodes of sub-trees belonging to hte search result
-
-