Exemplo n.º 1
0
 /// <summary>
 /// constructor
 /// </summary>
 public InvoiceSettingController(
     IInvoiceCommonSettingProcessor invoiceCommonSettingProcessor,
     IInvoiceNumberHistoryProcessor invoiceNumberHistoryProcessor,
     IInvoiceNumberSettingProcessor invoiceNumberSettingProcessor,
     IInvoiceTemplateSettingProcessor invoiceTemplateSettingProcessor
     )
 {
     this.invoiceCommonSettingProcessor   = invoiceCommonSettingProcessor;
     this.invoiceNumberHistoryProcessor   = invoiceNumberHistoryProcessor;
     this.invoiceNumberSettingProcessor   = invoiceNumberSettingProcessor;
     this.invoiceTemplateSettingProcessor = invoiceTemplateSettingProcessor;
 }
Exemplo n.º 2
0
        /// <summary>constructor</summary>
        public BillingFileImportProcessor(
            ICompanyProcessor companyProcessor,
            IApplicationControlProcessor applicationControlProcessor,
            IImporterSettingProcessor importerSettingProcessor,
            IImporterSettingDetailProcessor importerSettingDetailProcessor,
            IGeneralSettingProcessor generalSettingProcessor,
            ICurrencyProcessor currencyProcessor,
            ICategoryProcessor categoryProcessor,
            ICustomerProcessor customerProcessor,
            IJuridicalPersonalityProcessor juridicalPersonalityProcessor,
            ITaxClassProcessor taxClassProcessor,
            IHolidayCalendarProcessor holidayCalendarProcessor,
            ICollationSettingProcessor collationSettingProcessor,
            IColumnNameSettingProcessor columnNameSettingProcessor,
            IDepartmentProcessor departmentProcessor,
            IAccountTitleProcessor accountTitleProcessor,
            IStaffProcessor staffProcessor,
            IInvoiceCommonSettingProcessor invoiceCommonSettingProcessor,
            IImportDataProcessor importDataProcessor,

            IBillingProcessor billingProcessor,
            IBillingImporterProcessor billingImporterProcessor,
            IBillingDivisionContractProcessor billingDivisionContractProcessor
            )
        {
            this.companyProcessor               = companyProcessor;
            this.applicationControlProcessor    = applicationControlProcessor;
            this.importerSettingProcessor       = importerSettingProcessor;
            this.importerSettingDetailProcessor = importerSettingDetailProcessor;
            this.generalSettingProcessor        = generalSettingProcessor;
            this.currencyProcessor              = currencyProcessor;
            this.categoryProcessor              = categoryProcessor;
            this.customerProcessor              = customerProcessor;
            this.juridicalPersonalityProcessor  = juridicalPersonalityProcessor;
            this.taxClassProcessor              = taxClassProcessor;
            this.holidayCalendarProcessor       = holidayCalendarProcessor;
            this.collationSettingProcessor      = collationSettingProcessor;
            this.columnNameSettingProcessor     = columnNameSettingProcessor;
            this.departmentProcessor            = departmentProcessor;
            this.accountTitleProcessor          = accountTitleProcessor;
            this.staffProcessor = staffProcessor;
            this.invoiceCommonSettingProcessor = invoiceCommonSettingProcessor;
            this.importDataProcessor           = importDataProcessor;

            this.billingProcessor                 = billingProcessor;
            this.billingImporterProcessor         = billingImporterProcessor;
            this.billingDivisionContractProcessor = billingDivisionContractProcessor;

            serializer = MessagePackSerializer.Get <BillingImport>(new SerializationContext {
                DefaultDateTimeConversionMethod = DateTimeConversionMethod.Native
            });
        }
Exemplo n.º 3
0
 public InvoiceSettingService(
     IAuthorizationProcessor authorizationProcessor,
     IInvoiceCommonSettingProcessor invoiceCommonSettingProcessor,
     IInvoiceNumberHistoryProcessor invoiceNumberHistoryProcessor,
     IInvoiceNumberSettingProcessor invoiceNumberSettingProcessor,
     IInvoiceTemplateSettingProcessor invoiceTemplateSettingProcessor,
     ICategoryProcessor categoryProcessor,
     ILogManager logManager
     )
 {
     this.authorizationProcessor          = authorizationProcessor;
     this.invoiceCommonSettingProcessor   = invoiceCommonSettingProcessor;
     this.invoiceNumberHistoryProcessor   = invoiceNumberHistoryProcessor;
     this.invoiceNumberSettingProcessor   = invoiceNumberSettingProcessor;
     this.invoiceTemplateSettingProcessor = invoiceTemplateSettingProcessor;
     this.categoryProcessor = categoryProcessor;
     logger = logManager.GetLogger(typeof(InvoiceSettingService));
 }
