Class SelectableListDataProvider<W extends Serializable,T extends Serializable>
- java.lang.Object
-
- org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider<T,String>
-
- com.evolveum.midpoint.gui.impl.component.data.provider.BaseSortableDataProvider<W>
-
- com.evolveum.midpoint.gui.impl.component.data.provider.SelectableListDataProvider<W,T>
-
- All Implemented Interfaces:
ISelectableDataProvider<W>
,Serializable
,org.apache.wicket.extensions.markup.html.repeater.data.sort.ISortStateLocator<String>
,org.apache.wicket.extensions.markup.html.repeater.data.table.ISortableDataProvider<W,String>
,org.apache.wicket.markup.repeater.data.IDataProvider<W>
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
ObjectClassDataProvider
public class SelectableListDataProvider<W extends Serializable,T extends Serializable> extends BaseSortableDataProvider<W> implements ISelectableDataProvider<W>
- Author:
- lazyman
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.gui.impl.component.data.provider.BaseSortableDataProvider
BaseSortableDataProvider.CachedSize
-
-
Constructor Summary
Constructors Constructor Description SelectableListDataProvider(org.apache.wicket.Component Component, boolean useCache, boolean useDefaultSortingField)
SelectableListDataProvider(org.apache.wicket.Component Component, org.apache.wicket.model.IModel<List<T>> model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected W
createObjectWrapper(T object)
List<T>
getListFromModel()
protected org.apache.wicket.model.IModel<List<T>>
getModel()
Iterator<W>
internalIterator(long first, long count)
protected int
internalSize()
protected <V extends Comparable<V>>
voidsort(List<T> list)
-
Methods inherited from class com.evolveum.midpoint.gui.impl.component.data.provider.BaseSortableDataProvider
addCachedSize, checkOrderingSettings, clearCache, createObjectOrderings, createPaging, getAuditService, getAvailableData, getCachedSize, getDefaultOptionsBuilder, getDefaultSortOrder, getDefaultSortParam, getDistinctRelatedOptions, getDistinctRelatedOptionsBuilder, getModelInteractionService, getModelService, getOperationOptionsBuilder, getOperationOptionsBuilder, getPageBase, getPageStorage, getPrismContext, getQuery, getRelationRegistry, getSchemaService, getTaskManager, isDistinct, isOrderingDisabled, isSizeAvailableModel, isUseCache, iterator, model, saveProviderPaging, setExportSize, setQuery, size
-
Methods inherited from class org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider
getSort, getSortState, setSort, setSort
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.wicket.markup.repeater.data.IDataProvider
detach, iterator, model, size
-
Methods inherited from interface com.evolveum.midpoint.gui.api.component.data.provider.ISelectableDataProvider
setQuery
-
-
-
-
Constructor Detail
-
SelectableListDataProvider
public SelectableListDataProvider(org.apache.wicket.Component Component, org.apache.wicket.model.IModel<List<T>> model)
-
SelectableListDataProvider
public SelectableListDataProvider(org.apache.wicket.Component Component, boolean useCache, boolean useDefaultSortingField)
-
-
Method Detail
-
internalIterator
public Iterator<W> internalIterator(long first, long count)
- Specified by:
internalIterator
in classBaseSortableDataProvider<W extends Serializable>
-
sort
protected <V extends Comparable<V>> void sort(List<T> list)
-
internalSize
protected int internalSize()
- Specified by:
internalSize
in classBaseSortableDataProvider<W extends Serializable>
-
-