org.apache.beehive.netui.databinding.datagrid.api.sort
Class SortModel

Object
  extended by SortModel

public class SortModel
extends Object


Constructor Summary
SortModel(List<Sort> sorts)
           
 
Method Summary
 SortDirection getSortDirection(String sortExpression)
           
 List<Sort> getSorts()
           
 SortStrategy getSortStrategy()
           
 boolean isPrimarySort(String sortExpression)
           
 boolean isSorted(String sortExpression)
           
 void setSortStrategy(SortStrategy sortStrategy)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortModel

public SortModel(List<Sort> sorts)
Method Detail

getSortStrategy

public SortStrategy getSortStrategy()

setSortStrategy

public void setSortStrategy(SortStrategy sortStrategy)

getSorts

public List<Sort> getSorts()

isPrimarySort

public boolean isPrimarySort(String sortExpression)

isSorted

public boolean isSorted(String sortExpression)

getSortDirection

public SortDirection getSortDirection(String sortExpression)