Package com.liferay.portal.kernel.util
Class OrderByComparatorFactoryUtil.DefaultOrderByComparator<T extends BaseModel<T>>
Object
com.liferay.portal.kernel.util.OrderByComparator<T>
com.liferay.portal.kernel.util.OrderByComparatorFactoryUtil.DefaultOrderByComparator<T>
- All Implemented Interfaces:
com.liferay.petra.sql.dsl.query.sort.OrderByInfo,Serializable,Comparator<T>
- Enclosing class:
- OrderByComparatorFactoryUtil
protected static class OrderByComparatorFactoryUtil.DefaultOrderByComparator<T extends BaseModel<T>>
extends OrderByComparator<T>
- See Also:
-
Method Summary
Methods inherited from class com.liferay.portal.kernel.util.OrderByComparator
getOrderByConditionFields, getOrderByConditionValues, getOrderByFields, isAscending, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Method Details
-
compare
-
getOrderBy
- Overrides:
getOrderByin classOrderByComparator<T extends BaseModel<T>>
-
isAscending
- Specified by:
isAscendingin interfacecom.liferay.petra.sql.dsl.query.sort.OrderByInfo- Overrides:
isAscendingin classOrderByComparator<T extends BaseModel<T>>
-