public class AssetCategoryLeftCategoryIdComparator
extends com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory>
Modifier and Type | Field and Description |
---|---|
static String |
ORDER_BY_ASC |
static String |
ORDER_BY_DESC |
static String[] |
ORDER_BY_FIELDS |
Constructor and Description |
---|
AssetCategoryLeftCategoryIdComparator() |
AssetCategoryLeftCategoryIdComparator(boolean ascending) |
Modifier and Type | Method and Description |
---|---|
int |
compare(com.liferay.asset.kernel.model.AssetCategory assetCategory1,
com.liferay.asset.kernel.model.AssetCategory assetCategory2) |
String |
getOrderBy() |
String[] |
getOrderByFields() |
boolean |
isAscending() |
getOrderByConditionFields, getOrderByConditionValues, isAscending, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final String ORDER_BY_ASC
public static final String ORDER_BY_DESC
public static final String[] ORDER_BY_FIELDS
public AssetCategoryLeftCategoryIdComparator()
public AssetCategoryLeftCategoryIdComparator(boolean ascending)
public int compare(com.liferay.asset.kernel.model.AssetCategory assetCategory1, com.liferay.asset.kernel.model.AssetCategory assetCategory2)
public String getOrderBy()
getOrderBy
in class com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory>
public String[] getOrderByFields()
getOrderByFields
in class com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory>
public boolean isAscending()
isAscending
in class com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory>