Class TreeFilterTheme
- java.lang.Object
-
- org.silverpeas.core.web.treemenu.model.TreeFilterTheme
-
- All Implemented Interfaces:
TreeFilter
public class TreeFilterTheme extends Object implements TreeFilter
- Author:
- david derigent authorizes the displaying of themes and only the themes in the tree menu.
-
-
Constructor Summary
Constructors Constructor Description TreeFilterTheme()
-
Method Summary
All Methods Instance Methods Concrete 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
public boolean acceptNodeType(NodeType node)
Description copied from interface:TreeFilter
checks if indicated node type is authorized.- Specified by:
acceptNodeType
in interfaceTreeFilter
- Parameters:
node
- node type to check- Returns:
- true whether the node type is authorized
-
getComponents
public List<String> getComponents()
Description copied from interface:TreeFilter
Gets the list of authorized components- Specified by:
getComponents
in interfaceTreeFilter
- Returns:
-
setComponents
public void setComponents(List<String> componentList)
Description copied from interface:TreeFilter
sets the list of authorized components which can appear in the menu- Specified by:
setComponents
in interfaceTreeFilter
-
-