public interface SortFactory
Modifier and Type | Method and Description |
---|---|
Sort |
create(String fieldName,
boolean reverse) |
Sort |
create(String fieldName,
int type,
boolean reverse) |
Sort[] |
getDefaultSorts() |
Sort |
getSort(Class<?> clazz,
int type,
String orderByCol,
boolean inferSortField,
String orderByType) |
Sort |
getSort(Class<?> clazz,
int type,
String orderByCol,
String orderByType) |
Sort |
getSort(Class<?> clazz,
String orderByCol,
String orderByType) |
Sort[] |
toArray(List<Sort> sorts) |
Sort create(String fieldName, boolean reverse)
Sort create(String fieldName, int type, boolean reverse)
Sort[] getDefaultSorts()
Sort getSort(Class<?> clazz, int type, String orderByCol, boolean inferSortField, String orderByType)
Sort getSort(Class<?> clazz, int type, String orderByCol, String orderByType)
Sort getSort(Class<?> clazz, String orderByCol, String orderByType)