@Component public class NotificationManager extends Object
| Constructor and Description |
|---|
NotificationManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
sendEmailNotification(String emailId,
String mailSubject,
String mailContent)
Send email notification.
|
void |
sendSmsNotification(String notificationMobileNo,
String message)
Send sms notification.
|
public void sendSmsNotification(String notificationMobileNo, String message) throws IdAuthenticationBusinessException
notificationMobileNo - the notification mobile nomessage - the messageIdAuthenticationBusinessException - the id authentication business
exceptionpublic void sendEmailNotification(String emailId, String mailSubject, String mailContent) throws IdAuthenticationBusinessException
emailId - the email idmailSubject - the mail subjectmailContent - the mail contentIdAuthenticationBusinessException - the id authentication business
exceptionCopyright © 2020. All rights reserved.