Class AssetCategoryAssetVocabularyLocalizedTitleComparator
Object
com.liferay.portlet.asset.util.comparator.AssetCategoryAssetVocabularyLocalizedTitleComparator
- All Implemented Interfaces:
Comparator<com.liferay.asset.kernel.model.AssetCategory>
public class AssetCategoryAssetVocabularyLocalizedTitleComparator
extends Object
implements Comparator<com.liferay.asset.kernel.model.AssetCategory>
- Author:
- Jürgen Kappler
-
Constructor Summary
ConstructorsConstructorDescriptionAssetCategoryAssetVocabularyLocalizedTitleComparator
(long vocabularyId, Locale locale, boolean ascending) -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(com.liferay.asset.kernel.model.AssetCategory assetCategory1, com.liferay.asset.kernel.model.AssetCategory assetCategory2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
AssetCategoryAssetVocabularyLocalizedTitleComparator
public AssetCategoryAssetVocabularyLocalizedTitleComparator(long vocabularyId, Locale locale, boolean ascending)
-
-
Method Details
-
compare
public int compare(com.liferay.asset.kernel.model.AssetCategory assetCategory1, com.liferay.asset.kernel.model.AssetCategory assetCategory2) - Specified by:
compare
in interfaceComparator<com.liferay.asset.kernel.model.AssetCategory>
-