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<javax.jcr.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<javax.jcr.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 javax.jcr.Node>
getChildren(javax.jcr.Node node)
Iterator<? extends javax.jcr.Node>
getRoots()
boolean
hasChildren(javax.jcr.Node node)
org.apache.wicket.model.IModel<javax.jcr.Node>
model(javax.jcr.Node node)
-
-
-
Constructor Detail
-
JcrTreeNodeProvider
public JcrTreeNodeProvider(JcrNodeModel nodeModel)
-
-
Method Detail
-
getRoots
public Iterator<? extends javax.jcr.Node> getRoots()
- Specified by:
getRoots
in interfaceorg.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<javax.jcr.Node>
-
hasChildren
public boolean hasChildren(javax.jcr.Node node)
- Specified by:
hasChildren
in interfaceorg.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<javax.jcr.Node>
-
getChildren
public Iterator<? extends javax.jcr.Node> getChildren(javax.jcr.Node node)
- Specified by:
getChildren
in interfaceorg.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<javax.jcr.Node>
-
model
public org.apache.wicket.model.IModel<javax.jcr.Node> model(javax.jcr.Node node)
- Specified by:
model
in interfaceorg.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<javax.jcr.Node>
-
detach
public void detach()
- Specified by:
detach
in interfaceorg.apache.wicket.model.IDetachable
-
-