Class CommercePriceListDisplayDateComparator
java.lang.Object
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList>
com.liferay.commerce.price.list.util.comparator.CommercePriceListDisplayDateComparator
- All Implemented Interfaces:
com.liferay.petra.sql.dsl.query.sort.OrderByInfo,Serializable,Comparator<CommercePriceList>
public class CommercePriceListDisplayDateComparator
extends com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(CommercePriceList commercePriceList1, CommercePriceList commercePriceList2) getInstance(boolean ascending) String[]booleanMethods 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
-
-
Constructor Details
-
CommercePriceListDisplayDateComparator
public CommercePriceListDisplayDateComparator(boolean ascending)
-
-
Method Details
-
getInstance
-
compare
-
getOrderBy
- Overrides:
getOrderByin classcom.liferay.portal.kernel.util.OrderByComparator<CommercePriceList>
-
getOrderByFields
- Specified by:
getOrderByFieldsin interfacecom.liferay.petra.sql.dsl.query.sort.OrderByInfo- Overrides:
getOrderByFieldsin classcom.liferay.portal.kernel.util.OrderByComparator<CommercePriceList>
-
isAscending
public boolean isAscending()- Overrides:
isAscendingin classcom.liferay.portal.kernel.util.OrderByComparator<CommercePriceList>
-