| Line 1... |
Line 1... |
| 1 |
package com.spice.profitmandi.service;
|
1 |
package com.spice.profitmandi.service;
|
| 2 |
|
2 |
|
| 3 |
import com.spice.profitmandi.common.enumuration.MessageType;
|
3 |
import com.spice.profitmandi.common.enumuration.MessageType;
|
| 4 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
4 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 5 |
import com.spice.profitmandi.common.model.SendNotificationModel;
|
5 |
import com.spice.profitmandi.common.model.SendNotificationModel;
|
| - |
|
6 |
|
| - |
|
7 |
import org.apache.http.conn.HttpHostConnectException;
|
| 6 |
import org.springframework.stereotype.Service;
|
8 |
import org.springframework.stereotype.Service;
|
| 7 |
|
9 |
|
| 8 |
@Service
|
10 |
@Service
|
| 9 |
public interface NotificationService {
|
11 |
public interface NotificationService {
|
| 10 |
void sendNotification(SendNotificationModel sendNotificationModel) throws ProfitMandiBusinessException;
|
12 |
void sendNotification(SendNotificationModel sendNotificationModel) throws ProfitMandiBusinessException;
|
| Line 14... |
Line 16... |
| 14 |
void sendNotification(int fofoId, String campaignName, MessageType messageType, String title, String message)
|
16 |
void sendNotification(int fofoId, String campaignName, MessageType messageType, String title, String message)
|
| 15 |
throws ProfitMandiBusinessException;
|
17 |
throws ProfitMandiBusinessException;
|
| 16 |
|
18 |
|
| 17 |
void sendNotification(int fofoId, String campaignName, MessageType messageType, String title, String message,
|
19 |
void sendNotification(int fofoId, String campaignName, MessageType messageType, String title, String message,
|
| 18 |
String Url) throws ProfitMandiBusinessException;
|
20 |
String Url) throws ProfitMandiBusinessException;
|
| - |
|
21 |
|
| - |
|
22 |
void sendWhatsappMessage(String message, String title, String mobile)
|
| - |
|
23 |
throws HttpHostConnectException, ProfitMandiBusinessException;
|
| 19 |
}
|
24 |
}
|