Package org.hippoecm.frontend.model.tree
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JcrTreeNodeProvider(JcrNodeModel nodeModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
detach()
Iterator<? extends Node>
getChildren(Node node)
Iterator<? extends Node>
getRoots()
boolean
hasChildren(Node node)
org.apache.wicket.model.IModel<Node>
model(Node node)
-
-
-
Constructor Detail
-
JcrTreeNodeProvider
public JcrTreeNodeProvider(JcrNodeModel nodeModel)
-
-
Method Detail
-
getRoots
public Iterator<? extends Node> getRoots()
- Specified by:
getRoots
in interfaceorg.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<Node>
-
hasChildren
public boolean hasChildren(Node node)
- Specified by:
hasChildren
in interfaceorg.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<Node>
-
getChildren
public Iterator<? extends Node> getChildren(Node node)
- Specified by:
getChildren
in interfaceorg.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<Node>
-
model
public org.apache.wicket.model.IModel<Node> model(Node node)
- Specified by:
model
in interfaceorg.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<Node>
-
detach
public void detach()
- Specified by:
detach
in interfaceorg.apache.wicket.model.IDetachable
-
-