Package org.opencms.workplace.list
Interface I_CmsListItemComparator
- All Known Implementing Classes:
CmsListItemActionIconComparator
,CmsListItemCaseInsensitiveComparator
,CmsListItemDefaultComparator
,CmsListItemNumericalComparator
,CmsLogLevelListItemComparator
public interface I_CmsListItemComparator
A list item comparator can be set at a column definition to set the sorting method for that column.
- Since:
- 6.0.0
-
Method Summary
Modifier and TypeMethodDescriptiongetComparator
(String columnId, Locale locale) Returns a new comparator for comparing list items by the given column, and using the given locale.
-
Method Details
-
getComparator
Returns a new comparator for comparing list items by the given column, and using the given locale.- Parameters:
columnId
- the id of the column to sort bylocale
- the current used locale- Returns:
- a new comparator
-