Class ListDataProvider<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<T>
-
- com.evolveum.midpoint.gui.impl.component.data.provider.ListDataProvider<T>
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.extensions.markup.html.repeater.data.sort.ISortStateLocator<String>
,org.apache.wicket.extensions.markup.html.repeater.data.table.ISortableDataProvider<T,String>
,org.apache.wicket.markup.repeater.data.IDataProvider<T>
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
public class ListDataProvider<T extends Serializable> extends BaseSortableDataProvider<T>
- 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 ListDataProvider(org.apache.wicket.Component component, org.apache.wicket.model.IModel<List<T>> model)
ListDataProvider(org.apache.wicket.Component component, org.apache.wicket.model.IModel<List<T>> model, boolean sortable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<? extends T>
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
-
-
-
-
Method Detail
-
internalIterator
public Iterator<? extends T> internalIterator(long first, long count)
- Specified by:
internalIterator
in classBaseSortableDataProvider<T extends Serializable>
-
sort
protected <V extends Comparable<V>> void sort(List<T> list)
-
internalSize
protected int internalSize()
- Specified by:
internalSize
in classBaseSortableDataProvider<T extends Serializable>
-
-