Class FormItemSortConfig
- java.lang.Object
-
- fr.paris.lutece.plugins.forms.business.form.FormItemSortConfig
-
public class FormItemSortConfig extends java.lang.ObjectConfiguration class for compare FormResponseItem
-
-
Constructor Summary
Constructors Constructor Description FormItemSortConfig(int nColumnToSortPosition, java.lang.String strSortAttributeName, boolean bAscSort)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumnToSortPosition()Return the position of the column to sortjava.lang.StringgetSortAttributeName()Return the name of the attribute of the column to sortbooleanisAscSort()Return the boolean which tell if the sort of the values of the column must be ascendant or descendant
-
-
-
Constructor Detail
-
FormItemSortConfig
public FormItemSortConfig(int nColumnToSortPosition, java.lang.String strSortAttributeName, boolean bAscSort)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 Detail
-
getColumnToSortPosition
public int getColumnToSortPosition()
Return the position of the column to sort- Returns:
- the position of the column sort
-
getSortAttributeName
public java.lang.String 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
-
-