Class OrgTreeProvider
java.lang.Object
org.apache.wicket.extensions.markup.html.repeater.util.SortableTreeProvider<TreeSelectableBean<OrgType>,String>
com.evolveum.midpoint.gui.impl.component.data.provider.OrgTreeProvider
- All Implemented Interfaces:
Serializable
,org.apache.wicket.extensions.markup.html.repeater.data.sort.ISortStateLocator<String>
,org.apache.wicket.extensions.markup.html.repeater.tree.ISortableTreeProvider<TreeSelectableBean<OrgType>,
,String> org.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider<TreeSelectableBean<OrgType>>
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
public class OrgTreeProvider
extends org.apache.wicket.extensions.markup.html.repeater.util.SortableTreeProvider<TreeSelectableBean<OrgType>,String>
- Author:
- lazyman
- See Also:
-
Constructor Summary
ConstructorDescriptionOrgTreeProvider
(org.apache.wicket.Component component, org.apache.wicket.model.IModel<String> rootOid) -
Method Summary
Modifier and TypeMethodDescriptionvoid
detach()
Iterator<? extends TreeSelectableBean<OrgType>>
getChildren
(TreeSelectableBean<OrgType> node) long
getCount()
protected ObjectFilter
long
getRoots()
boolean
hasChildren
(TreeSelectableBean<OrgType> node) org.apache.wicket.model.IModel<TreeSelectableBean<OrgType>>
model
(TreeSelectableBean<OrgType> object) void
setCount
(long count) void
setOffset
(long offset) long
size
(TreeSelectableBean<OrgType> node) Methods inherited from class org.apache.wicket.extensions.markup.html.repeater.util.SortableTreeProvider
getSort, getSortState, setSort, setSort
-
Constructor Details
-
OrgTreeProvider
public OrgTreeProvider(org.apache.wicket.Component component, org.apache.wicket.model.IModel<String> rootOid)
-
-
Method Details
-
size
-
getChildren
public Iterator<? extends TreeSelectableBean<OrgType>> getChildren(TreeSelectableBean<OrgType> node) -
getCustomFilter
-
getRoots
-
hasChildren
-
model
public org.apache.wicket.model.IModel<TreeSelectableBean<OrgType>> model(TreeSelectableBean<OrgType> object) -
getOffset
public long getOffset() -
setOffset
public void setOffset(long offset) -
getCount
public long getCount() -
setCount
public void setCount(long count) -
detach
public void detach()- Specified by:
detach
in interfaceorg.apache.wicket.model.IDetachable
- Overrides:
detach
in classorg.apache.wicket.extensions.markup.html.repeater.util.SortableTreeProvider<TreeSelectableBean<OrgType>,
String>
-