com.jalios.jcms.portlet
Class PortletSkinable.ContentTitleComparator<T extends Publication>
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.ContentTitleComparator<T>
- Type Parameters:
T
- the type of publication being compared
- All Implemented Interfaces:
- Comparator<T>
- Enclosing class:
- PortletSkinable
public static class PortletSkinable.ContentTitleComparator<T extends Publication>
- extends Publication.TitleComparator<T>
Sort the Publication according to their title, but using the display
title for Portlet if available.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletSkinable.ContentTitleComparator
public PortletSkinable.ContentTitleComparator()
PortletSkinable.ContentTitleComparator
public PortletSkinable.ContentTitleComparator(String lang)
compare
public int compare(T p1,
T p2)
- Specified by:
compare
in interface Comparator<T extends Publication>
- Overrides:
compare
in class Publication.TitleComparator<T extends Publication>
Copyright © 2001-2010 Jalios SA. All Rights Reserved.