private String getNotificationSource(PortletRequest req) {
        PortletPreferences preferences = req.getPreferences();
        String source = preferences.getValue(NOTIFICATION_SOURCE_PREF, DEFAULT_NOTIFICATION_SOURCE);

        return source;
    }
private String getNotificationSource(PortletRequest req) {
        PortletPreferences preferences = req.getPreferences();
        String source = preferences.getValue(NOTIFICATION_SOURCE_PREF, DEFAULT_NOTIFICATION_SOURCE);

        return source;
    }
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.

@param req the portlet request
@return the source value to use.
Get the source value to use for a Notification entry .