Exemple #1
0
        public MatchingService(IAuthorizationProcessor authorizationProcessor,
            ICollationSettingProcessor collationSettingProcessor,
            ICollationProcessor collationProcessor,
            IMatchingHeaderProcessor matchingHeaderProcessor,
            IMatchingProcessor matchingProcessor,
            IMatchingSequentialProcessor matchingSequentialProcessor,
            IMatchingIndividualProcessor matchingIndividualProcessor,
            IMatchingCancellationProcessor matchingCancellationProcessor,
            IMatchingSolveProcessor matchingSolveProcessor,
            IMatchingCombinationSolveProcessor matchingCombinationSolveProcessor,
            IMatchingJournalizingProcessor matchingJournalizingProcessor,
            ILogManager logManager
            )

        {
            this.authorizationProcessor = authorizationProcessor;
            this.collationSettingProcessor = collationSettingProcessor;
            this.collationProcessor = collationProcessor;
            this.matchingHeaderProcessor = matchingHeaderProcessor;
            this.matchingProcessor = matchingProcessor;
            this.matchingSequentialProcessor = matchingSequentialProcessor;
            this.matchingIndividualProcessor = matchingIndividualProcessor;
            this.matchingCancellationProcessor = matchingCancellationProcessor;
            this.matchingSolveProcessor = matchingSolveProcessor;
            this.matchingCombinationSolveProcessor = matchingCombinationSolveProcessor;
            this.matchingJournalizingProcessor = matchingJournalizingProcessor;
            logger = logManager.GetLogger(typeof(MatchingService));
            hubContext = GlobalHost.ConnectionManager.GetHubContext<Hubs.ProgressHub>();
        }
Exemple #2
0
        /// <summary>constructor</summary>
        public MatchingController(IAuthorizationProcessor authorizationProcessor,
                                  ICollationSettingProcessor collationSettingProcessor,
                                  ICollationProcessor collationProcessor,
                                  IMatchingHeaderProcessor matchingHeaderProcessor,
                                  IMatchingProcessor matchingProcessor,
                                  IMatchingSequentialProcessor matchingSequentialProcessor,
                                  IMatchingIndividualProcessor matchingIndividualProcessor,
                                  IMatchingCancellationProcessor matchingCancellationProcessor,
                                  IMatchingSolveProcessor matchingSolveProcessor,
                                  IMatchingCombinationSolveProcessor matchingCombinationSolveProcessor,
                                  IMatchingJournalizingProcessor matchingJournalizingProcessor,
                                  IHubContext <ProgressHub> hubContext
                                  )

        {
            this.collationSettingProcessor         = collationSettingProcessor;
            this.collationProcessor                = collationProcessor;
            this.matchingHeaderProcessor           = matchingHeaderProcessor;
            this.matchingProcessor                 = matchingProcessor;
            this.matchingSequentialProcessor       = matchingSequentialProcessor;
            this.matchingIndividualProcessor       = matchingIndividualProcessor;
            this.matchingCancellationProcessor     = matchingCancellationProcessor;
            this.matchingSolveProcessor            = matchingSolveProcessor;
            this.matchingCombinationSolveProcessor = matchingCombinationSolveProcessor;
            this.matchingJournalizingProcessor     = matchingJournalizingProcessor;
            this.hubContext = hubContext;
        }
 public MatchingSequentialProcessor(
     IMatchingSolveProcessor matchingSolveProcessor,
     IMatchingSaveProcessor matchingSaveProcessor,
     IMatchingQueryProcessor matchingQueryProcessor,
     IAddReceiptMemoQueryProcessor addReceiptMemoQueryProcessor,
     IUpdateNettingQueryProcessor updateNettingQueryProcessor,
     IByCompanyGetEntitiesQueryProcessor <MatchingOrder> matchingOrderQueryProcessor,
     IByCompanyGetEntityQueryProcessor <ApplicationControl> applicationControlQueryProcessor,
     IAddCustomerFeeQueryProcessor addCustomerFeeQueryProcessor,
     IAddPaymentAgencyFeeQueryProcessor addPaymentAgencyFeeQueryProcessor,
     IDbSystemDateTimeQueryProcessor dbSystemDateTimeQueryProcessor,
     ITransactionScopeBuilder transactionScopeBuilder
     )
 {
     this.matchingSolveProcessor            = matchingSolveProcessor;
     this.matchingSaveProcessor             = matchingSaveProcessor;
     this.matchingQueryProcessor            = matchingQueryProcessor;
     this.addReceiptMemoQueryProcessor      = addReceiptMemoQueryProcessor;
     this.updateNettingQueryProcessor       = updateNettingQueryProcessor;
     this.matchingOrderQueryProcessor       = matchingOrderQueryProcessor;
     this.applicationControlQueryProcessor  = applicationControlQueryProcessor;
     this.addCustomerFeeQueryProcessor      = addCustomerFeeQueryProcessor;
     this.addPaymentAgencyFeeQueryProcessor = addPaymentAgencyFeeQueryProcessor;
     this.dbSystemDateTimeQueryProcessor    = dbSystemDateTimeQueryProcessor;
     this.transactionScopeBuilder           = transactionScopeBuilder;
 }
