Add the concept of SortStrategy to Notification controllers

Description

Concrete INotificationService beans are completely responsible for their own sorting. AFAIK, all of them treat sorting as a pass-through concern vis-a-vis their external data source. In other words, the order they come in is the order they are presented.

That works often, but sometimes it just doesn't. Sometimes the remote service doesn't send them in any sensible order, sometimes you prefer a different order, and sometimes you need to combine entries from different sources into a single, sorted collection.

We should add the ability to specify (via portlet preferences) a SortStrategy that will be applied by the controller to a collection of entries before a user sees it.

Environment

None

Activity

Show:

Benito Gonzalez 
April 7, 2016 at 12:17 AM

3.0.0 release

Andrew Wills 
May 1, 2015 at 4:16 PM

done.

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created April 30, 2015 at 9:22 PM
Updated April 7, 2016 at 12:17 AM
Resolved May 1, 2015 at 4:16 PM