package org.sakaiproject.sitemanage.api;
import org.sakaiproject.user.api.User;
public interface UserNotificationProvider {
/**
* Configuration parameter for sakai.properties.
* Should the added participant emails come from the current user.
* The new account emails shouldn't use the current user as we don't want bounces
* containing passwords going back to the user who added it.
*/
public static final String NOTIFY_FROM_CURRENT_USER = "sitemanage.notifyFromCurrentUser";
/**
* Send an email to newly added user informing password
*
* @param newnonOfficialAccount
* @param emailId
* @param userName
* @param siteTitle
*/
public void notifyNewUserEmail(User user, String newUserPassword, String siteTitle);
/**
* send email notification to added participant
*/
public void notifyAddedParticipant(boolean newNonOfficialAccount, User user, String siteTitle);
}