Package fr.paris.lutece.util.datatable
Class DataTableSort
java.lang.Object
fr.paris.lutece.util.datatable.DataTableSort
The Class DataTableSort.
-
Constructor Summary
ConstructorsConstructorDescriptionDataTableSort(String strSortKey, boolean bAscSort) Creates a new DataTableSort -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if the sort is ascendingGet the sort keyvoidsetAscSort(boolean bAscSort) Set the ascending sort booleanvoidsetSortKey(String strSortKey) Set the sort key
-
Constructor Details
-
DataTableSort
Creates a new DataTableSort- Parameters:
strSortKey- The key of the sortbAscSort- True if the sort is ascending, false otherwise
-
-
Method Details
-
getSortKey
Get the sort key- Returns:
- The sort key
-
setSortKey
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
-