Subversion Repositories SmartDukaan

Rev

Rev 30859 | Rev 32253 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
25822 amit.gupta 1
package com.spice.profitmandi.service;
2
 
30066 amit.gupta 3
import com.spice.profitmandi.common.enumuration.MessageType;
29198 manish 4
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
25822 amit.gupta 5
import com.spice.profitmandi.common.model.SendNotificationModel;
30989 tejbeer 6
 
7
import org.apache.http.conn.HttpHostConnectException;
29927 amit.gupta 8
import org.springframework.stereotype.Service;
25822 amit.gupta 9
 
10
@Service
11
public interface NotificationService {
29198 manish 12
	void sendNotification(SendNotificationModel sendNotificationModel) throws ProfitMandiBusinessException;
29927 amit.gupta 13
 
14
	void sendNotificationToAll(SendNotificationModel sendNotificationModel) throws ProfitMandiBusinessException;
30025 amit.gupta 15
 
30859 tejbeer 16
	void sendNotification(int fofoId, String campaignName, MessageType messageType, String title, String message)
17
			throws ProfitMandiBusinessException;
18
 
19
	void sendNotification(int fofoId, String campaignName, MessageType messageType, String title, String message,
20
			String Url) throws ProfitMandiBusinessException;
30989 tejbeer 21
 
22
	void sendWhatsappMessage(String message, String title, String mobile)
23
			throws HttpHostConnectException, ProfitMandiBusinessException;
25822 amit.gupta 24
}