Exemplo n.º 4
0
 public BillingInvoiceProcessor(
     IBillingInvoiceQueryProcessor billingInvoiceQueryProcessor,
     IBillingInputProcessor billingInputProcessor,
     IBillingProcessor billingProcessor,
     IInvoiceNumberSettingProcessor invoiceNumberSettingProcessor,
     IInvoiceNumberHistoryProcessor invoiceNumberHistoryProcessor,
     IInvoiceCommonSettingProcessor invoiceCommonSettingProcessor,
     ITransactionScopeBuilder transactionScopeBuilder
     )
 {
     this.billingInvoiceQueryProcessor  = billingInvoiceQueryProcessor;
     this.billingInputProcessor         = billingInputProcessor;
     this.billingProcessor              = billingProcessor;
     this.invoiceNumberSettingProcessor = invoiceNumberSettingProcessor;
     this.invoiceNumberHistoryProcessor = invoiceNumberHistoryProcessor;
     this.invoiceCommonSettingProcessor = invoiceCommonSettingProcessor;
     this.transactionScopeBuilder       = transactionScopeBuilder;
 }
Exemplo n.º 5
0
        public CompanyInitializeProcessor(
            IAddCompanyQueryProcessor addCompanyQueryProcessor,

            IAddCompanyLogoQueryProcessor addCompanyLogoQueryProcessor,
            IDeleteCompanyLogoQueryProcessor deleteCompanyLogoQueryProcessor,

            IAddDepartmentQueryProcessor addDepartmentQueryProcessor,
            IAddLoginUserQueryProcessor addLoginUserQueryProcessor,
            IAddLoginUserPasswordQueryProcessor addLoginUserPasswordQueryProcessor,
            ICategoriesQueryProcessor categoryQueryProcessor,
            IAddCollationSettingQueryProcessor collationSettingQueryProcessor,
            IAddColumnNameSettingQueryProcessor columnNameSettingQueryProcessor,
            IAddCurrencyQueryProcessor currencyQueryProcessor,
            IGeneralSettingQueryProcessor generalSettingQueryProcessor,
            IJuridicalPersonalityQueryProcessor juridicalPersonalityQueryProcessor,
            IInitializeImportSettingQueryProcessor importSettingQueryProcessor,
            IAddStatusQueryProcessor addStatusQueryProcessor,
            IInvoiceCommonSettingProcessor invoiceCommonSettingProcessor,
            IInvoiceNumberSettingProcessor invoiceNumberSettingProcessor,
            IInvoiceTemplateSettingProcessor invoiceTemplateSettingProcessor,

            IAddApplicationControlQueryProcessor addApplicationControlQueryProcessor,
            IAddMenuAuthorityQueryProcessor addMenuAuthorityQueryProcessor,
            IAddFunctionAuthorityQueryProcessor addFunctionAuthorityQueryProcessor,
            IAddPasswordPolicyQueryProcessor addPasswordPolicyQueryProcessor,
            ILoginUserLicenseQueryProcessor loginUserLicenseQueryProcessor,
            ICollationOrderQueryProcessor collationOrderQueryProcessor,
            IMatchingOrderQueryProcessor matchingOrderQueryProcessor,

            IHashAlgorithm hashAlgorithm,
            ITransactionScopeBuilder transactionScopeBuilder
            )
        {
            this.addCompanyQueryProcessor = addCompanyQueryProcessor;

            this.addCompanyLogoQueryProcessor    = addCompanyLogoQueryProcessor;
            this.deleteCompanyLogoQueryProcessor = deleteCompanyLogoQueryProcessor;

            this.addDepartmentQueryProcessor        = addDepartmentQueryProcessor;
            this.addLoginUserQueryProcessor         = addLoginUserQueryProcessor;
            this.addLoginUserPasswordQueryProcessor = addLoginUserPasswordQueryProcessor;
            this.categoryQueryProcessor             = categoryQueryProcessor;
            this.collationSettingQueryProcessor     = collationSettingQueryProcessor;
            this.columnNameSettingQueryProcessor    = columnNameSettingQueryProcessor;
            this.currencyQueryProcessor             = currencyQueryProcessor;
            this.generalSettingQueryProcessor       = generalSettingQueryProcessor;
            this.juridicalPersonalityQueryProcessor = juridicalPersonalityQueryProcessor;
            this.importSettingQueryProcessor        = importSettingQueryProcessor;
            this.addStatusQueryProcessor            = addStatusQueryProcessor;
            this.invoiceCommonSettingProcessor      = invoiceCommonSettingProcessor;
            this.invoiceNumberSettingProcessor      = invoiceNumberSettingProcessor;
            this.invoiceTemplateSettingProcessor    = invoiceTemplateSettingProcessor;

            this.addApplicationControlQueryProcessor = addApplicationControlQueryProcessor;
            this.addMenuAuthorityQueryProcessor      = addMenuAuthorityQueryProcessor;
            this.addFunctionAuthorityQueryProcessor  = addFunctionAuthorityQueryProcessor;
            this.addPasswordPolicyQueryProcessor     = addPasswordPolicyQueryProcessor;
            this.loginUserLicenseQueryProcessor      = loginUserLicenseQueryProcessor;
            this.collationOrderQueryProcessor        = collationOrderQueryProcessor;
            this.matchingOrderQueryProcessor         = matchingOrderQueryProcessor;

            this.hashAlgorithm           = hashAlgorithm;
            this.transactionScopeBuilder = transactionScopeBuilder;
        }