Interface NodeFilter


public interface NodeFilter
A filter for nodes, filtering occurs after node retrieval and is applied once nodes are loaded.
Version:
$Revision$
Author:
Julien Viet
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(int depth, String id, String name, NodeState state)
    Returns a value indicating whether or not the node should be visible or not in the user interface.
    boolean
     
  • Method Details

    • accept

      boolean accept(int depth, String id, String name, NodeState state)
      Returns a value indicating whether or not the node should be visible or not in the user interface.
      Parameters:
      depth - the node depth
      id - the node id
      name - the node name
      state - the node state
      Returns:
      the accept value
    • isHideOnlyPage

      boolean isHideOnlyPage()
      Returns:
      true if the node should be hidden only when not having access to page and not having children, else false