示例#1
0
 public OnlinePaymentController(ITempcartService tempcartService, ICustomerRepository customerRepository, IProspectCustomerService prospectCustomerService
                                , IEligibilityService eligibilityService, IChargeCardRepository chargeCardRepository, IEventSchedulerService eventSchedulerService, IConfigurationSettingRepository configurationSettingRepository
                                , ISettings settings, IValidator <PaymentInstrumentEditModel> paymentValidator, IEventSchedulingSlotService slotService, IAddressService addressService, IStateRepository stateRepository
                                , ICustomerService customerService, IPaymentController paymentController, ICorporateAccountRepository corporateAccountRepository, IEmailNotificationModelsFactory emailNotificationModelsFactory
                                , IEventRepository eventRepository, ICustomerRegistrationService customerRegistrationService, INotifier notifier, ICallQueueCustomerRepository callQueueCustomerRepository, IEventSchedulingSlotService eventSchedulingSlotService, IGiftCertificateService giftCertificateService, IUniqueItemRepository <ProspectCustomer> uniqueItemRepository, IToolTipRepository toolTipRepository
                                )
 {
     _tempcartService         = tempcartService;
     _customerRepository      = customerRepository;
     _prospectCustomerService = prospectCustomerService;
     _eligibilityService      = eligibilityService;
     _chargeCardRepository    = chargeCardRepository;
     _eventSchedulerService   = eventSchedulerService;
     _settings                       = settings;
     _paymentValidator               = paymentValidator;
     _slotService                    = slotService;
     _addressService                 = addressService;
     _stateRepository                = stateRepository;
     _customerService                = customerService;
     _paymentController              = paymentController;
     _corporateAccountRepository     = corporateAccountRepository;
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _eventRepository                = eventRepository;
     _customerRegistrationService    = customerRegistrationService;
     _notifier                       = notifier;
     _callQueueCustomerRepository    = callQueueCustomerRepository;
     _eventSchedulingSlotService     = eventSchedulingSlotService;
     _giftCertificateService         = giftCertificateService;
     _configurationSettingRepository = configurationSettingRepository;
     _enableTexting                  = Convert.ToBoolean(configurationSettingRepository.GetConfigurationValue(ConfigurationSettingName.EnableSmsNotification));
     _prospectCustomerRepository     = uniqueItemRepository;
     _toolTipRepository              = toolTipRepository;
 }
示例#2
0
 public RefundRequestController(IRepository <RefundRequest> repository, ISessionContext sessionContext, ISettings settings, IRefundRequestService refundRequestService, IEventCustomerService eventCustomerService, ILogManager logManager,
                                IPaymentController paymentController, ICustomerRepository customerRepository, IElectronicProductRepository electronicProductRepository, IOrderRepository orderRepository, IEmailNotificationModelsFactory emailNotificationModelsFactory,
                                IOrderController orderController, IChargeCardRepository chargeCardRepository, IOrganizationRoleUserRepository orgRoleUserRepository, IConfigurationSettingRepository configurationSettingRepository, INotifier notifier,
                                IRefundRequestRepository refundRequestRepository, IEventAppointmentCancellationLogRepository eventAppointmentCancellationLogRepository)
 {
     _repository                     = repository;
     _sessionContext                 = sessionContext;
     _isEccEnabled                   = settings.IsEccEnabled;
     _pageSize                       = settings.DefaultPageSizeForReports;
     _refundRequestService           = refundRequestService;
     _eventCustomerService           = eventCustomerService;
     _paymentController              = paymentController;
     _customerRepository             = customerRepository;
     _electronicProductRepository    = electronicProductRepository;
     _orderRepository                = orderRepository;
     _chargeCardRepository           = chargeCardRepository;
     _orderController                = orderController;
     _notifier                       = notifier;
     _configurationSettingRepository = configurationSettingRepository;
     _orgRoleUserRepository          = orgRoleUserRepository;
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _logger = logManager.GetLogger <Global>();
     _refundRequestRepository = refundRequestRepository;
     _eventAppointmentCancellationLogRepository = eventAppointmentCancellationLogRepository;
 }
