Exemplo n.º 1
0
 public CheckScannerBatchProcessor(ICheckScannerService checkScannerService, IEmailCommunication emailService, IConfigurationWrapper configuration)
 {
     _checkScannerService = checkScannerService;
     _emailService        = emailService;
     _checkScannerBatchSuccessTemplateId = configuration.GetConfigIntValue("CheckScannerBatchSuccessTemplateId");
     _checkScannerBatchFailureTemplateId = configuration.GetConfigIntValue("CheckScannerBatchFailureTemplateId");
 }
Exemplo n.º 2
0
 public LoginService(IAuthenticationRepository authenticationService, IConfigurationWrapper configurationWrapper, IContactRepository contactService, IEmailCommunication emailCommunication, IUserRepository userService)
 {
     _configurationWrapper  = configurationWrapper;
     _contactService        = contactService;
     _emailCommunication    = emailCommunication;
     _userService           = userService;
     _authenticationService = authenticationService;
 }
Exemplo n.º 3
0
 public LoginService(IAuthenticationService authenticationService, IConfigurationWrapper configurationWrapper, IContactService contactService, IEmailCommunication emailCommunication, IUserService userService)
 {
     _configurationWrapper = configurationWrapper;
     _contactService = contactService;
     _emailCommunication = emailCommunication;
     _userService = userService;
     _authenticationService = authenticationService;
 }
Exemplo n.º 4
0
        public GroupService(IGroupRepository mpGroupRepository,
                            IConfigurationWrapper configurationWrapper,
                            IEventRepository eventService,
                            IContactRelationshipRepository contactRelationshipService,
                            IServeService serveService,
                            IParticipantRepository participantService,
                            ICommunicationRepository communicationService,
                            IContactRepository contactService,
                            IObjectAttributeService objectAttributeService,
                            IApiUserRepository apiUserService,
                            IAttributeRepository attributeRepository,
                            IEmailCommunication emailCommunicationService,
                            IUserRepository userRepository,
                            IInvitationRepository invitationRepository,
                            IAttributeService attributeService,
                            IDateTime dateTimeWrapper)

        {
            _mpGroupRepository          = mpGroupRepository;
            _configurationWrapper       = configurationWrapper;
            _eventService               = eventService;
            _contactRelationshipService = contactRelationshipService;
            _serveService               = serveService;
            _participantService         = participantService;
            _communicationService       = communicationService;
            _contactService             = contactService;
            _objectAttributeService     = objectAttributeService;
            _apiUserService             = apiUserService;
            _attributeRepository        = attributeRepository;
            _emailCommunicationService  = emailCommunicationService;
            _userRepository             = userRepository;
            _invitationRepository       = invitationRepository;
            _attributeService           = attributeService;
            _domainId = configurationWrapper.GetConfigIntValue("DomainId");

            _groupRoleDefaultId           = _configurationWrapper.GetConfigIntValue("Group_Role_Default_ID");
            _defaultAuthorUserId          = configurationWrapper.GetConfigIntValue("DefaultAuthorUser");
            _defaultContactEmailId        = _configurationWrapper.GetConfigIntValue("DefaultContactEmailId");
            _journeyGroupTypeId           = configurationWrapper.GetConfigIntValue("JourneyGroupTypeId");
            _groupCategoryAttributeTypeId = configurationWrapper.GetConfigIntValue("GroupCategoryAttributeTypeId");
            _groupTypeAttributeTypeId     = configurationWrapper.GetConfigIntValue("GroupTypeAttributeTypeId");
            _groupAgeRangeAttributeTypeId = configurationWrapper.GetConfigIntValue("GroupAgeRangeAttributeTypeId");
            _groupRoleLeader               = configurationWrapper.GetConfigIntValue("GroupRoleLeader");
            _onsiteGroupTypeId             = _configurationWrapper.GetConfigIntValue("OnsiteGroupTypeId");
            _childcareEventTypeId          = _configurationWrapper.GetConfigIntValue("ChildcareEventType");
            _removeSelfFromGroupTemplateId = _configurationWrapper.GetConfigIntValue("RemoveSelfFromGroupTemplateId");
            _dateTimeWrapper               = dateTimeWrapper;
        }
