Package com.jalios.jcms
Class Publication.WorkspaceComparator<T extends Publication>
- java.lang.Object
-
- com.jalios.jstore.BasicStorable.CdateComparator<T>
-
- com.jalios.jcms.comparator.BasicComparator<T>
-
- com.jalios.jcms.Publication.WorkspaceComparator<T>
-
- Type Parameters:
T
- a type of Publication
- All Implemented Interfaces:
java.util.Comparator<T>
- Enclosing class:
- Publication
public static class Publication.WorkspaceComparator<T extends Publication> extends BasicComparator<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 WorkspaceComparator()
Default constructor.WorkspaceComparator(java.lang.String lang)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(T o1, T o2)
-
Methods inherited from class com.jalios.jcms.comparator.BasicComparator
compareString
-
Methods inherited from class com.jalios.jstore.BasicStorable.CdateComparator
compareDate
-
-
-
-
Constructor Detail
-
WorkspaceComparator
public WorkspaceComparator()
Default constructor.Uses language retrieved from current context, cf
BasicComparator
.- Since:
- jcms-7.1.0
-
WorkspaceComparator
public WorkspaceComparator(java.lang.String lang)
- Parameters:
lang
- the user language- Since:
- jcms-5.6.1
-
-
Method Detail
-
compare
public int compare(T o1, T o2)
- Specified by:
compare
in interfacejava.util.Comparator<T extends Publication>
- Overrides:
compare
in classBasicStorable.CdateComparator<T extends Publication>
-
-