T - S - the type of the sorting parameterpublic abstract class SortableDataProvider<T,S> extends Object implements ISortableDataProvider<T,S>
SingleSortState object.
Most times it is convenient to keep sort and filtering information inside the data provider
implementation because it makes that information easy to access within the data provider.| Constructor and Description |
|---|
SortableDataProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
detach() |
SortParam<S> |
getSort()
Returns current sort state
|
ISortState<S> |
getSortState() |
void |
setSort(SortParam<S> param)
Sets the current sort state
|
void |
setSort(S property,
SortOrder order)
Sets the current sort state
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waititerator, model, sizepublic final ISortState<S> getSortState()
getSortState in interface ISortStateLocator<S>ISortStateLocator.getSortState()public void setSort(SortParam<S> param)
param - parameter containing new sorting informationpublic void setSort(S property, SortOrder order)
property - sort propertyorder - sort orderpublic void detach()
detach in interface IDetachableIDetachable.detach()Copyright © 2006–2015 Apache Software Foundation. All rights reserved.