public class DatasetSortUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXCEPTION_MESSAGE_KEY_SORT_FIELD_NOT_FOUND |
static java.lang.String |
EXCEPTION_MESSAGE_KEY_SORT_VARIABLE_NOT_FOUND |
Constructor and Description |
---|
DatasetSortUtil() |
Modifier and Type | Method and Description |
---|---|
static JRSortField[] |
getAllSortFields(JRFillDataset dataset)
Returns all current sort field criteria, including the dynamic ones provided as report parameter.
|
static SortedDataSource |
getSortedDataSource(BaseReportFiller filler,
JRFillDataset dataset,
java.util.Locale locale) |
static boolean |
needSorting(JRFillDataset dataset) |
public static final java.lang.String EXCEPTION_MESSAGE_KEY_SORT_FIELD_NOT_FOUND
public static final java.lang.String EXCEPTION_MESSAGE_KEY_SORT_VARIABLE_NOT_FOUND
public static JRSortField[] getAllSortFields(JRFillDataset dataset)
public static boolean needSorting(JRFillDataset dataset)
public static SortedDataSource getSortedDataSource(BaseReportFiller filler, JRFillDataset dataset, java.util.Locale locale) throws JRException
JRException
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com