Package fr.paris.lutece.util.datatable
Class DataTableSort
- java.lang.Object
-
- fr.paris.lutece.util.datatable.DataTableSort
-
public class DataTableSort extends Object
The Class DataTableSort.
-
-
Constructor Summary
Constructors Constructor Description DataTableSort(String strSortKey, boolean bAscSort)Creates a new DataTableSort
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetAscSort()Check if the sort is ascendingStringgetSortKey()Get the sort keyvoidsetAscSort(boolean bAscSort)Set the ascending sort booleanvoidsetSortKey(String strSortKey)Set the sort key
-
-
-
Constructor Detail
-
DataTableSort
public DataTableSort(String strSortKey, boolean bAscSort)
Creates a new DataTableSort- Parameters:
strSortKey- The key of the sortbAscSort- 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
-
-