Class JcrTreeNodeProvider

java.lang.Object
org.hippoecm.frontend.model.tree.JcrTreeNodeProvider
All Implemented Interfaces:
Serializable, org.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<Node>, org.apache.wicket.model.IDetachable, org.apache.wicket.util.io.IClusterable

public class JcrTreeNodeProvider extends Object implements org.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<Node>
See Also:
  • Constructor Details

    • JcrTreeNodeProvider

      public JcrTreeNodeProvider(JcrNodeModel nodeModel)
  • Method Details

    • getRoots

      public Iterator<? extends Node> getRoots()
      Specified by:
      getRoots in interface org.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<Node>
    • hasChildren

      public boolean hasChildren(Node node)
      Specified by:
      hasChildren in interface org.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<Node>
    • getChildren

      public Iterator<? extends Node> getChildren(Node node)
      Specified by:
      getChildren in interface org.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<Node>
    • model

      public org.apache.wicket.model.IModel<Node> model(Node node)
      Specified by:
      model in interface org.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<Node>
    • detach

      public void detach()
      Specified by:
      detach in interface org.apache.wicket.model.IDetachable