public class CommerceVirtualOrderItemCreateDateComparator extends com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ORDER_BY_ASC |
static java.lang.String |
ORDER_BY_DESC |
static java.lang.String[] |
ORDER_BY_FIELDS |
Constructor and Description |
---|
CommerceVirtualOrderItemCreateDateComparator() |
CommerceVirtualOrderItemCreateDateComparator(boolean ascending) |
Modifier and Type | Method and Description |
---|---|
int |
compare(CommerceVirtualOrderItem commerceVirtualOrderItem1,
CommerceVirtualOrderItem commerceVirtualOrderItem2) |
java.lang.String |
getOrderBy() |
java.lang.String[] |
getOrderByFields() |
boolean |
isAscending() |
getOrderByConditionFields, getOrderByConditionValues, isAscending, toString
public static final java.lang.String ORDER_BY_ASC
public static final java.lang.String ORDER_BY_DESC
public static final java.lang.String[] ORDER_BY_FIELDS
public CommerceVirtualOrderItemCreateDateComparator()
public CommerceVirtualOrderItemCreateDateComparator(boolean ascending)
public int compare(CommerceVirtualOrderItem commerceVirtualOrderItem1, CommerceVirtualOrderItem commerceVirtualOrderItem2)
public java.lang.String getOrderBy()
getOrderBy
in class com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem>
public java.lang.String[] getOrderByFields()
getOrderByFields
in interface com.liferay.petra.sql.dsl.query.sort.OrderByInfo
getOrderByFields
in class com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem>
public boolean isAscending()
isAscending
in class com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItem>