Package com.jalios.jcms.workspace
Class Workspace.GroupSizeComparator<T extends Workspace>
- java.lang.Object
-
- com.jalios.jstore.BasicStorable.CdateComparator<T>
-
- com.jalios.jcms.comparator.BasicComparator<T>
-
- com.jalios.jcms.workspace.Workspace.NameComparator<T>
-
- com.jalios.jcms.workspace.Workspace.GroupSizeComparator<T>
-
- Type Parameters:
T
- workspace type
- All Implemented Interfaces:
java.util.Comparator<T>
- Enclosing class:
- Workspace
public static class Workspace.GroupSizeComparator<T extends Workspace> extends Workspace.NameComparator<T>
- Since:
- jcms-5.0.0
-
-
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.comparator.BasicComparator
channel, comparisonMethod, contextMap, jcmsContext, language, locale
-
-
Constructor Summary
Constructors Constructor Description GroupSizeComparator()
Create anew Group comparator using current languageGroupSizeComparator(java.lang.String lang)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(T ws1, T ws2)
-
Methods inherited from class com.jalios.jcms.comparator.BasicComparator
compareString
-
Methods inherited from class com.jalios.jstore.BasicStorable.CdateComparator
compareDate
-
-
-
-
Constructor Detail
-
GroupSizeComparator
public GroupSizeComparator()
Create anew Group comparator using current language- Since:
- jcms-7.1.0
-
GroupSizeComparator
public GroupSizeComparator(java.lang.String lang)
- Parameters:
lang
- the language to use when comparing workspaces' name if number of groups in workspaces is the same- Since:
- jcms-5.6.1
-
-