@Component
public class NotificationResponseFlattener
extends java.lang.Object
INotificationService beans return NotificationResponse objects, which are tree
structures wherein notices are grouped by category. Most APIs and clients probably prefer
notices in a list (often sorted). This utility provides a standard way to flatten a
NotificationResponse.| Constructor and Description |
|---|
NotificationResponseFlattener() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<org.jasig.portlet.notice.NotificationEntry> |
flatten(org.jasig.portlet.notice.NotificationResponse response) |