Class PushNotificationsDevicePlatformComparator
java.lang.Object
com.liferay.portal.kernel.util.OrderByComparator<PushNotificationsDevice>
com.liferay.push.notifications.util.comparator.PushNotificationsDevicePlatformComparator
- All Implemented Interfaces:
com.liferay.petra.sql.dsl.query.sort.OrderByInfo
,Serializable
,Comparator<PushNotificationsDevice>
public class PushNotificationsDevicePlatformComparator
extends com.liferay.portal.kernel.util.OrderByComparator<PushNotificationsDevice>
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(PushNotificationsDevice pushNotificationsDevice1, PushNotificationsDevice pushNotificationsDevice2) getInstance
(boolean ascending) 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
-
ORDER_BY_DESC
-
ORDER_BY_FIELDS
-
-
Method Details
-
getInstance
-
compare
public int compare(PushNotificationsDevice pushNotificationsDevice1, PushNotificationsDevice pushNotificationsDevice2) -
getOrderBy
- Overrides:
getOrderBy
in classcom.liferay.portal.kernel.util.OrderByComparator<PushNotificationsDevice>
-
getOrderByFields
- Specified by:
getOrderByFields
in interfacecom.liferay.petra.sql.dsl.query.sort.OrderByInfo
- Overrides:
getOrderByFields
in classcom.liferay.portal.kernel.util.OrderByComparator<PushNotificationsDevice>
-
isAscending
public boolean isAscending()- Overrides:
isAscending
in classcom.liferay.portal.kernel.util.OrderByComparator<PushNotificationsDevice>
-