Searched refs:sortSpec (Results 1 – 4 of 4) sorted by relevance
19 for (SortSpec sortSpec : sortSpecs) { in compare()20 String key0 = arg0.get(sortSpec.getField()).toString().toLowerCase(); in compare()21 String key1 = arg1.get(sortSpec.getField()).toString().toLowerCase(); in compare()22 compareValue = key0.compareTo(key1) * sortSpec.getDirectionMultiplier(); in compare()
37 for (SortSpec sortSpec : sortOn) { in getPage()38 sortList.set(sortList.size(), new JSONString(sortSpec.toString())); in getPage()
360 final String sortSpec = tokenizer.nextToken ().trim (); in parseProperties() local364 switch (sortSpec.charAt (0)) in parseProperties()369 columnName = sortSpec.substring (1); in parseProperties()376 columnName = sortSpec.substring (1); in parseProperties()383 columnName = sortSpec; in parseProperties()
278 SortSpec sortSpec = i.previous(); in restoreTableSorting() local279 table.sortOnColumn(sortSpec.getField(), sortSpec.getDirection()); in restoreTableSorting()295 SortSpec sortSpec = new SortSpec(field.getSqlName(), SortDirection.ASCENDING); in cleanupSortsForNewColumns() local297 tableSorts.add(sortSpec); in cleanupSortsForNewColumns()