|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wicket.extensions.markup.html.repeater.data.EmptyDataProvider
A convienience class to represent an empty data provider.
Nested Class Summary |
Nested classes inherited from class wicket.extensions.markup.html.repeater.data.sort.ISortableDataProvider |
ISortableDataProvider.SortState |
Constructor Summary | |
EmptyDataProvider()
|
Method Summary | |
void |
addSort(java.lang.String property)
Adds the field to the end of the sort list. |
static EmptyDataProvider |
getInstance()
|
java.util.List |
getSortList()
|
ISortableDataProvider.SortState |
getSortState(java.lang.String property)
Gets the sort state of a property |
java.util.Iterator |
iterator(int first,
int count)
Gets an iterator for the subset of total data |
wicket.model.IModel |
model(java.lang.Object object)
Converts the object in the collection to its model representation. |
int |
size()
Gets total number of items in the collection represented by the DataProvider |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EmptyDataProvider()
Method Detail |
public static EmptyDataProvider getInstance()
public void addSort(java.lang.String property)
ISortableDataProvider
addSort
in interface ISortableDataProvider
property
- the name of the property to sort onISortableDataProvider.addSort(java.lang.String)
public java.util.List getSortList()
getSortList
in interface ISortableDataProvider
ISortableDataProvider.getSortList()
public ISortableDataProvider.SortState getSortState(java.lang.String property)
ISortableDataProvider
getSortState
in interface ISortableDataProvider
property
- sort property to be checked
ISortableDataProvider.getSortState(java.lang.String)
public java.util.Iterator iterator(int first, int count)
IDataProvider
iterator
in interface IDataProvider
first
- first row of datacount
- minumum number of elements to retrieve
IDataProvider.iterator(int, int)
public int size()
IDataProvider
size
in interface IDataProvider
IDataProvider.size()
public wicket.model.IModel model(java.lang.Object object)
IDataProvider
model
in interface IDataProvider
object
- the object that needs to be wrapped
IDataProvider.model(java.lang.Object)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |