Class DDLRecordCreateDateComparator
java.lang.Object
com.liferay.portal.kernel.util.OrderByComparator<DDLRecord>
com.liferay.dynamic.data.lists.util.comparator.DDLRecordCreateDateComparator
- All Implemented Interfaces:
com.liferay.petra.sql.dsl.query.sort.OrderByInfo,Serializable,Comparator<DDLRecord>
public class DDLRecordCreateDateComparator
extends com.liferay.portal.kernel.util.OrderByComparator<DDLRecord>
Used to order records according to their created date during listing
operations. The order can be ascending or descending and is defined by the
value specified in the class constructor.
- See Also:
-
Field Summary
Fields -
Method Summary
Methods inherited from class com.liferay.portal.kernel.util.OrderByComparator
getOrderByConditionFields, getOrderByConditionValues, 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
-
Field Details
-
ORDER_BY_ASC
- See Also:
-
ORDER_BY_DESC
- See Also:
-
ORDER_BY_FIELDS
-
-
Method Details
-
getInstance
-
compare
-
getOrderBy
- Overrides:
getOrderByin classcom.liferay.portal.kernel.util.OrderByComparator<DDLRecord>
-
getOrderByFields
- Specified by:
getOrderByFieldsin interfacecom.liferay.petra.sql.dsl.query.sort.OrderByInfo- Overrides:
getOrderByFieldsin classcom.liferay.portal.kernel.util.OrderByComparator<DDLRecord>
-
isAscending
public boolean isAscending()- Overrides:
isAscendingin classcom.liferay.portal.kernel.util.OrderByComparator<DDLRecord>
-