Interface TreeFilter
-
- All Known Implementing Classes:
TreeFilterDefault
,TreeFilterSeeAlso
,TreeFilterTheme
public interface TreeFilter
Filter interface define the contract service of filtering operations. allow to know what menu element to display.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
acceptNodeType(NodeType node)
checks if indicated node type is authorized.List<String>
getComponents()
Gets the list of authorized componentsvoid
setComponents(List<String> componentList)
sets the list of authorized components which can appear in the menu
-
-
-
Method Detail
-
acceptNodeType
boolean acceptNodeType(NodeType node)
checks if indicated node type is authorized.- Parameters:
node
- node type to check- Returns:
- true whether the node type is authorized
-
setComponents
void setComponents(List<String> componentList)
sets the list of authorized components which can appear in the menu- Parameters:
componentList
-
-
-