Package com.jalios.jcms.portlet
Class PortletSkinable.PortletSkinableTitleComparator<T extends PortletSkinable>
- java.lang.Object
-
- com.jalios.jstore.BasicStorable.CdateComparator<T>
-
- com.jalios.jcms.comparator.BasicComparator<T>
-
- com.jalios.jcms.Publication.TitleComparator<T>
-
- com.jalios.jcms.portlet.PortletSkinable.PortletSkinableTitleComparator<T>
-
- Type Parameters:
T
- the type of publication being compared
- All Implemented Interfaces:
java.util.Comparator<T>
- Enclosing class:
- PortletSkinable
public static class PortletSkinable.PortletSkinableTitleComparator<T extends PortletSkinable> extends Publication.TitleComparator<T>
Sort the PortletSkinable according to their display title.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.jalios.jcms.comparator.BasicComparator
BasicComparator.StringComparisonMethod
-
-
Field Summary
-
Fields inherited from class com.jalios.jcms.Publication.TitleComparator
lang
-
Fields inherited from class com.jalios.jcms.comparator.BasicComparator
channel, comparisonMethod, contextMap, jcmsContext, language, locale
-
-
Constructor Summary
Constructors Constructor Description PortletSkinableTitleComparator()
PortletSkinableTitleComparator(java.lang.String lang)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(T p1, T p2)
-
Methods inherited from class com.jalios.jcms.comparator.BasicComparator
compareString
-
Methods inherited from class com.jalios.jstore.BasicStorable.CdateComparator
compareDate
-
-
-
-
Method Detail
-
compare
public int compare(T p1, T p2)
- Specified by:
compare
in interfacejava.util.Comparator<T extends PortletSkinable>
- Overrides:
compare
in classPublication.TitleComparator<T extends PortletSkinable>
-
-