- All Implemented Interfaces:
- Serializable, org.apache.wicket.extensions.markup.html.repeater.data.sort.ISortStateLocator, org.apache.wicket.extensions.markup.html.repeater.data.table.ISortableDataProvider<T>, org.apache.wicket.IClusterable, org.apache.wicket.markup.repeater.data.IDataProvider<T>, org.apache.wicket.model.IDetachable
public class BufferedSortableDataProvider<T>
extends org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider<T>
Buffers the data and performs iterations etc on the Buffered Data instead of being directly connected
to some datasource. (Acts as a Decorator to another SortableDataProvider
TODO: More work, around Filtering Criteria. Like, its not just about Sub-Sets but Queries etc, how to refresh Buffer
with criteria while its still effective to use as a Buffer as a Singleton?!
TODO: Cache Count
TODO: If query returns no-result, count 0 then only it assumes it should refresh the count. See size(). Need to do it better
- Author:
- Arjun Dhar
- See Also:
- Serialized Form