Class ContentCatalogLevelComparator
- java.lang.Object
-
- de.hybris.platform.cmsfacades.catalogversions.comparator.ContentCatalogLevelComparator
-
- All Implemented Interfaces:
java.util.Comparator<ContentCatalogModel>
public class ContentCatalogLevelComparator extends java.lang.Object implements java.util.Comparator<ContentCatalogModel>
CompareCatalognModelby catalog level where the catalog was defined. This is used in the context of multi-country.
-
-
Constructor Summary
Constructors Constructor Description ContentCatalogLevelComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(ContentCatalogModel catalog1, ContentCatalogModel catalog2)protected CatalogLevelServicegetCmsCatalogLevelService()voidsetCmsCatalogLevelService(CatalogLevelService cmsCatalogLevelService)
-
-
-
Method Detail
-
compare
public int compare(ContentCatalogModel catalog1, ContentCatalogModel catalog2)
- Specified by:
comparein interfacejava.util.Comparator<ContentCatalogModel>
-
getCmsCatalogLevelService
protected CatalogLevelService getCmsCatalogLevelService()
-
setCmsCatalogLevelService
public void setCmsCatalogLevelService(CatalogLevelService cmsCatalogLevelService)
-
-