Interface ISortState<S>
-
- Type Parameters:
S- the type of the sort property
- All Superinterfaces:
org.apache.wicket.util.io.IClusterable,Serializable
- All Known Implementing Classes:
SingleSortState
public interface ISortState<S> extends org.apache.wicket.util.io.IClusterable
Interface used by OrderByLink to interact with any object that keeps track of sorting state- Author:
- Igor Vaynberg (ivaynberg)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SortOrdergetPropertySortOrder(S property)Gets the sort order of a propertyvoidsetPropertySortOrder(S property, SortOrder order)Sets sort order of the property
-
-
-
Method Detail
-
setPropertySortOrder
void setPropertySortOrder(S property, SortOrder order)
Sets sort order of the property- Parameters:
property- the name of the property to sort onorder- sort order
-
getPropertySortOrder
SortOrder getPropertySortOrder(S property)
Gets the sort order of a property- Parameters:
property- sort property to be checked- Returns:
- sort order
-
-