private String getNotificationSource ( PortletRequest req ) { PortletPreferences preferences = req . getPreferences ( ) ; String source = preferences . getValue ( NOTIFICATION_SOURCE_PREF , DEFAULT_NOTIFICATION_SOURCE ) ; return source ; }
Get the source value to use for a Notification entry .