Exemple #4
0
        /// <summary>constructor</summary>
        public MatchingController(IAuthorizationProcessor authorizationProcessor,
                                  ICollationSettingProcessor collationSettingProcessor,
                                  ICollationProcessor collationProcessor,
                                  IMatchingHeaderProcessor matchingHeaderProcessor,
                                  IMatchingProcessor matchingProcessor,
                                  IMatchingSequentialProcessor matchingSequentialProcessor,
                                  IMatchingIndividualProcessor matchingIndividualProcessor,
                                  IMatchingCancellationProcessor matchingCancellationProcessor,
                                  IMatchingSolveProcessor matchingSolveProcessor,
                                  IMatchingCombinationSolveProcessor matchingCombinationSolveProcessor,
                                  IMatchingJournalizingProcessor matchingJournalizingProcessor
                                  )

        {
            this.collationSettingProcessor         = collationSettingProcessor;
            this.collationProcessor                = collationProcessor;
            this.matchingHeaderProcessor           = matchingHeaderProcessor;
            this.matchingProcessor                 = matchingProcessor;
            this.matchingSequentialProcessor       = matchingSequentialProcessor;
            this.matchingIndividualProcessor       = matchingIndividualProcessor;
            this.matchingCancellationProcessor     = matchingCancellationProcessor;
            this.matchingSolveProcessor            = matchingSolveProcessor;
            this.matchingCombinationSolveProcessor = matchingCombinationSolveProcessor;
            this.matchingJournalizingProcessor     = matchingJournalizingProcessor;

            this.hubContext = Microsoft.AspNet.SignalR.GlobalHost.ConnectionManager.GetHubContext <ProgressHub>();
        }
 public MatchingIndividualProcessor(
     IMatchingSaveProcessor matchingSaveProcessor,
     IMatchingSolveProcessor matchingSolveProcessor,
     IMatchingQueryProcessor matchingQueryProcessor,
     INettingQueryProcessor nettingQueryProcessor,
     IUpdateNettingQueryProcessor updateNettingQueryProcessor,
     IAddReceiptMemoQueryProcessor addReceiptMemoQueryProcessor,
     IUpdateKanaHistoryCustomerQueryProcessor updateKanaHistoryCustomerQueryProcessor,
     IUpdateKanaHistoryPaymentAgencyQueryProcessor updateKanaHistoryPaymentAgencyQueryProcessor,
     IIdenticalEntityGetByIdsQueryProcessor <Customer> customerGetByIdsQueryProcessor,
     IIdenticalEntityGetByIdsQueryProcessor <PaymentAgency> paymentAgencyGetByIdsQueryProcessor,
     IAddCustomerFeeQueryProcessor addCustomerFeeQueryProcessor,
     IAddPaymentAgencyFeeQueryProcessor addPaymentAgencyFeeQueryProcessor,
     IUpdateCustomerQueryProcessor updateCustomerQueryProcessor,
     IAddCustomerGroupQueryProcessor addCustomerGroupQueryProcessor,
     IByCompanyGetEntityQueryProcessor <ApplicationControl> applicationControlQueryProcessor,
     IDbSystemDateTimeQueryProcessor dbSystemDateTimeQueryProcessor,
     ITransactionScopeBuilder transactionScopeBuilder
     )
 {
     this.matchingSaveProcessor                        = matchingSaveProcessor;
     this.matchingSolveProcessor                       = matchingSolveProcessor;
     this.matchingQueryProcessor                       = matchingQueryProcessor;
     this.nettingQueryProcessor                        = nettingQueryProcessor;
     this.updateNettingQueryProcessor                  = updateNettingQueryProcessor;
     this.addReceiptMemoQueryProcessor                 = addReceiptMemoQueryProcessor;
     this.updateKanaHistoryCustomerQueryProcessor      = updateKanaHistoryCustomerQueryProcessor;
     this.updateKanaHistoryPaymentAgencyQueryProcessor = updateKanaHistoryPaymentAgencyQueryProcessor;
     this.customerGetByIdsQueryProcessor               = customerGetByIdsQueryProcessor;
     this.paymentAgencyGetByIdsQueryProcessor          = paymentAgencyGetByIdsQueryProcessor;
     this.addCustomerFeeQueryProcessor                 = addCustomerFeeQueryProcessor;
     this.addPaymentAgencyFeeQueryProcessor            = addPaymentAgencyFeeQueryProcessor;
     this.updateCustomerQueryProcessor                 = updateCustomerQueryProcessor;
     this.addCustomerGroupQueryProcessor               = addCustomerGroupQueryProcessor;
     this.applicationControlQueryProcessor             = applicationControlQueryProcessor;
     this.dbSystemDateTimeQueryProcessor               = dbSystemDateTimeQueryProcessor;
     this.transactionScopeBuilder                      = transactionScopeBuilder;
 }