示例#3
0
 public void SetUp()
 {
     IoC.Register <ISettings, FakeSettings>();
     DependencyRegistrar.RegisterDependencies();
     _notifier = IoC.Resolve <INotifier>();
     IoC.Resolve <IAutoMapperBootstrapper>().Bootstrap();
     _emailNotificationModelsFactory = IoC.Resolve <IEmailNotificationModelsFactory>();
 }
 public CancellationRescheduleAppointmentNotificationService(IEventRepository eventRepository, ICustomerRepository customerRepository, IEmailNotificationModelsFactory emailNotificationModelsFactory, INotifier notifier, ISettings settings)
 {
     _eventRepository                = eventRepository;
     _customerRepository             = customerRepository;
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _notifier = notifier;
     _sendCancelRescheduleNotificationBeforeDays = settings.SendCancelRescheduleNotificationBeforeDays;
 }
示例#5
0
 public EvaluationReminderNotificationPollingAgent(IOrganizationRoleUserRepository organizationRoleUserRepository, IPhysicianRepository physicianRepository, ILogManager logManager,
                                                   IEmailNotificationModelsFactory emailNotificationModelsFactory, INotifier notifier, IConfigurationSettingRepository configurationSettingRepository)
 {
     _organizationRoleUserRepository = organizationRoleUserRepository;
     _physicianRepository            = physicianRepository;
     _logger = logManager.GetLogger <EvaluationReminderNotificationPollingAgent>();
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _notifier = notifier;
     _configurationSettingRepository = configurationSettingRepository;
 }
 public HourlyOutreachCallReportPollingAgent(ISettings settings, ILogManager logManager,
                                             IHourlyOutreachReportingService hourlyOutreachReportingService,
                                             IBaseReportService baseReportService, INotifier notifier, IEmailNotificationModelsFactory emailNotificationModelsFactory)
 {
     _settings = settings;
     _hourlyOutreachReportingService = hourlyOutreachReportingService;
     _baseReportService = baseReportService;
     _notifier          = notifier;
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _logger = logManager.GetLogger("HourlyOutreachCallReportPollingAgent");
 }
 public KynNotificationService(IEventCustomerPackageTestDetailService eventCustomerPackageTestDetailService, ICustomerRepository customerRepository, IAppointmentRepository appointmentRepository,
                               IEventService eventService, IEmailNotificationModelsFactory notificationModelsFactory, IEventPodRepository eventPodRepository, IKynHealthAssessmentHelper kynHealthAssessmentHelper)
 {
     _eventCustomerPackageTestDetailService = eventCustomerPackageTestDetailService;
     _customerRepository        = customerRepository;
     _appointmentRepository     = appointmentRepository;
     _eventService              = eventService;
     _notificationModelsFactory = notificationModelsFactory;
     _eventPodRepository        = eventPodRepository;
     _kynHealthAssessmentHelper = kynHealthAssessmentHelper;
 }
示例#8
0
 public AnnualReminderPollingAgent(ICustomerRepository customerRepository, IEventService eventService, IEmailNotificationModelsFactory emailNotificationModelsFactory,
                                   INotifier notifier, ISettings settings, INotificationTypeRepository notificationTypeRepository, ILogManager logManager)
 {
     _customerRepository             = customerRepository;
     _eventService                   = eventService;
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _notifier = notifier;
     _settings = settings;
     _notificationTypeRepository = notificationTypeRepository;
     _logger = logManager.GetLogger <AnnualReminderPollingAgent>();
 }
 public HourlyAppointmentBookedReportPollingAgent(ISettings settings, ILogManager logManager,
                                                  IHourlyAppointmentBookedReportingService hourlyAppointmentBookedReportingService,
                                                  IAppointmentBookedExportCsvHelper appointmentBookedExportCsvHelper, INotifier notifier, IEmailNotificationModelsFactory emailNotificationModelsFactory)
 {
     _settings = settings;
     _hourlyAppointmentBookedReportingService = hourlyAppointmentBookedReportingService;
     _appointmentBookedExportCsvHelper        = appointmentBookedExportCsvHelper;
     _notifier = notifier;
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _logger = logManager.GetLogger("HourlyAppointmentBookedReportPollingAgent");
 }
示例#10
0
        public PriorityInQueueNotificationPollingAgent(ILogManager logManager, INotifier notifier, IEmailNotificationModelsFactory emailNotificationModelsFactory, ISettings settings,
                                                       ICustomerEventPriorityInQueueDataRepository customerEventPriorityInQueueDataRepository, IEventCustomerResultRepository eventCustomerResultRepository, IEventCustomerNotificationRepository eventCustomerNotificationRepository)
        {
            _logger = logManager.GetLogger <PriorityInQueueNotificationPollingAgent>();
            _emailNotificationModelsFactory = emailNotificationModelsFactory;
            _notifier = notifier;
            _settings = settings;

            _customerEventPriorityInQueueDataRepository = customerEventPriorityInQueueDataRepository;
            _eventCustomerResultRepository       = eventCustomerResultRepository;
            _eventCustomerNotificationRepository = eventCustomerNotificationRepository;
        }