Exemplo n.º 5
0
        public GroupToolService(
            IGroupToolRepository groupToolRepository,
            IGroupRepository groupRepository,
            IGroupService groupService,
            IParticipantRepository participantRepository,
            ICommunicationRepository communicationRepository,
            IContentBlockService contentBlockService,
            IConfigurationWrapper configurationWrapper,
            IInvitationRepository invitationRepository,
            IAddressProximityService addressProximityService,
            IContactRepository contactRepository,
            IAddressProximityService addressMatrixService,
            IEmailCommunication emailCommunicationService,
            IAttributeService attributeService)
        {
            _groupToolRepository       = groupToolRepository;
            _groupRepository           = groupRepository;
            _groupService              = groupService;
            _participantRepository     = participantRepository;
            _communicationRepository   = communicationRepository;
            _contentBlockService       = contentBlockService;
            _invitationRepository      = invitationRepository;
            _addressProximityService   = addressProximityService;
            _contactRepository         = contactRepository;
            _addressMatrixService      = addressMatrixService;
            _emailCommunicationService = emailCommunicationService;
            _attributeService          = attributeService;

            _defaultGroupContactEmailId = configurationWrapper.GetConfigIntValue("DefaultGroupContactEmailId");
            _defaultAuthorUserId        = configurationWrapper.GetConfigIntValue("DefaultAuthorUser");
            _groupRoleLeaderId          = configurationWrapper.GetConfigIntValue("GroupRoleLeader");
            _defaultGroupRoleId         = configurationWrapper.GetConfigIntValue("Group_Role_Default_ID");
            _groupRequestPendingReminderEmailTemplateId = configurationWrapper.GetConfigIntValue("GroupRequestPendingReminderEmailTemplateId");
            _attributeTypeGroupCategory = configurationWrapper.GetConfigIntValue("GroupCategoryAttributeTypeId");

            _removeParticipantFromGroupEmailTemplateId = configurationWrapper.GetConfigIntValue("RemoveParticipantFromGroupEmailTemplateId");

            _domainId = configurationWrapper.GetConfigIntValue("DomainId");
            _groupEndedParticipantEmailTemplate = Convert.ToInt32(configurationWrapper.GetConfigIntValue("GroupEndedParticipantEmailTemplate"));
            _groupRequestToJoinEmailTemplate    = configurationWrapper.GetConfigIntValue("GroupRequestToJoinEmailTemplate");
            _baseUrl = configurationWrapper.GetConfigValue("BaseURL");
            _addressMatrixSearchDepth = configurationWrapper.GetConfigIntValue("AddressMatrixSearchDepth");

            _smallGroupTypeId  = configurationWrapper.GetConfigIntValue("SmallGroupTypeId");
            _onsiteGroupTypeId = configurationWrapper.GetConfigIntValue("OnsiteGroupTypeId");
        }
 public EmailCommunicationController(IEmailCommunication emailCommunication)
 {
     _emailCommunication = emailCommunication;
 }
Exemplo n.º 7
0
        public GroupToolService(
            IGroupToolRepository groupToolRepository,
            IGroupRepository groupRepository,
            IGroupService groupService,
            IParticipantRepository participantRepository,
            ICommunicationRepository communicationRepository,
            IContentBlockService contentBlockService,
            IConfigurationWrapper configurationWrapper,
            IInvitationRepository invitationRepository,
            IAddressProximityService addressProximityService,
            IContactRepository contactRepository,
            IAddressProximityService addressMatrixService,
            IEmailCommunication emailCommunicationService,
            IAttributeService attributeService,
            IAddressService addressService,
            IAnalyticsService analyticsService,
            IFinderRepository finderRepository
            )
        {
            _groupToolRepository       = groupToolRepository;
            _groupRepository           = groupRepository;
            _groupService              = groupService;
            _participantRepository     = participantRepository;
            _communicationRepository   = communicationRepository;
            _contentBlockService       = contentBlockService;
            _invitationRepository      = invitationRepository;
            _addressProximityService   = addressProximityService;
            _contactRepository         = contactRepository;
            _addressMatrixService      = addressMatrixService;
            _emailCommunicationService = emailCommunicationService;
            _attributeService          = attributeService;
            _addressService            = addressService;
            _analyticsService          = analyticsService;
            _finderRepository          = finderRepository;

            _defaultGroupContactEmailId = configurationWrapper.GetConfigIntValue("DefaultGroupContactEmailId");
            _defaultAuthorUserId        = configurationWrapper.GetConfigIntValue("DefaultAuthorUser");
            _groupRoleLeaderId          = configurationWrapper.GetConfigIntValue("GroupRoleLeader");
            _defaultGroupRoleId         = configurationWrapper.GetConfigIntValue("Group_Role_Default_ID");
            _groupRequestPendingReminderEmailTemplateId = configurationWrapper.GetConfigIntValue("GroupRequestPendingReminderEmailTemplateId");
            _attributeTypeGroupCategory = configurationWrapper.GetConfigIntValue("GroupCategoryAttributeTypeId");

            _genericGroupForCMSMergeEmailTemplateId = configurationWrapper.GetConfigIntValue("GenericGroupForCMSMergeEmailTemplateId");

            _connectCommunicationTypeEmailSmallGroupLeader = configurationWrapper.GetConfigIntValue("ConnectCommunicationTypeEmailSmallGroupLeader");
            _connectCommunicationStatusNA = configurationWrapper.GetConfigIntValue("ConnectCommunicationStatusNA");
            _domainId = configurationWrapper.GetConfigIntValue("DomainId");
            _groupEndedParticipantEmailTemplate      = configurationWrapper.GetConfigIntValue("GroupEndedParticipantEmailTemplate");
            _gatheringHostAcceptTemplate             = configurationWrapper.GetConfigIntValue("GatheringHostAcceptTemplate");
            _gatheringHostDenyTemplate               = configurationWrapper.GetConfigIntValue("GatheringHostDenyTemplate");
            _groupRequestToJoinEmailTemplate         = configurationWrapper.GetConfigIntValue("GroupRequestToJoinEmailTemplate");
            _anywhereGroupRequestToJoinEmailTemplate = configurationWrapper.GetConfigIntValue("AnywhereGroupRequestToJoinEmailTemplate");
            _baseUrl = configurationWrapper.GetConfigValue("BaseURL");
            _addressMatrixSearchDepth = configurationWrapper.GetConfigIntValue("AddressMatrixSearchDepth");

            _smallGroupTypeId              = configurationWrapper.GetConfigIntValue("SmallGroupTypeId");
            _onsiteGroupTypeId             = configurationWrapper.GetConfigIntValue("OnsiteGroupTypeId");
            _anywhereGroupType             = configurationWrapper.GetConfigIntValue("AnywhereGroupTypeId");
            _connectGatheringStatusAccept  = configurationWrapper.GetConfigIntValue("ConnectCommunicationStatusAccepted");
            _connectGatheringStatusDeny    = configurationWrapper.GetConfigIntValue("ConnectCommunicationStatusDeclined");
            _connectGatheringRequestToJoin = configurationWrapper.GetConfigIntValue("ConnectCommunicationTypeRequestToJoinGathering");
            _connectCommunicationTypeRequestToJoinSmallGroup = configurationWrapper.GetConfigIntValue("ConnectCommunicationTypeRequestToJoinSmallGroup");
            _emailAuthorId          = configurationWrapper.GetConfigIntValue("EmailAuthorId");
            _groupRoleTrialMemberId = configurationWrapper.GetConfigIntValue("GroupsTrialMemberRoleId");
        }
Exemplo n.º 8
0
 public EmailCommunicationController(IEmailCommunication emailCommunication, IConfigurationWrapper configurationWrapper, IUserImpersonationService userImpersonationService) : base(userImpersonationService)
 {
     _emailCommunication   = emailCommunication;
     _configurationWrapper = configurationWrapper;
 }
Exemplo n.º 9
0
 public EmailCommunicationController(IEmailCommunication emailCommunication, IConfigurationWrapper configurationWrapper, IUserImpersonationService userImpersonationService, IAuthenticationRepository authenticationRepository)
     : base(userImpersonationService, authenticationRepository)
 {
     _emailCommunication = emailCommunication;
     _configurationWrapper = configurationWrapper;
 }