Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.search
Class SortFactoryImpl

java.lang.Object
  extended by com.liferay.portal.kernel.search.SortFactoryImpl
All Implemented Interfaces:
SortFactory

public class SortFactoryImpl
extends Object
implements SortFactory


Constructor Summary
SortFactoryImpl()
           
 
Method Summary
 Sort create(String fieldName, boolean reverse)
           
 Sort create(String fieldName, int type, boolean reverse)
           
 Sort[] getDefaultSorts()
           
 Sort getSort(Class<?> clazz, String orderByCol, String orderByType)
           
 Sort[] toArray(List<Sort> sorts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortFactoryImpl

public SortFactoryImpl()
Method Detail

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

Liferay 6.1.2-ce-ga3