Subversion Repositories SmartDukaan

Rev

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

Rev 25822 Rev 25835
Line 4... Line 4...
4
import java.util.List;
4
import java.util.List;
5
 
5
 
6
import org.apache.logging.log4j.LogManager;
6
import org.apache.logging.log4j.LogManager;
7
import org.apache.logging.log4j.Logger;
7
import org.apache.logging.log4j.Logger;
8
import org.springframework.beans.factory.annotation.Autowired;
8
import org.springframework.beans.factory.annotation.Autowired;
-
 
9
import org.springframework.stereotype.Component;
9
 
10
 
10
import com.google.gson.Gson;
11
import com.google.gson.Gson;
11
import com.spice.profitmandi.common.model.SendNotificationModel;
12
import com.spice.profitmandi.common.model.SendNotificationModel;
12
import com.spice.profitmandi.dao.entity.dtr.NotificationCampaign;
13
import com.spice.profitmandi.dao.entity.dtr.NotificationCampaign;
13
import com.spice.profitmandi.dao.entity.dtr.PushNotifications;
14
import com.spice.profitmandi.dao.entity.dtr.PushNotifications;
Line 18... Line 19...
18
import com.spice.profitmandi.dao.repository.catalog.DeviceRepository;
19
import com.spice.profitmandi.dao.repository.catalog.DeviceRepository;
19
import com.spice.profitmandi.dao.repository.dtr.NotificationCampaignRepository;
20
import com.spice.profitmandi.dao.repository.dtr.NotificationCampaignRepository;
20
import com.spice.profitmandi.dao.repository.dtr.PushNotificationRepository;
21
import com.spice.profitmandi.dao.repository.dtr.PushNotificationRepository;
21
import com.spice.profitmandi.dao.repository.dtr.UserCampaignRepository;
22
import com.spice.profitmandi.dao.repository.dtr.UserCampaignRepository;
22
 
23
 
-
 
24
@Component
23
public class NotificationServiceImpl implements NotificationService {
25
public class NotificationServiceImpl implements NotificationService {
24
 
26
 
25
	@Autowired
27
	@Autowired
26
	UserCampaignRepository userCampaignRepository;
28
	UserCampaignRepository userCampaignRepository;
27
 
29