示例#11
0
 public SurveyEmailPollingAgent(IEventRepository eventRepository, IEventCustomerRepository eventCustomerRepository, ICustomerRepository customerRepository, IPodRepository podRepository,
                                IEmailNotificationModelsFactory emailNotificationModelsFactory, INotifier notifier, ILogManager logManager, ICorporateAccountRepository corporateAccountRepository, IEmailTemplateRepository emailTemplateRepository)
 {
     _eventRepository = eventRepository;
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _podRepository           = podRepository;
     _customerRepository      = customerRepository;
     _eventCustomerRepository = eventCustomerRepository;
     _logger   = logManager.GetLogger <SurveyEmailPollingAgent>();
     _notifier = notifier;
     _corporateAccountRepository = corporateAccountRepository;
     _emailTemplateRepository    = emailTemplateRepository;
 }
示例#12
0
 public LockCorporateEventPollingAgent(ILogManager logManager, ISettings settings, IEventRepository eventRepository, ICorporateAccountRepository corporateAccountRepository,
                                       IOrganizationRoleUserRepository organizationRoleUserRepository, INotifier notifier, IEmailNotificationModelsFactory emailNotificationModelsFactory, IUserRepository <User> userRepository, IEventService eventService)
 {
     _logger                         = logManager.GetLogger("LockCorporateEvent");
     _settings                       = settings;
     _eventRepository                = eventRepository;
     _corporateAccountRepository     = corporateAccountRepository;
     _organizationRoleUserRepository = organizationRoleUserRepository;
     _notifier                       = notifier;
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _userRepository                 = userRepository;
     _eventService                   = eventService;
 }
        public MemberTermByAbsenceService(ICustomerRepository customerRepository, ILogManager logManager,
                                          ICorporateUploadRepository corporateUploadRepository, IUniqueItemRepository <CorporateAccount> corporateAccountRepository,
                                          ICustomerEligibilityService customerEligibilityService, IEmailNotificationModelsFactory emailNotificationModelsFactory, INotifier notifier)
        {
            _customerRepository         = customerRepository;
            _corporateUploadRepository  = corporateUploadRepository;
            _corporateAccountRepository = corporateAccountRepository;
            _customerEligibilityService = customerEligibilityService;
            _logger = logManager.GetLogger("MemberTermByAbsence");

            _emailNotificationModelsFactory = emailNotificationModelsFactory;
            _notifier = notifier;
        }
 public ProspectCustomerFollowupPollingAgent(IProspectCustomerRepository prospectCustomerRepository, IEventService eventService, IEmailNotificationModelsFactory emailNotificationModelsFactory,
                                             INotifier notifier, ISettings settings, INotificationTypeRepository notificationTypeRepository, ILogManager logManager, ICustomerRepository customerRepository, INotificationRepository notificationRepository)
 {
     _prospectCustomerRepository = prospectCustomerRepository;
     _eventService = eventService;
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _notifier = notifier;
     _settings = settings;
     _notificationTypeRepository = notificationTypeRepository;
     _customerRepository         = customerRepository;
     _notificationRepository     = notificationRepository;
     _logger = logManager.GetLogger <ProspectCustomerFollowupPollingAgent>();
 }
示例#15
0
 public LoginOtpService(ILoginOtpRepository loginOtpRepository, IConfigurationSettingRepository configurationSettingRepository, IRandomStringGenerator randomStringGenerator,
                        INotifier notifier, IPhoneNotificationModelsFactory smsNotificationModelsFactory, IEmailNotificationModelsFactory emailNotificationModelsFactory, ILoginSettingRepository loginSettingRepository,
                        ISessionContext sessionContext)
 {
     _loginOtpRepository             = loginOtpRepository;
     _configurationSettingRepository = configurationSettingRepository;
     _randomStringGenerator          = randomStringGenerator;
     _notifier = notifier;
     _smsNotificationModelsFactory   = smsNotificationModelsFactory;
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _loginSettingRepository         = loginSettingRepository;
     _sessionContext = sessionContext;
 }
 public NoShowCustomerPollingAgent(ILogManager logManager, ISettings settings, IEventCustomerRepository eventCustomerRepository, IAppointmentRepository appointmentRepository, IEmailNotificationModelsFactory emailNotificationModelsFactory,
                                   INotifier notifier, IEventRepository eventRepository, ISmsHelper smsHelper)
 {
     _eventRepository                = eventRepository;
     _smsHelper                      = smsHelper;
     _eventCustomerRepository        = eventCustomerRepository;
     _appointmentRepository          = appointmentRepository;
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _notifier = notifier;
     _logger   = logManager.GetLogger <NoShowCustomerPollingAgent>();
     _minutesAfterAppointmentTime    = settings.MinutesAfterAppointmentTime;
     _noShowCustomerScheduleInterval = settings.NoShowCustomerScheduleInterval;
 }
示例#17
0
        public CustomerRegistrationService(IMassRegistrationEditModelFactory massRegistrationEditModelFactory, ISessionContext sessionContext,
                                           ICustomerService customerService, IOrganizationRoleUserRepository orgRoleUserRepository,
                                           IEventPackageRepository eventPackageRepository, IEventCustomerRepository eventCustomerRepository, IOrderController orderController,
                                           IAddressService addressService, IShippingOptionRepository shippingOptionRepository, IShippingController shippingController, INotifier notifier,
                                           IEmailNotificationModelsFactory emailNotificationModelsFactory, IEventTestRepository eventTestRepository, ISettings settings, IStateRepository stateRepository,
                                           IEventAppointmentService eventAppointmentService, IEventPackageSelectorService eventPackageSelectorService, IEventSchedulingSlotService eventSchedulingSlotService,
                                           IEventRepository eventRepository, IPhoneNotificationModelsFactory smsNotificationModelsFactory, ICorporateAccountRepository corporateAccountRepository,
                                           IEmailTemplateRepository emailTemplateRepository, ICustomerRepository customerRepository, ICustomerNotesService customerNotesService,
                                           ILanguageRepository languageRepository, ILabRepository labRepository, IUserLoginRepository userLoginRepository, ILogManager logManager,
                                           IEventCustomerNotificationRepository eventCustomerNotificationRepository, ICorporateCustomerUploadService corporateCustomerUploadService,
                                           ICurrentMedicationRepository currentMedicationRepository, ICustomerIcdCodesRepository customerIcdCodesRepository,
                                           IEventCustomerCurrentMedicationRepository eventCustomerCurrentMedicationRepository, IEventCustomerIcdCodesRepository eventCustomerIcdCodesRepository)
        {
            _massRegistrationEditModelFactory = massRegistrationEditModelFactory;
            _sessionContext           = sessionContext;
            _customerService          = customerService;
            _orgRoleUserRepository    = orgRoleUserRepository;
            _eventPackageRepository   = eventPackageRepository;
            _eventCustomerRepository  = eventCustomerRepository;
            _orderController          = orderController;
            _addressService           = addressService;
            _shippingOptionRepository = shippingOptionRepository;
            _shippingController       = shippingController;
            _notifier = notifier;
            _emailNotificationModelsFactory = emailNotificationModelsFactory;
            _eventTestRepository            = eventTestRepository;
            _settings                     = settings;
            _stateRepository              = stateRepository;
            _eventAppointmentService      = eventAppointmentService;
            _eventPackageSelectorService  = eventPackageSelectorService;
            _eventSchedulingSlotService   = eventSchedulingSlotService;
            _eventRepository              = eventRepository;
            _smsNotificationModelsFactory = smsNotificationModelsFactory;
            _corporateAccountRepository   = corporateAccountRepository;
            _emailTemplateRepository      = emailTemplateRepository;
            _customerRepository           = customerRepository;
            _customerNotesService         = customerNotesService;

            _languageRepository  = languageRepository;
            _labRepository       = labRepository;
            _userLoginRepository = userLoginRepository;

            _eventCustomerNotificationRepository = eventCustomerNotificationRepository;

            _corporateCustomerUploadService           = corporateCustomerUploadService;
            _currentMedicationRepository              = currentMedicationRepository;
            _customerIcdCodesRepository               = customerIcdCodesRepository;
            _eventCustomerCurrentMedicationRepository = eventCustomerCurrentMedicationRepository;
            _eventCustomerIcdCodesRepository          = eventCustomerIcdCodesRepository;
            _logger = logManager.GetLogger("Customer Registration Service");
        }
 public DirectMailActivityReminderPollingAgent(ILogManager logManager, IEmailNotificationModelsFactory emailNotificationModelsFactory, INotifier notifier,
                                               ICampaignRepository campaignRepository, ICampaignActivityRepository campaignActivityRepository, ICampaignActivityAssignmentRepository campaignActivityAssignmentRepository,
                                               IOrganizationRoleUserRepository organizationRoleUserRepository, IUserRepository <User> userRepository, IOrganizationRepository organizationRepository)
 {
     _logger = logManager.GetLogger("DirectMailActivityReminder");
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _notifier                             = notifier;
     _campaignRepository                   = campaignRepository;
     _campaignActivityRepository           = campaignActivityRepository;
     _campaignActivityAssignmentRepository = campaignActivityAssignmentRepository;
     _organizationRoleUserRepository       = organizationRoleUserRepository;
     _userRepository                       = userRepository;
     _organizationRepository               = organizationRepository;
 }
示例#19
0
        public TestUpsellPollingAgent(ILogManager logManager, INotificationTypeRepository notificationTypeRepository, IEmailNotificationModelsFactory emailNotificationModelsFactory, INotifier notifier,
                                      IEventCustomerRepository eventCustomerRepository, ICustomerRepository customerRepository, IEventTestRepository eventTestRepository, IOrderRepository orderRepository, IEventPackageRepository eventPackageRepository)
        {
            _logger = logManager.GetLogger <TestUpsellPollingAgent>();
            _notificationTypeRepository     = notificationTypeRepository;
            _emailNotificationModelsFactory = emailNotificationModelsFactory;
            _notifier = notifier;

            _eventCustomerRepository = eventCustomerRepository;
            _customerRepository      = customerRepository;
            _eventTestRepository     = eventTestRepository;
            _orderRepository         = orderRepository;
            _eventPackageRepository  = eventPackageRepository;
        }
示例#20
0
 public ScreeningReminderPollingAgent(IEventRepository eventRepository, IEventCustomerRepository eventCustomerRepository, IEmailNotificationModelsFactory emailNotificationModelsFactory, ICustomerRepository customerRepository,
                                      INotifier notifier, ILogManager logManager, ISettings settings, IConfigurationSettingRepository configurationSettingRepository, ICorporateAccountRepository corporateAccountRepository,
                                      IEmailTemplateRepository emailTemplateRepository)
 {
     _eventRepository                = eventRepository;
     _eventCustomerRepository        = eventCustomerRepository;
     _customerRepository             = customerRepository;
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _notifier = notifier;
     _logger   = logManager.GetLogger <ScreeningReminderPollingAgent>();
     _daysIntervalBeforeEvent        = settings.DaysBeforeScreeningReminder;
     _configurationSettingRepository = configurationSettingRepository;
     _corporateAccountRepository     = corporateAccountRepository;
     _emailTemplateRepository        = emailTemplateRepository;
 }
示例#21
0
        public EmailTemplateService(IEmailTemplateRepository emailTemplateRepository, IEmailTemplateEditModelFactory emailTemplateEditModelFactory,
                                    IEmailNotificationModelsFactory emailNotificationModelsFactory, IEmailTemplateMacroRepository emailTemplateMacroRepository,
                                    ITemplateMacroRepository templateMacroRepository, INotificationTypeRepository notificationTypeRepository, IEmailTemplateFormatter emailTemplateFormatter,
                                    IPhoneNotificationModelsFactory phoneNotificationModelsFactory)
        {
            _emailTemplateEditModelFactory = emailTemplateEditModelFactory;
            _emailTemplateRepository       = emailTemplateRepository;

            _emailNotificationModelsFactory = emailNotificationModelsFactory;
            _emailTemplateMacroRepository   = emailTemplateMacroRepository;
            _templateMacroRepository        = templateMacroRepository;
            _notificationTypeRepository     = notificationTypeRepository;
            _emailTemplateFormatter         = emailTemplateFormatter;
            _phoneNotificationModelsFactory = phoneNotificationModelsFactory;
        }
 public SendNotiificationToNursePractitionerPollingAgent(IEmailNotificationModelsFactory emailNotificationModelsFactory,
                                                         IEventCustomerResultRepository eventCustomerResultRepository, ILogManager logManager, INotifier notifier,
                                                         ISettings settings, ITestResultService testResultService, INewResultFlowStateService newResultFlowStateService,
                                                         IOrganizationRoleUserRepository organizationRoleUserRepository, IEventCustomerRepository eventCustomerRepository)
 {
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _eventCustomerResultRepository  = eventCustomerResultRepository;
     _testResultService              = testResultService;
     _newResultFlowStateService      = newResultFlowStateService;
     _organizationRoleUserRepository = organizationRoleUserRepository;
     _eventCustomerRepository        = eventCustomerRepository;
     _notifier = notifier;
     _settings = settings;
     _logger   = logManager.GetLogger("SendNotiificationToNursePractitionerPollingAgent");
 }
 public MergeCustomerPollingAgent(ISettings settings, ILogManager logManager, IMergeCustomerUploadRepository mergeCustomerUploadRepository, IUniqueItemRepository <File> fileRepository,
                                  IMediaRepository mediaRepository, ICsvReader csvReader, IMergeCustomerUploadHelper mergeCustomerUploadHelper, IMergeCustomerUploadLogRepository mergeCustomerUploadLogRepository,
                                  IMergeCustomerUploadService mergeCustomerUploadService, IEmailNotificationModelsFactory emailNotificationModelsFactory, INotifier notifier)
 {
     _mergeCustomerUploadRepository = mergeCustomerUploadRepository;
     _fileRepository                   = fileRepository;
     _mediaRepository                  = mediaRepository;
     _csvReader                        = csvReader;
     _mergeCustomerUploadHelper        = mergeCustomerUploadHelper;
     _mergeCustomerUploadLogRepository = mergeCustomerUploadLogRepository;
     _mergeCustomerUploadService       = mergeCustomerUploadService;
     _emailNotificationModelsFactory   = emailNotificationModelsFactory;
     _notifier         = notifier;
     _isDevEnvironment = settings.IsDevEnvironment;
     _logger           = logManager.GetLogger("MergeCustomer");
 }
示例#24
0
        public CorporateEventResultReadyNotificationPollingAgent(ILogManager logManager, INotifier notifier, IEmailNotificationModelsFactory emailNotificationModelsFactory, INotificationTypeRepository notificationTypeRepository,
                                                                 IEventCustomerResultRepository eventCustomerResultRepository, IOrganizationRoleUserRepository organizationRoleUserRepository, IEventNotificationRepository eventNotificationRepository,
                                                                 IUserRepository <User> userRepository, IEventService eventService, ICorporateAccountRepository corporateAccountRepository, ISettings settings)
        {
            _logger = logManager.GetLogger <EventResultReadyNotificationPollingAgent>();

            _notifier = notifier;
            _emailNotificationModelsFactory = emailNotificationModelsFactory;
            _notificationTypeRepository     = notificationTypeRepository;
            _eventCustomerResultRepository  = eventCustomerResultRepository;
            _organizationRoleUserRepository = organizationRoleUserRepository;
            _eventNotificationRepository    = eventNotificationRepository;
            _userRepository             = userRepository;
            _eventService               = eventService;
            _cutofDate                  = settings.CorporateEventResultReadyCutoffDate;
            _corporateAccountRepository = corporateAccountRepository;
        }
示例#25
0
        public ResultReadyNotificationPollingAgent(ILogManager logManager, IEventCustomerResultRepository eventCustomerResultRepository, ICustomerRepository customerRepository, IConfigurationSettingRepository configurationSettingRepository,
                                                   IEventRepository eventRepository, IShippingDetailRepository shippingDetailRepository, IDigitalAssetAccessLogRepository digitalAssetAccessLogRepository, INotifier notifier, IEmailNotificationModelsFactory emailNotificationModelsFactory,
                                                   ISettings setting, ICorporateAccountRepository corporateAccountRepository, IEmailTemplateRepository emailTemplateRepository, IPrimaryCarePhysicianRepository primaryCarePhysicianRepository)
        {
            _logger = logManager.GetLogger <ResultReadyNotificationPollingAgent>();
            _eventCustomerResultRepository  = eventCustomerResultRepository;
            _customerRepository             = customerRepository;
            _configurationSettingRepository = configurationSettingRepository;
            _eventRepository                 = eventRepository;
            _shippingDetailRepository        = shippingDetailRepository;
            _digitalAssetAccessLogRepository = digitalAssetAccessLogRepository;

            _notifier = notifier;
            _emailNotificationModelsFactory = emailNotificationModelsFactory;

            _setting = setting;
            _corporateAccountRepository     = corporateAccountRepository;
            _emailTemplateRepository        = emailTemplateRepository;
            _primaryCarePhysicianRepository = primaryCarePhysicianRepository;
        }
        public EventResultReadyNotificationPollingAgent(ILogManager logManager, INotifier notifier, IEmailNotificationModelsFactory emailNotificationModelsFactory, INotificationTypeRepository notificationTypeRepository,
                                                        IEventCustomerResultRepository eventCustomerResultRepository, IHospitalPartnerRepository hospitalPartnerRepository, IOrganizationRoleUserRepository organizationRoleUserRepository,
                                                        IEventNotificationRepository eventNotificationRepository, IUserRepository <User> userRepository, IEventService eventService, IHospitalFacilityRepository hospitalFacilityRepository,
                                                        ICorporateAccountRepository corporateAccountRepository)
        {
            _logger = logManager.GetLogger <EventResultReadyNotificationPollingAgent>();

            _notifier = notifier;
            _emailNotificationModelsFactory = emailNotificationModelsFactory;
            _notificationTypeRepository     = notificationTypeRepository;

            _eventCustomerResultRepository  = eventCustomerResultRepository;
            _hospitalPartnerRepository      = hospitalPartnerRepository;
            _organizationRoleUserRepository = organizationRoleUserRepository;
            _eventNotificationRepository    = eventNotificationRepository;
            _userRepository             = userRepository;
            _eventService               = eventService;
            _hospitalFacilityRepository = hospitalFacilityRepository;
            _corporateAccountRepository = corporateAccountRepository;
        }
示例#27
0
        public ResultNotificationPollingAgent(IEventCustomerResultRepository eventCustomerResultRepository, IEmailNotificationModelsFactory emailNotificationModelsFactory, ICustomerRepository customerRepository,
                                              INotifier notifier, ILogManager logManager, ISettings settings, IConfigurationSettingRepository configurationSettingRepository, IOrderRepository orderRepository, IShippingDetailRepository shippingDetailRepository,
                                              IEventRepository eventRepository, ICorporateAccountRepository corporateAccountRepository, IEmailTemplateRepository emailTemplateRepository, IPrimaryCarePhysicianRepository primaryCarePhysicianRepository)
        {
            _eventCustomerResultRepository  = eventCustomerResultRepository;
            _emailNotificationModelsFactory = emailNotificationModelsFactory;
            _customerRepository             = customerRepository;
            _notifier             = notifier;
            _testResultRepository = new TestResultRepository();
            _logger = logManager.GetLogger <ResultNotificationPollingAgent>();
            _buffer = settings.IntervalResultDeliveryBuffer;

            _configurationSettingRepository = configurationSettingRepository;
            _orderRepository                = orderRepository;
            _shippingDetailRepository       = shippingDetailRepository;
            _eventRepository                = eventRepository;
            _corporateAccountRepository     = corporateAccountRepository;
            _emailTemplateRepository        = emailTemplateRepository;
            _primaryCarePhysicianRepository = primaryCarePhysicianRepository;
            _settings = settings;
        }
示例#28
0
        public PhysicianPartnerSendFaxPollingAgent(INotificationRepository notificationRepository, ICalendar calendar, ILogManager logManager, INotificationMediumRepository notificationMediumRepository, IEFaxApi eFaxApi, IEventCustomerNotificationRepository eventCustomerNotificationRepository, IEventCustomerRepository eventCustomerRepository, ICustomerRepository customerRepository, IEmailNotificationModelsFactory emailNotificationModelsFactory, INotifier notifier, IPrimaryCarePhysicianRepository primaryCarePhysicianRepository, IEventRepository eventRepository, ISettings settings, INotificationTypeRepository notificationTypeRepository)
        {
            _notificationRepository = notificationRepository;
            _calendar = calendar;
            _notificationMediumRepository = notificationMediumRepository;
            _eFaxApi = eFaxApi;
            _eventCustomerNotificationRepository = eventCustomerNotificationRepository;
            _eventCustomerRepository             = eventCustomerRepository;
            _customerRepository             = customerRepository;
            _emailNotificationModelsFactory = emailNotificationModelsFactory;
            _notifier = notifier;
            _primaryCarePhysicianRepository = primaryCarePhysicianRepository;
            _eventRepository            = eventRepository;
            _notificationTypeRepository = notificationTypeRepository;

            _timeIntervalToPingApi = settings.TimeIntervalToPingApi;
            _emergencyFaxNumber    = settings.EmergencyFaxNumber;
            _maximumWaitTime       = settings.MaximumTimeToWaitApi;

            _logger = logManager.GetLogger <NotificationPollingAgent>();
        }
