Rev 30859 | Rev 32253 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.service;import com.spice.profitmandi.common.enumuration.MessageType;import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;import com.spice.profitmandi.common.model.SendNotificationModel;import org.apache.http.conn.HttpHostConnectException;import org.springframework.stereotype.Service;@Servicepublic interface NotificationService {void sendNotification(SendNotificationModel sendNotificationModel) throws ProfitMandiBusinessException;void sendNotificationToAll(SendNotificationModel sendNotificationModel) throws ProfitMandiBusinessException;void sendNotification(int fofoId, String campaignName, MessageType messageType, String title, String message)throws ProfitMandiBusinessException;void sendNotification(int fofoId, String campaignName, MessageType messageType, String title, String message,String Url) throws ProfitMandiBusinessException;void sendWhatsappMessage(String message, String title, String mobile)throws HttpHostConnectException, ProfitMandiBusinessException;}