Class FormItemSortConfig
java.lang.Object
fr.paris.lutece.plugins.forms.business.form.FormItemSortConfig
Configuration class for compare FormResponseItem
-
Constructor Summary
ConstructorsConstructorDescriptionFormItemSortConfig(int nColumnToSortPosition, String strSortAttributeName, boolean bAscSort) Constructor -
Method Summary
Modifier and TypeMethodDescriptionintReturn the position of the column to sortReturn the name of the attribute of the column to sortbooleanReturn the boolean which tell if the sort of the values of the column must be ascendant or descendant
-
Constructor Details
-
FormItemSortConfig
Constructor- Parameters:
nColumnToSortPosition- The position of the column to sortstrSortAttributeName- The name of the attribute of the column to sortbAscSort- The boolean which tell if the sort must be ascendant or descendant
-
-
Method Details
-
getColumnToSortPosition
public int getColumnToSortPosition()Return the position of the column to sort- Returns:
- the position of the column sort
-
getSortAttributeName
Return the name of the attribute of the column to sort- Returns:
- the name of the attribute of the column to sort
-
isAscSort
public boolean isAscSort()Return the boolean which tell if the sort of the values of the column must be ascendant or descendant- Returns:
- the boolean which tell if the values of the column must be ascendant or descendant
-