class ApplicationInviteNotificationService {

    @Transactional
    ServiceResult<Void> inviteCollaborators(List<ApplicationInvite> invites) {

        for (ApplicationInvite invite : invites) {
            ServiceResult<Void> inviteResult = processCollaboratorInvite(webBaseUrl, invite, false);

            if (inviteResult.isFailure()) {
                return inviteResult;
            }
        }

        return serviceSuccess();
    }

    public  ApplicationInviteNotificationService();

}