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 java.lang.Object
implements SortFactory

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
SortFactoryImpl()
           
 
Method Summary
 Sort create(java.lang.String fieldName, boolean reverse)
           
 Sort create(java.lang.String fieldName, int type, boolean reverse)
           
 Sort[] getDefaultSorts()
           
 
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(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