Class DDLRecordModifiedDateComparator
java.lang.Object
com.liferay.portal.kernel.util.OrderByComparator<T>
com.liferay.exportimport.kernel.lar.StagedModelModifiedDateComparator<DDLRecord>
com.liferay.dynamic.data.lists.util.comparator.DDLRecordModifiedDateComparator
- All Implemented Interfaces:
com.liferay.petra.sql.dsl.query.sort.OrderByInfo
,Serializable
,Comparator<DDLRecord>
public class DDLRecordModifiedDateComparator
extends com.liferay.exportimport.kernel.lar.StagedModelModifiedDateComparator<DDLRecord>
Used to order records according to their modified dates during listing
operations. The order can be ascending or descending and is defined by the
value specified in the class constructor.
-
Field Summary
Fields inherited from class com.liferay.exportimport.kernel.lar.StagedModelModifiedDateComparator
ORDER_BY_ASC, ORDER_BY_DESC, ORDER_BY_FIELDS
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.liferay.exportimport.kernel.lar.StagedModelModifiedDateComparator
compare, getOrderByFields, isAscending
Methods inherited from class com.liferay.portal.kernel.util.OrderByComparator
getOrderByConditionFields, getOrderByConditionValues, isAscending, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
DDLRecordModifiedDateComparator
public DDLRecordModifiedDateComparator() -
DDLRecordModifiedDateComparator
public DDLRecordModifiedDateComparator(boolean ascending)
-
-
Method Details
-
getOrderBy
- Overrides:
getOrderBy
in classcom.liferay.exportimport.kernel.lar.StagedModelModifiedDateComparator<DDLRecord>
-