- All Implemented Interfaces:
- java.util.Comparator<Category>
- Enclosing class:
- PortalManager
public static class PortalManager.CatDiscrimComparator
extends java.lang.Object
implements java.util.Comparator<Category>
This inner class compare two categories. It is used to
order a Category set in the same order than an array of root category
and an array of contextual category.
Each category gets point:
- 1pt by RoutNavigate Level (First RootNavigate = +3 , Second RootNavigate = +2, Second RootNavigate = +1)
- x2 for each contextual categories
- Since:
- jcms-5.5.0
- Author:
- Jean-Philippe Encausse