org.wicketopia.model.table
Class DefaultSortableCollectionDataProvider<T extends Serializable>
java.lang.Object
org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider<T,String>
org.wicketopia.model.table.SortableCollectionDataProvider<T>
org.wicketopia.model.table.DefaultSortableCollectionDataProvider<T>
- Type Parameters:
T
- the item type
- 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 DefaultSortableCollectionDataProvider<T extends Serializable>
- extends SortableCollectionDataProvider<T>
A @{link SortableCollectionDataProvider} which supports @{link Serializable} items.
- Since:
- 1.0
- See Also:
- Serialized Form
Method Summary |
org.apache.wicket.model.IModel<T> |
model(T object)
Returns a @{link Model} object. |
Methods inherited from class org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider |
getSort, getSortState, setSort, setSort |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSortableCollectionDataProvider
public DefaultSortableCollectionDataProvider(org.apache.wicket.model.IModel<? extends Collection<T>> inner)
DefaultSortableCollectionDataProvider
public DefaultSortableCollectionDataProvider(String propertyName,
org.apache.wicket.extensions.markup.html.repeater.data.sort.SortOrder sortOrder,
org.apache.wicket.model.IModel<? extends Collection<? extends T>> inner)
DefaultSortableCollectionDataProvider
public DefaultSortableCollectionDataProvider(String propertyName,
org.apache.wicket.extensions.markup.html.repeater.data.sort.SortOrder sortOrder,
Collection<T> items)
model
public org.apache.wicket.model.IModel<T> model(T object)
- Returns a @{link Model} object.
- Parameters:
object
- the item
- Returns:
- a @{link Model} object
Copyright © 2010-2013. All Rights Reserved.