com.jalios.jcms.workspace
Class Workspace.NameComparator<T extends Workspace>

java.lang.Object
  extended by com.jalios.jstore.BasicStorable.CdateComparator<T>
      extended by com.jalios.jcms.comparator.BasicComparator<T>
          extended by com.jalios.jcms.workspace.Workspace.NameComparator<T>
All Implemented Interfaces:
Comparator<T>
Direct Known Subclasses:
Workspace.GroupSizeComparator, Workspace.MemberSizeComparator, Workspace.OrderComparator
Enclosing class:
Workspace

public static class Workspace.NameComparator<T extends Workspace>
extends BasicComparator<T>


Field Summary
 
Fields inherited from class com.jalios.jcms.comparator.BasicComparator
channel, contextMap, jcmsContext, language, locale
 
Constructor Summary
Workspace.NameComparator()
           
Workspace.NameComparator(String lang)
           
 
Method Summary
 int compare(T ws1, T ws2)
           
 
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

Workspace.NameComparator

public Workspace.NameComparator()

Workspace.NameComparator

public Workspace.NameComparator(String lang)
Method Detail

compare

public int compare(T ws1,
                   T ws2)
Specified by:
compare in interface Comparator<T extends Workspace>
Overrides:
compare in class BasicStorable.CdateComparator<T extends Workspace>


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