Class AbstractContentBasedSearchable.ContentTypeComparator
- java.lang.Object
-
- org.ametys.web.frontoffice.search.metamodel.impl.AbstractContentBasedSearchable.ContentTypeComparator
-
- All Implemented Interfaces:
Comparator<String>
- Enclosing class:
- AbstractContentBasedSearchable
private static class AbstractContentBasedSearchable.ContentTypeComparator extends Object implements Comparator<String>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) String
_baseCTypeId
private Map<String,Integer>
_orderByContentType
-
Constructor Summary
Constructors Constructor Description ContentTypeComparator(ContentType baseContentType, ContentTypeExtensionPoint cTypeEP)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
_fillOrderByContentType(ContentType contentType, IntegerSequence.Incrementor incrementor, ContentTypeExtensionPoint cTypeEP)
int
compare(String c1ContentTypeId, String c2ContentTypeId)
-
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
-
-
-
-
Field Detail
-
_baseCTypeId
String _baseCTypeId
-
_orderByContentType
private Map<String,Integer> _orderByContentType
-
-
Constructor Detail
-
ContentTypeComparator
ContentTypeComparator(ContentType baseContentType, ContentTypeExtensionPoint cTypeEP)
-
-
Method Detail
-
_fillOrderByContentType
private void _fillOrderByContentType(ContentType contentType, IntegerSequence.Incrementor incrementor, ContentTypeExtensionPoint cTypeEP)
-
-