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 |
---|---|
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, wait
detach, iterator, model, size
public final ISortState<S> getSortState()
getSortState
in interface ISortStateLocator<S>
public void setSort(SortParam<S> param)
param
- parameter containing new sorting informationCopyright © 2006–2022 Apache Software Foundation. All rights reserved.