com.liferay.portlet.asset.util.comparator
Class AssetVocabularyCreateDateComparator
java.lang.Object
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary>
com.liferay.portlet.asset.util.comparator.AssetVocabularyCreateDateComparator
- All Implemented Interfaces:
- Serializable, Comparator<com.liferay.asset.kernel.model.AssetVocabulary>
public class AssetVocabularyCreateDateComparator
- extends com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary>
- 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
AssetVocabularyCreateDateComparator
public AssetVocabularyCreateDateComparator()
AssetVocabularyCreateDateComparator
public AssetVocabularyCreateDateComparator(boolean ascending)
compare
public int compare(com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary1,
com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary2)
getOrderBy
public String getOrderBy()
- Overrides:
getOrderBy in class com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary>
getOrderByFields
public String[] getOrderByFields()
- Overrides:
getOrderByFields in class com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary>
isAscending
public boolean isAscending()
- Overrides:
isAscending in class com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary>