private NotificationDto<?> toDto(NotificationEntity newNotification, IVersionedApimanEvent event, UserDto user) {
        return new NotificationDto<>()
             .setId(newNotification.getId())
             .setCategory(newNotification.getCategory())
             .setReason(newNotification.getReason())
             .setReasonMessage(newNotification.getReasonMessage())
             .setStatus(NotificationStatus.OPEN)
             .setCreatedOn(newNotification.getCreatedOn())
             .setModifiedOn(newNotification.getModifiedOn())
             .setRecipient(user)
             .setSource(newNotification.getSource())
             .setPayload(event);
    }
As {@link #markNotificationsWithStatus(String, List, NotificationStatus)}, but only accepts non-OPEN status.

<p>An exception will be thrown if an attempt to mark as read is made using {@link NotificationStatus#OPEN}.

@see #markNotificationsWithStatus
manager/api/rest-impl/src/main/java/io/apiman/manager/api/service/NotificationService.java