org.apache.wicket.extensions.markup.html.repeater.data.sort
Interface ISortState

All Superinterfaces:
IClusterable, java.io.Serializable
All Known Implementing Classes:
SingleSortState

public interface ISortState
extends IClusterable

Interface used by OrderByLink to interact with any object that keeps track of sorting state

Author:
Igor Vaynberg (ivaynberg)

Method Summary
 SortOrder getPropertySortOrder(java.lang.String property)
          Gets the sort order of a property
 void setPropertySortOrder(java.lang.String property, SortOrder order)
          Sets sort order of the property
 

Method Detail

setPropertySortOrder

void setPropertySortOrder(java.lang.String property,
                          SortOrder order)
Sets sort order of the property

Parameters:
property - the name of the property to sort on
order - sort order

getPropertySortOrder

SortOrder getPropertySortOrder(java.lang.String property)
Gets the sort order of a property

Parameters:
property - sort property to be checked
Returns:
sort order


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.