com.jalios.jcms
Class Publication.TitleComparator<T extends Publication>

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>
All Implemented Interfaces:
Comparator<T>
Direct Known Subclasses:
FileDocument.ContentTypeComparator, FileDocument.DimensionsComparator, FileDocument.DurationComparator, FileDocument.SizeComparator, PortletSkinable.ContentTitleComparator, PortletSkinable.PortletSkinableTitleComparator
Enclosing class:
Publication

public static class Publication.TitleComparator<T extends Publication>
extends BasicComparator<T>


Field Summary
protected  String lang
           
 
Fields inherited from class com.jalios.jcms.comparator.BasicComparator
channel, contextMap, jcmsContext, language, locale
 
Constructor Summary
Publication.TitleComparator()
           
Publication.TitleComparator(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
 

Field Detail

lang

protected String lang
Constructor Detail

Publication.TitleComparator

public Publication.TitleComparator()

Publication.TitleComparator

public Publication.TitleComparator(String lang)
Method Detail

compare

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


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