public class ConsoleServiceImpl extends Object implements ConsoleService
ConsoleService| Constructor and Description |
|---|
ConsoleServiceImpl(ConsoleEmailNotifier consoleEmailNotifier)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
sendNewPassword(User user)
An implementation of sendNewPassword, in this case we're sending an email to them
TODO More specific error handling than catching Exception required
|
public ConsoleServiceImpl(ConsoleEmailNotifier consoleEmailNotifier)
consoleEmailNotifier - - The email notofier to usepublic void sendNewPassword(User user) throws IllegalArgumentException
sendNewPassword in interface ConsoleServiceuser - The user to send the email toIllegalArgumentException - - If the user has no valid emailCopyright © 2007-2015 Ikasan. All Rights Reserved.