com.jalios.jcms.portlet
Class PortletSkinable.PortletSkinableTitleComparator<T extends PortletSkinable>

java.lang.Object
  extended by com.jalios.jstore.BasicStorable.CdateComparator<T>
      extended by com.jalios.jcms.comparator.BasicComparator<T>
          extended by com.jalios.jcms.Publication.TitleComparator<T>
              extended by com.jalios.jcms.portlet.PortletSkinable.PortletSkinableTitleComparator<T>
Type Parameters:
T - the type of publication being compared
All Implemented Interfaces:
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.


Field Summary
 
Fields inherited from class com.jalios.jcms.Publication.TitleComparator
lang
 
Fields inherited from class com.jalios.jcms.comparator.BasicComparator
channel, contextMap, jcmsContext, language, locale
 
Constructor Summary
PortletSkinable.PortletSkinableTitleComparator()
           
PortletSkinable.PortletSkinableTitleComparator(String lang)
           
 
Method Summary
 int compare(T p1, T p2)
           
 
Methods inherited from class com.jalios.jstore.BasicStorable.CdateComparator
compareDate
 
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
 

Constructor Detail

PortletSkinable.PortletSkinableTitleComparator

public PortletSkinable.PortletSkinableTitleComparator()

PortletSkinable.PortletSkinableTitleComparator

public PortletSkinable.PortletSkinableTitleComparator(String lang)
Method Detail

compare

public int compare(T p1,
                   T p2)
Specified by:
compare in interface Comparator<T extends PortletSkinable>
Overrides:
compare in class Publication.TitleComparator<T extends PortletSkinable>


Copyright © 2001-2010 Jalios SA. All Rights Reserved.