public class AssetTagAssetCountComparator
extends com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag>
Modifier and Type | Field and Description |
---|---|
static String |
ORDER_BY_ASC |
static String |
ORDER_BY_DESC |
static String[] |
ORDER_BY_FIELDS |
Constructor and Description |
---|
AssetTagAssetCountComparator() |
AssetTagAssetCountComparator(boolean ascending) |
Modifier and Type | Method and Description |
---|---|
int |
compare(com.liferay.asset.kernel.model.AssetTag assetTag1,
com.liferay.asset.kernel.model.AssetTag assetTag2) |
String |
getOrderBy() |
String[] |
getOrderByFields() |
boolean |
isAscending() |
getOrderByConditionFields, getOrderByConditionValues, isAscending, toString
public static final String ORDER_BY_ASC
public static final String ORDER_BY_DESC
public static final String[] ORDER_BY_FIELDS
public AssetTagAssetCountComparator()
public AssetTagAssetCountComparator(boolean ascending)
public int compare(com.liferay.asset.kernel.model.AssetTag assetTag1, com.liferay.asset.kernel.model.AssetTag assetTag2)
public String getOrderBy()
getOrderBy
in class com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag>
public String[] getOrderByFields()
getOrderByFields
in class com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag>
public boolean isAscending()
isAscending
in class com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag>