コード例 #1
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;
        }
コード例 #2
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");
        }
コード例 #3
0
        public PhysicianPartnerQueueFaxPollingAgent(IEventCustomerResultRepository eventCustomerResultRepository, INotifier notifier, ILogManager logManager, IPrimaryCarePhysicianRepository pcpRepository,
                                                    IMediaRepository mediaRepository, IEventCustomerNotificationRepository eventCustomerNotificationRepository, IConfigurationSettingRepository configurationSettingRepository, ISettings settings, IUniqueItemRepository <CorporateAccount> corporateAccountRepository)
        {
            _eventCustomerResultRepository = eventCustomerResultRepository;

            _notifier        = notifier;
            _faxInterval     = settings.FaxServiceInvokeInterval;
            _logger          = logManager.GetLogger <ResultNotificationPollingAgent>();
            _pcpRepository   = pcpRepository;
            _mediaRepository = mediaRepository;
            _eventCustomerNotificationRepository = eventCustomerNotificationRepository;
            _configurationSettingRepository      = configurationSettingRepository;
            _settings = settings;
            _corporateAccountRepository = corporateAccountRepository;
        }
コード例 #4
0
        public EventCustomNotificationPollingAgent(ILogManager logManager, IEventCustomerRepository eventCustomerRepository,
                                                   ICorporateAccountRepository corporateAccountRepository, ICustomEventNotificationRepository customEventNotificationRepository,
                                                   ICustomerRepository customerRepository, IEventCustomerNotificationRepository eventCustomerNotificationRepository, IEventCustomerCustomNotificationRepository eventCustomerCustomNotificationRepository,
                                                   IPhoneNotificationModelsFactory phoneNotificationModelsFactory, INotifier notifier, INotificationTypeRepository notificationTypeRepository)
        {
            _logger = logManager.GetLogger("EventCustomNotification");

            _eventCustomerRepository = eventCustomerRepository;

            _corporateAccountRepository        = corporateAccountRepository;
            _customEventNotificationRepository = customEventNotificationRepository;
            _customerRepository = customerRepository;
            _eventCustomerNotificationRepository = eventCustomerNotificationRepository;
            _phoneNotificationModelsFactory      = phoneNotificationModelsFactory;
            _notifier = notifier;
            _notificationTypeRepository = notificationTypeRepository;
            _eventCustomerCustomNotificationRepository = eventCustomerCustomNotificationRepository;
        }
コード例 #5
0
 public NotificationController(INotificationTypeRepository notificationTypeRepository, ILogManager logManager, ISessionContext sessionContext, ISettings settings, ICustomerRepository customerRepository, INotifier notifier,
                               IEventRepository eventRepository, IPhoneNotificationModelsFactory phoneNotificationModelsFactory, IEventCustomerNotificationRepository eventCustomerNotificationRepository, IEventCustomerRepository eventCustomerRepository,
                               IEmailTemplateRepository emailTemplateRepository, ICorporateAccountRepository corporateAccountRepository, IEventService eventService)
 {
     _notificationTypeRepository = notificationTypeRepository;
     _sessionContext             = sessionContext;
     _customerRepository         = customerRepository;
     _notifier        = notifier;
     _eventRepository = eventRepository;
     _phoneNotificationModelsFactory      = phoneNotificationModelsFactory;
     _eventCustomerNotificationRepository = eventCustomerNotificationRepository;
     _eventCustomerRepository             = eventCustomerRepository;
     _emailTemplateRepository             = emailTemplateRepository;
     _corporateAccountRepository          = corporateAccountRepository;
     _eventService    = eventService;
     _logger          = logManager.GetLogger <Global>();
     _defaultPageSize = settings.DefaultPageSizeForReports;
 }
コード例 #6
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>();
        }
コード例 #7
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>();
 }
コード例 #8
0
 public HospitalPartnerService(IEventCustomerRepository eventCustomerRepository, ICustomerRepository customerRepository, IOrderRepository orderRepository, IEventPackageRepository eventPackageRepository,
                               IEventTestRepository eventTestRepository, IHospitalPartnerCustomerViewModelFactory hospitalPartnerCustomerViewModelFactory, IEventCustomerResultRepository eventCustomerResultRepository, IHospitalPartnerRepository hospitalPartnerRepository,
                               IHospitalPartnerCustomerRepository hospitalPartnerCustomerRepository, IOrganizationRoleUserRepository organizationRoleUserRepository, IEventRepository eventRepository, IPodRepository podRepository, IOrganizationRepository organizationRepository,
                               IHostRepository hostRepository, IHospitalPartnerEventListFactory hospitalPartnerEventListFactory, IUniqueItemRepository <ShippingDetail> shippingDetailRepository, IShippingOptionRepository shippingOptionRepository,
                               ICorporateAccountRepository corporateAccountRepository, INotesRepository notesRepository, IPrimaryCarePhysicianRepository primaryCarePhysicianRepository, IHealthAssessmentRepository healthAssessmentRepository,
                               IHospitalPartnerDashboardViewModelFactory hospitalPartnerViewModelFactory, ICustomerCallNotesRepository customerCallNotesRepository, IEventCustomerNotificationRepository eventCustomerNotificationRepository,
                               IHospitalFacilityRepository hospitalFacilityRepository, ISettings settings, ILanguageRepository languageRepository)
 {
     _eventCustomerRepository = eventCustomerRepository;
     _customerRepository      = customerRepository;
     _orderRepository         = orderRepository;
     _eventPackageRepository  = eventPackageRepository;
     _eventTestRepository     = eventTestRepository;
     _hospitalPartnerCustomerViewModelFactory = hospitalPartnerCustomerViewModelFactory;
     _eventCustomerResultRepository           = eventCustomerResultRepository;
     _hospitalPartnerCustomerRepository       = hospitalPartnerCustomerRepository;
     _organizationRoleUserRepository          = organizationRoleUserRepository;
     _eventRepository = eventRepository;
     _hostRepository  = hostRepository;
     _hospitalPartnerEventListFactory = hospitalPartnerEventListFactory;
     _shippingDetailRepository        = shippingDetailRepository;
     _shippingOptionRepository        = shippingOptionRepository;
     _podRepository                       = podRepository;
     _hospitalPartnerRepository           = hospitalPartnerRepository;
     _organizationRepository              = organizationRepository;
     _corporateAccountRepository          = corporateAccountRepository;
     _notesRepository                     = notesRepository;
     _primaryCarePhysicianRepository      = primaryCarePhysicianRepository;
     _healthAssessmentRepository          = healthAssessmentRepository;
     _hospitalPartnerViewModelFactory     = hospitalPartnerViewModelFactory;
     _customerCallNotesRepository         = customerCallNotesRepository;
     _eventCustomerNotificationRepository = eventCustomerNotificationRepository;
     _hospitalFacilityRepository          = hospitalFacilityRepository;
     _settings           = settings;
     _languageRepository = languageRepository;
 }