public abstract class ContactDataProvider extends SortableDataProvider<Contact,String>
Constructor and Description |
---|
ContactDataProvider() |
Modifier and Type | Method and Description |
---|---|
protected abstract ContactDao |
getContactDao() |
Iterator<Contact> |
iterator(long first,
long count)
Gets an iterator for the subset of total data
|
long |
size()
Gets total number of items in the collection represented by the DataProvider
|
detach, getSort, getSortState, setSort, setSort
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
model
protected abstract ContactDao getContactDao()
public final Iterator<Contact> iterator(long first, long count)
IDataProvider
first
- first row of datacount
- minimum number of elements to retrievepublic final long size()
IDataProvider
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.