com.liferay.portal.kernel.search
Class SortFactoryImpl
java.lang.Object
com.liferay.portal.kernel.search.SortFactoryImpl
- All Implemented Interfaces:
- SortFactory
public class SortFactoryImpl
- extends Object
- implements SortFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SortFactoryImpl
public SortFactoryImpl()
create
public Sort create(String fieldName,
boolean reverse)
- Specified by:
create
in interface SortFactory
create
public Sort create(String fieldName,
int type,
boolean reverse)
- Specified by:
create
in interface SortFactory
getDefaultSorts
public Sort[] getDefaultSorts()
- Specified by:
getDefaultSorts
in interface SortFactory
getSort
public Sort getSort(Class<?> clazz,
String orderByCol,
String orderByType)
- Specified by:
getSort
in interface SortFactory
toArray
public Sort[] toArray(List<Sort> sorts)
- Specified by:
toArray
in interface SortFactory