Package org.silverpeas.web.pdc.control
Class SortResultsXFormWithoutPub
- java.lang.Object
-
- org.silverpeas.web.pdc.control.SortResultsXFormWithoutPub
-
- All Implemented Interfaces:
SortResults
@Named public class SortResultsXFormWithoutPub extends Object implements SortResults
This class sort the result using a form xml field and filter the results to display only the publication- Author:
- david derigent
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<GlobalSilverResult>
execute(List<GlobalSilverResult> originalResults, 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> originalResults, 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:
originalResults
- 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
-
-