Class ContentCatalogLevelComparator
java.lang.Object
de.hybris.platform.cmssmarteditwebservices.catalogs.impl.ContentCatalogLevelComparator
- All Implemented Interfaces:
Comparator<Map.Entry<CatalogModel,Set<CatalogVersionModel>>>
public class ContentCatalogLevelComparator
extends Object
implements Comparator<Map.Entry<CatalogModel,Set<CatalogVersionModel>>>
Compare
Entry<CatalogModel, Set<CatalogVersionModel>> by catalog level where the catalog slot was defined.
This is used in the context of multi-country.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(Map.Entry<CatalogModel, Set<CatalogVersionModel>> entry1, Map.Entry<CatalogModel, Set<CatalogVersionModel>> entry2) protected CatalogLevelServicevoidsetCmsCatalogLevelService(CatalogLevelService cmsCatalogLevelService) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ContentCatalogLevelComparator
public ContentCatalogLevelComparator()
-
-
Method Details
-
compare
public int compare(Map.Entry<CatalogModel, Set<CatalogVersionModel>> entry1, Map.Entry<CatalogModel, Set<CatalogVersionModel>> entry2) - Specified by:
comparein interfaceComparator<Map.Entry<CatalogModel,Set<CatalogVersionModel>>>
-
getCmsCatalogLevelService
-
setCmsCatalogLevelService
-