com.liferay.portal.kernel.search
Class Sort
java.lang.Object
com.liferay.portal.kernel.search.Sort
- All Implemented Interfaces:
- Serializable
public class Sort
- extends Object
- implements Serializable
- See Also:
- Serialized Form
AUTO_TYPE
public static final int AUTO_TYPE
- See Also:
- Constant Field Values
CUSTOM_TYPE
public static final int CUSTOM_TYPE
- See Also:
- Constant Field Values
DOC_TYPE
public static final int DOC_TYPE
- See Also:
- Constant Field Values
DOUBLE_TYPE
public static final int DOUBLE_TYPE
- See Also:
- Constant Field Values
FLOAT_TYPE
public static final int FLOAT_TYPE
- See Also:
- Constant Field Values
INT_TYPE
public static final int INT_TYPE
- See Also:
- Constant Field Values
LONG_TYPE
public static final int LONG_TYPE
- See Also:
- Constant Field Values
SCORE_TYPE
public static final int SCORE_TYPE
- See Also:
- Constant Field Values
STRING_TYPE
public static final int STRING_TYPE
- See Also:
- Constant Field Values
Sort
public Sort()
Sort
public Sort(String fieldName,
boolean reverse)
Sort
public Sort(String fieldName,
int type,
boolean reverse)
getFieldName
public String getFieldName()
getType
public int getType()
isReverse
public boolean isReverse()
setFieldName
public void setFieldName(String fieldName)
setReverse
public void setReverse(boolean reverse)
setType
public void setType(int type)
toString
public String toString()
- Overrides:
toString
in class Object