Class DataTableSort

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

public class DataTableSort extends Object
The Class DataTableSort.
  • Constructor Details

    • 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 Details

    • 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