public class AnnounceSort extends Object
Modifier and Type | Field and Description |
---|---|
static AnnounceSort |
DEFAULT_SORT
Default sort to use
|
static String |
SORT_DATE_CREATION
Sort by creation date
|
static String |
SORT_DATE_MODIFICATION
Sort by modification date
|
static String |
SORT_DATE_PUBLICATION
Sort by creation date
|
static String |
SORT_DESCRIPTION
Sort by description
|
static String |
SORT_PRICE
Sort by price
|
static String |
SORT_TITLE
Sort by title
|
Modifier and Type | Method and Description |
---|---|
static AnnounceSort |
getAnnounceSort(String strSort,
boolean bSortAsc)
Get an announce sort from a string of the name of the column to sort
|
boolean |
getSortAsc()
Get the name of the sorted column
|
String |
getSortColumn()
Get the name of the sorted column
|
public static final String SORT_DATE_CREATION
public static final String SORT_DATE_PUBLICATION
public static final String SORT_DATE_MODIFICATION
public static final String SORT_TITLE
public static final String SORT_PRICE
public static final String SORT_DESCRIPTION
public static final AnnounceSort DEFAULT_SORT
public String getSortColumn()
public boolean getSortAsc()
public static AnnounceSort getAnnounceSort(String strSort, boolean bSortAsc)
strSort
- The name of the column to sortbSortAsc
- True to sort ascending false otherwiseCopyright © 2019 City of Paris. All rights reserved.