Class StagedModelModifiedDateComparator<T extends StagedModel>
Object
com.liferay.portal.kernel.util.OrderByComparator<T>
com.liferay.exportimport.kernel.lar.StagedModelModifiedDateComparator<T>
- All Implemented Interfaces:
com.liferay.petra.sql.dsl.query.sort.OrderByInfo
,Serializable
,Comparator<T>
- Author:
- Daniel Kocsis
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(StagedModel stagedModel1, StagedModel stagedModel2) String[]
boolean
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
-
Field Details
-
ORDER_BY_ASC
- See Also:
-
ORDER_BY_DESC
- See Also:
-
ORDER_BY_FIELDS
-
-
Constructor Details
-
StagedModelModifiedDateComparator
public StagedModelModifiedDateComparator() -
StagedModelModifiedDateComparator
public StagedModelModifiedDateComparator(boolean ascending)
-
-
Method Details
-
compare
-
getOrderBy
- Overrides:
getOrderBy
in classOrderByComparator<T extends StagedModel>
-
getOrderByFields
- Specified by:
getOrderByFields
in interfacecom.liferay.petra.sql.dsl.query.sort.OrderByInfo
- Overrides:
getOrderByFields
in classOrderByComparator<T extends StagedModel>
-
isAscending
public boolean isAscending()- Overrides:
isAscending
in classOrderByComparator<T extends StagedModel>
-