private String getUserEmail ( Long userId ) { UserDAO userDAO = new UserDAO ( ) ; User user = userDAO . findById ( userId ) ; return user . getDefaultEmailAsString ( ) ; }
Returns user s default email address by user id