public class AssetCategoryCreateDateComparator
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 |
|---|
AssetCategoryCreateDateComparator() |
AssetCategoryCreateDateComparator(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, toStringpublic static final String ORDER_BY_ASC
public static final String ORDER_BY_DESC
public static final String[] ORDER_BY_FIELDS
public AssetCategoryCreateDateComparator()
public AssetCategoryCreateDateComparator(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 interface com.liferay.petra.sql.dsl.query.sort.OrderByInfogetOrderByFields 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>