com.liferay.portal.kernel.search
Class SortFactoryImpl
java.lang.Object
com.liferay.portal.kernel.search.SortFactoryImpl
- All Implemented Interfaces:
- SortFactory
public class SortFactoryImpl
- extends java.lang.Object
- implements SortFactory
- Author:
- Brian Wing Shun Chan, Raymond Augé, Hugo Huijser
| 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(java.lang.String fieldName,
boolean reverse)
- Specified by:
create in interface SortFactory
create
public Sort create(java.lang.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(java.lang.Class<?> clazz,
java.lang.String orderByCol,
java.lang.String orderByType)
- Specified by:
getSort in interface SortFactory
toArray
public Sort[] toArray(java.util.List<Sort> sorts)
- Specified by:
toArray in interface SortFactory