|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider org.apache.wicket.examples.spring.common.web.ContactDataProvider
public abstract class ContactDataProvider
Base class for contact data provider implementations. This class implements everything except retrieval of the dao object, this way we can isolate that for our examples.
Constructor Summary | |
---|---|
ContactDataProvider()
|
Method Summary | |
---|---|
protected abstract ContactDao |
getContactDao()
|
java.util.Iterator |
iterator(int first,
int count)
Gets an iterator for the subset of total data |
int |
size()
Gets total number of items in the collection represented by the DataProvider |
Methods inherited from class org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider |
---|
detach, 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 |
---|
model |
Constructor Detail |
---|
public ContactDataProvider()
Method Detail |
---|
protected abstract ContactDao getContactDao()
public final java.util.Iterator iterator(int first, int count)
IDataProvider
first
- first row of datacount
- minimum number of elements to retrieve
public final int size()
IDataProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |