Subversion Repositories SmartDukaan

Rev

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

Rev 26092 Rev 26121
Line 1991... Line 1991...
1991
			SendNotificationModel sendNotificationModel = new SendNotificationModel();
1991
			SendNotificationModel sendNotificationModel = new SendNotificationModel();
1992
			sendNotificationModel.setCampaignName("Lead Reminder");
1992
			sendNotificationModel.setCampaignName("Lead Reminder");
1993
			sendNotificationModel.setTitle("Leads followup Reminder");
1993
			sendNotificationModel.setTitle("Leads followup Reminder");
1994
			sendNotificationModel.setMessage(notificationMessage);
1994
			sendNotificationModel.setMessage(notificationMessage);
1995
			sendNotificationModel.setType("url");
1995
			sendNotificationModel.setType("url");
1996
			sendNotificationModel.setUrl("http://app.profitmandi.com/pages/home/notifications");
1996
			sendNotificationModel.setUrl("http://app.smartdukaan.com/pages/home/notifications");
1997
			sendNotificationModel.setExpiresat(LocalDateTime.now().plusDays(2));
1997
			sendNotificationModel.setExpiresat(LocalDateTime.now().plusDays(2));
1998
			sendNotificationModel.setMessageType(MessageType.reminder);
1998
			sendNotificationModel.setMessageType(MessageType.reminder);
1999
			sendNotificationModel.setUserIds(Arrays.asList(authUserKeyMap.get(lead.getAuthId())));
1999
			sendNotificationModel.setUserIds(Arrays.asList(authUserKeyMap.get(lead.getAuthId())));
2000
			System.out.println(sendNotificationModel);
2000
			System.out.println(sendNotificationModel);
2001
			notificationService.sendNotification(sendNotificationModel);
2001
			notificationService.sendNotification(sendNotificationModel);