Subversion Repositories SmartDukaan

Rev

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

Rev 30025 Rev 30066
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.exception.ProfitMandiBusinessException;
4
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
4
import com.spice.profitmandi.common.model.SendNotificationModel;
5
import com.spice.profitmandi.common.model.SendNotificationModel;
5
import org.springframework.stereotype.Service;
6
import org.springframework.stereotype.Service;
6
 
7
 
7
@Service
8
@Service
8
public interface NotificationService {
9
public interface NotificationService {
9
	void sendNotification(SendNotificationModel sendNotificationModel) throws ProfitMandiBusinessException;
10
	void sendNotification(SendNotificationModel sendNotificationModel) throws ProfitMandiBusinessException;
10
 
11
 
11
	void sendNotificationToAll(SendNotificationModel sendNotificationModel) throws ProfitMandiBusinessException;
12
	void sendNotificationToAll(SendNotificationModel sendNotificationModel) throws ProfitMandiBusinessException;
12
 
13
 
13
	void sendNotification(int fofoId, String campaignName, String title, String message) throws ProfitMandiBusinessException;
14
	void sendNotification(int fofoId, String campaignName, MessageType messageType, String title, String message) throws ProfitMandiBusinessException;
14
}
15
}