com.liferay.portlet.asset.util.comparator
Class AssetCategoryLeftCategoryIdComparator
java.lang.Object
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory>
com.liferay.portlet.asset.util.comparator.AssetCategoryLeftCategoryIdComparator
- All Implemented Interfaces:
- Serializable, Comparator<com.liferay.asset.kernel.model.AssetCategory>
public class AssetCategoryLeftCategoryIdComparator
- extends com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory>
- See Also:
- Serialized Form
| Methods inherited from class com.liferay.portal.kernel.util.OrderByComparator |
getOrderByConditionFields, getOrderByConditionValues, isAscending, toString |
ORDER_BY_ASC
public static final String ORDER_BY_ASC
- See Also:
- Constant Field Values
ORDER_BY_DESC
public static final String ORDER_BY_DESC
- See Also:
- Constant Field Values
ORDER_BY_FIELDS
public static final String[] ORDER_BY_FIELDS
AssetCategoryLeftCategoryIdComparator
public AssetCategoryLeftCategoryIdComparator()
AssetCategoryLeftCategoryIdComparator
public AssetCategoryLeftCategoryIdComparator(boolean ascending)
compare
public int compare(com.liferay.asset.kernel.model.AssetCategory assetCategory1,
com.liferay.asset.kernel.model.AssetCategory assetCategory2)
getOrderBy
public String getOrderBy()
- Overrides:
getOrderBy in class com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory>
getOrderByFields
public String[] getOrderByFields()
- Overrides:
getOrderByFields in class com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory>
isAscending
public boolean isAscending()
- Overrides:
isAscending in class com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory>