private List<NotificationTypeRecipient> getDefaultNotificationTypeRecipients( String roleName, String personId, String rolodexId) { List<NotificationTypeRecipient> notificationTypeRecipients = new ArrayList<NotificationTypeRecipient>(); if (StringUtils.isNotBlank(roleName)) { NotificationTypeRecipient notificationTypeRecipientRoleName = new NotificationTypeRecipient(); notificationTypeRecipientRoleName.setRoleName(roleName); notificationTypeRecipients.add(notificationTypeRecipientRoleName); } if (StringUtils.isNotBlank(personId)) { NotificationTypeRecipient notificationTypeRecipientPersonId = new NotificationTypeRecipient(); notificationTypeRecipientPersonId.setPersonId(personId); notificationTypeRecipients.add(notificationTypeRecipientPersonId); } if (StringUtils.isNotBlank(rolodexId)) { NotificationTypeRecipient notificationTypeRecipientRolodexId = new NotificationTypeRecipient(); notificationTypeRecipientRolodexId.setRolodexId(rolodexId); notificationTypeRecipients.add(notificationTypeRecipientRolodexId); } return notificationTypeRecipients; }