示例#29
0
        public MemberUploadbyAcesPollingAgent(ICorporateUploadService corporateUploadService, ICorporateAccountRepository corporateAccountRepository,
                                              ISettings settings, ILogManager logManager, IPipeDelimitedReportHelper pipeDelimitedReportHelper, IAccountAdditionalFieldRepository accountAdditionalFieldRepository,
                                              ILanguageRepository languageRepository, ILabRepository labRepository, ICorporateUploadHelper corporateUploadHelper,
                                              IMediaRepository mediaRepository, ICustomerRepository customerRepository, IPatientWithNoCustomTagFactory patientWithNoCustomTagFactory,
                                              IEmailNotificationModelsFactory emailNotificationModelsFactory, INotifier notifier, IMemberUploadbyAcesFailedCustomerFactory memberUploadbyAcesFailedCustomerFactory,
                                              IPreApprovedPackageRepository preApprovedPackageRepository, IPreApprovedTestRepository preApprovedTestRepository,
                                              IMemberUploadLogRepository memberUploadLogRepository, IMemberTermByAbsencePublisher memberTermByAbsencePublisher, IMemberUploadByAcesHelper memberUploadByAcesHelper,
                                              IMemberUploadParseDetailRepository memberUploadParseDetailRepository, IMemberUploadParseDetailFactory memberUploadParseDetailFactory,
                                              ICustomerWithDuplicateAcesIdFileGenerator customerWithDuplicateAcesIdFileGenerator, ICorporateUploadRepository corporateUploadRepository)
        {
            _corporateUploadService           = corporateUploadService;
            _corporateAccountRepository       = corporateAccountRepository;
            _pipeDelimitedReportHelper        = pipeDelimitedReportHelper;
            _accountAdditionalFieldRepository = accountAdditionalFieldRepository;
            _languageRepository            = languageRepository;
            _labRepository                 = labRepository;
            _corporateUploadHelper         = corporateUploadHelper;
            _mediaRepository               = mediaRepository;
            _customerRepository            = customerRepository;
            _patientWithNoCustomTagFactory = patientWithNoCustomTagFactory;

            _memberUploadbyAcesSourceFolderPath = settings.MemberUploadbyAcesSourceFolderPath;

            _emailNotificationModelsFactory = emailNotificationModelsFactory;
            _notifier = notifier;

            _memberUploadbyAcesFailedCustomerFactory = memberUploadbyAcesFailedCustomerFactory;
            _preApprovedPackageRepository            = preApprovedPackageRepository;
            _preApprovedTestRepository                = preApprovedTestRepository;
            _memberUploadLogRepository                = memberUploadLogRepository;
            _memberTermByAbsencePublisher             = memberTermByAbsencePublisher;
            _memberUploadByAcesHelper                 = memberUploadByAcesHelper;
            _memberUploadParseDetailRepository        = memberUploadParseDetailRepository;
            _memberUploadParseDetailFactory           = memberUploadParseDetailFactory;
            _stopMemberUploadbyAces                   = settings.StopMemberUploadbyAces;
            _customerWithDuplicateAcesIdFileGenerator = customerWithDuplicateAcesIdFileGenerator;

            _corporateUploadRepository = corporateUploadRepository;
            _logger = logManager.GetLogger("MemberUploadbyAcesPollingAgent");
        }
示例#30
0
 public AwvSendFaxPollingAgent(INotificationRepository notificationRepository,
                               ILogManager logManager, INotificationMediumRepository notificationMediumRepository, //IEFaxApi eFaxApi,
                               IEventCustomerNotificationRepository eventCustomerNotificationRepository,
                               IEventCustomerRepository eventCustomerRepository, ICustomerRepository customerRepository,
                               IEmailNotificationModelsFactory emailNotificationModelsFactory, INotifier notifier,
                               IPrimaryCarePhysicianRepository primaryCarePhysicianRepository, IEventRepository eventRepository,
                               ISettings settings, INotificationTypeRepository notificationTypeRepository, IEFaxHelperService eFaxHealperService)
 {
     _notificationRepository              = notificationRepository;
     _notificationMediumRepository        = notificationMediumRepository;
     _eventCustomerNotificationRepository = eventCustomerNotificationRepository;
     _eventCustomerRepository             = eventCustomerRepository;
     _customerRepository             = customerRepository;
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _notifier = notifier;
     _primaryCarePhysicianRepository = primaryCarePhysicianRepository;
     _eventRepository            = eventRepository;
     _settings                   = settings;
     _notificationTypeRepository = notificationTypeRepository;
     _eFaxHealperService         = eFaxHealperService;
     _logger = logManager.GetLogger <AwvSendFaxPollingAgent>();
 }