protected void setSorts(Collection itemList) {
query.clearSorts();
for (Iterator iter = itemList.iterator(); iter.hasNext(); ) {
SortWinListItem item = (SortWinListItem)iter.next();
query.addSort(item.getSelectable(), item.sortsAscending()
? Query.SORT_ASCENDING : Query.SORT_DESCENDING);
}
}
}