Class OrgTreeProvider
- java.lang.Object
-
- org.apache.wicket.extensions.markup.html.repeater.util.SortableTreeProvider<TreeSelectableBean<OrgType>,String>
-
- com.evolveum.midpoint.gui.impl.page.admin.org.component.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OrgTreeProvider(org.apache.wicket.Component component, org.apache.wicket.model.IModel<String> rootOid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
detach()
Iterator<? extends TreeSelectableBean<OrgType>>
getChildren(TreeSelectableBean<OrgType> node)
long
getCount()
protected ObjectFilter
getCustomFilter()
long
getOffset()
Iterator<TreeSelectableBean<OrgType>>
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)
-
-
-
Constructor Detail
-
OrgTreeProvider
public OrgTreeProvider(org.apache.wicket.Component component, org.apache.wicket.model.IModel<String> rootOid)
-
-
Method Detail
-
size
public long size(TreeSelectableBean<OrgType> node)
-
getChildren
public Iterator<? extends TreeSelectableBean<OrgType>> getChildren(TreeSelectableBean<OrgType> node)
-
getCustomFilter
protected ObjectFilter getCustomFilter()
-
getRoots
public Iterator<TreeSelectableBean<OrgType>> getRoots()
-
hasChildren
public boolean hasChildren(TreeSelectableBean<OrgType> node)
-
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>
-
-