Subversion Repositories SmartDukaan

Rev

Rev 30989 | Rev 32405 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 30989 Rev 32253
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.apache.http.conn.HttpHostConnectException;
8
import org.springframework.stereotype.Service;
7
import org.springframework.stereotype.Service;
9
 
8
 
10
@Service
9
@Service
11
public interface NotificationService {
10
public interface NotificationService {
Line 18... Line 17...
18
 
17
 
19
	void sendNotification(int fofoId, String campaignName, MessageType messageType, String title, String message,
18
	void sendNotification(int fofoId, String campaignName, MessageType messageType, String title, String message,
20
			String Url) throws ProfitMandiBusinessException;
19
			String Url) throws ProfitMandiBusinessException;
21
 
20
 
22
	void sendWhatsappMessage(String message, String title, String mobile)
21
	void sendWhatsappMessage(String message, String title, String mobile)
23
			throws HttpHostConnectException, ProfitMandiBusinessException;
22
			throws HttpHostConnectException, ProfitMandiBusinessException, Exception;
-
 
23
 
-
 
24
	void sendWhatsappMediaMessage(String message, String mobile, String mediaUrl, String fileName)
-
 
25
			throws HttpHostConnectException, ProfitMandiBusinessException, Exception;
-
 
26
 
-
 
27
	void optIn(String phoneNumber) throws Exception;
24
}
28
}