fr.paris.lutece.util.datatable
Class DataTableSort

java.lang.Object
  extended by fr.paris.lutece.util.datatable.DataTableSort

public class DataTableSort
extends Object

The Class DataTableSort.


Constructor Summary
protected DataTableSort()
          Private constructor
  DataTableSort(String strSortKey, boolean bAscSort)
          Creates a new DataTableSort
 
Method Summary
 boolean getAscSort()
          Check if the sort is ascending
 String getSortKey()
          Get the sort key
 void setAscSort(boolean bAscSort)
          Set the ascending sort boolean
 void setSortKey(String strSortKey)
          Set the sort key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataTableSort

protected DataTableSort()
Private constructor


DataTableSort

public DataTableSort(String strSortKey,
                     boolean bAscSort)
Creates a new DataTableSort

Parameters:
strSortKey - The key of the sort
bAscSort - True if the sort is ascending, false otherwise
Method Detail

getSortKey

public String getSortKey()
Get the sort key

Returns:
The sort key

setSortKey

public void setSortKey(String strSortKey)
Set the sort key

Parameters:
strSortKey - The sort key

getAscSort

public boolean getAscSort()
Check if the sort is ascending

Returns:
True if the sort is ascending, false otherwise

setAscSort

public void setAscSort(boolean bAscSort)
Set the ascending sort boolean

Parameters:
bAscSort - True if the sort is ascending, false otherwise


Copyright © 2014 Mairie de Paris. All Rights Reserved.