com.liferay.portal.kernel.search
Interface SortFactory
- All Known Implementing Classes:
- SortFactoryImpl
public interface SortFactory
Method Summary |
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)
|
create
Sort create(String fieldName,
boolean reverse)
create
Sort create(String fieldName,
int type,
boolean reverse)
getDefaultSorts
Sort[] getDefaultSorts()
getSort
Sort getSort(Class<?> clazz,
int type,
String orderByCol,
boolean inferSortField,
String orderByType)
getSort
Sort getSort(Class<?> clazz,
int type,
String orderByCol,
String orderByType)
getSort
Sort getSort(Class<?> clazz,
String orderByCol,
String orderByType)
toArray
Sort[] toArray(List<Sort> sorts)