Package org.silverpeas.web.pdc.control
Interface SortResults
-
- All Known Implementing Classes:
DefaultSortResults
,SortResultsXFormWithoutPub
public interface SortResults
This interface define services allowing to filter or sort a list of GlobalSilverResult object- Author:
- David Derigent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<GlobalSilverResult>
execute(List<GlobalSilverResult> results, String sortOrder, String sortValue, String language)
realizes the sort or the sorting or filtering of a list of GlobalSilverResultvoid
setPdcSearchSessionController(PdcSearchSessionController controller)
Sets a PdcSearchSessionController in case this is needed by the sort
-
-
-
Method Detail
-
execute
List<GlobalSilverResult> execute(List<GlobalSilverResult> results, String sortOrder, String sortValue, String language)
realizes the sort or the sorting or filtering of a list of GlobalSilverResult- Parameters:
results
- List of GlobalSilverResult objectsortOrder
- order of sortsortValue
- type of sort to realizelanguage
-- Returns:
- a sorting and/or filtering list
-
setPdcSearchSessionController
void setPdcSearchSessionController(PdcSearchSessionController controller)
Sets a PdcSearchSessionController in case this is needed by the sort- Parameters:
controller
-
-
-