public class SortFactoryUtil
extends Object
Constructor and Description |
---|
SortFactoryUtil() |
Modifier and Type | Method and Description |
---|---|
static Sort |
create(String fieldName,
boolean reverse) |
static Sort |
create(String fieldName,
int type,
boolean reverse) |
static Sort[] |
getDefaultSorts() |
static Sort |
getSort(Class<?> clazz,
int type,
String orderByCol,
boolean inferSortField,
String orderByType) |
static Sort |
getSort(Class<?> clazz,
int type,
String orderByCol,
String orderByType) |
static Sort |
getSort(Class<?> clazz,
String orderByCol,
String orderByType) |
static SortFactory |
getSortFactory()
Deprecated.
As of Judson (7.1.x), replaced by
_getSortFactory() |
static Sort[] |
toArray(List<Sort> sorts) |
public static Sort create(String fieldName, boolean reverse)
public static Sort create(String fieldName, int type, boolean reverse)
public static Sort[] getDefaultSorts()
public static Sort getSort(Class<?> clazz, int type, String orderByCol, boolean inferSortField, String orderByType)
public static Sort getSort(Class<?> clazz, int type, String orderByCol, String orderByType)
public static Sort getSort(Class<?> clazz, String orderByCol, String orderByType)
@Deprecated public static SortFactory getSortFactory()
_getSortFactory()