Package org.silverpeas.web.pdc.control
Class DefaultSortResults
- java.lang.Object
-
- org.silverpeas.web.pdc.control.DefaultSortResults
-
- All Implemented Interfaces:
SortResults
@Named public class DefaultSortResults extends Object implements SortResults
- Author:
- David Derigent
-
-
Method Summary
All Methods Instance Methods Concrete 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
public List<GlobalSilverResult> execute(List<GlobalSilverResult> results, String sortOrder, String sortValue, String language)
Description copied from interface:SortResults
realizes the sort or the sorting or filtering of a list of GlobalSilverResult- Specified by:
execute
in interfaceSortResults
- Parameters:
results
- List of GlobalSilverResult objectsortOrder
- order of sortsortValue
- type of sort to realize- Returns:
- a sorting and/or filtering list
-
setPdcSearchSessionController
public void setPdcSearchSessionController(PdcSearchSessionController controller)
Description copied from interface:SortResults
Sets a PdcSearchSessionController in case this is needed by the sort- Specified by:
setPdcSearchSessionController
in interfaceSortResults
-
-