Ejemplo n.º 1
0
 public PeriodManagerService(
     IPeriodRepository periodRep,
     IEmployeeRepository employeeRepository,
     ICalculationRepository calcRep,
     IJobPositionRepository jobPositionRep,
     IJobIndexPointRepository jobIndexPointRep,
     IInquiryJobIndexPointRepository inquiryJobIndexPointRep,
     IInquiryUnitIndexPointRepository inquiryUnitIndexPointRep,
     IClaimRepository claimRep,
     IEventPublisher publisher,
     IInquiryConfiguratorService inquiryConfiguratorService,
     IPeriodBasicDataCopierService periodCopierService
     ,
     IEmployeePointManagerService employeePointManagerService
     )
 {
     this.periodRep                  = periodRep;
     this.employeeRepository         = employeeRepository;
     this.inquiryConfiguratorService = inquiryConfiguratorService;
     this.periodCopierService        = periodCopierService;
     this.publisher                  = publisher;
     this.calcRep                     = calcRep;
     this.jobIndexPointRep            = jobIndexPointRep;
     this.jobPositionRep              = jobPositionRep;
     this.inquiryJobIndexPointRep     = inquiryJobIndexPointRep;
     this.claimRep                    = claimRep;
     this.inquiryUnitIndexPointRep    = inquiryUnitIndexPointRep;
     this.employeePointManagerService = employeePointManagerService;
 }
Ejemplo n.º 2
0
 public PeriodServiceFacade(IPeriodService periodService,
                            IMapper <Period, PeriodDescriptionDTO> periodDescriptionMapper,
                            IMapper <Period, PeriodDTOWithAction> periodDTOWithActionsMapper,
                            IMapper <Period, PeriodDTO> periodDTOMapper,
                            IMapper <InquiryInitializingProgress, PeriodStateWithIntializeInquirySummaryDTO>
                            periodInitializeInquiryStateReportMapper,
                            IMapper <BasicDataCopyingProgress, PeriodStateWithCopyingSummaryDTO> periodCopyingStateReportMapper,
                            IPeriodRepository periodRep, IPeriodEngineService periodEngine, IEmployeeRepository employeeRepository,
                            IJobPositionRepository jobPositionRepository, IUnitRepository unitRepository,
                            IJobIndexPointRepository jobIndexPointRepository, ICalculationRepository calculationRepository, IJobIndexRepository jobIndexRepository)
 {
     this.periodService              = periodService;
     this.periodDescriptionMapper    = periodDescriptionMapper;
     this.periodDTOWithActionsMapper = periodDTOWithActionsMapper;
     this.periodDTOMapper            = periodDTOMapper;
     this.periodInitializeInquiryStateReportMapper = periodInitializeInquiryStateReportMapper;
     this.periodCopyingStateReportMapper           = periodCopyingStateReportMapper;
     this.periodRep               = periodRep;
     this.periodEngine            = periodEngine;
     this.employeeRepository      = employeeRepository;
     this.jobPositionRepository   = jobPositionRepository;
     this.unitRepository          = unitRepository;
     this.jobIndexPointRepository = jobIndexPointRepository;
     this.calculationRepository   = calculationRepository;
     this.jobIndexRepository      = jobIndexRepository;
 }
Ejemplo n.º 3
0
 public EmployeeService(IEmployeeRepository employeeRep, IPeriodRepository periodRep, IPMSAdminService converter,
                        IJobPositionRepository jobPositionRep, IPeriodManagerService periodChecker, IJobIndexPointRepository jobIndexPointRepository, ICalculationRepository calculationRepository)
 {
     this.employeeRep             = employeeRep;
     this.periodRep               = periodRep;
     this.converter               = converter;
     this.jobPositionRep          = jobPositionRep;
     this.periodChecker           = periodChecker;
     this.jobIndexPointRepository = jobIndexPointRepository;
     this.calculationRepository   = calculationRepository;
 }
Ejemplo n.º 4
0
 public JobIndexPointFacadeService(IJobIndexPointRepository repository,
                                   ICalculationRepository calculationRep, IMapper <JobIndexPointWithEmployee,
                                                                                   JobIndexPointSummaryDTOWithAction> jobIndexPointMapper,
                                   IEmployeeRepository employeeRep
                                   )
 {
     this.repository          = repository;
     this.calculationRep      = calculationRep;
     this.jobIndexPointMapper = jobIndexPointMapper;
     this.employeeRep         = employeeRep;
 }
 public CalculationPointPersistanceHolder(IJobIndexPointRepository jobIndexPointRep, IEnumerable <CalculationPoint> savedCalculationPoints)
 {
     this.jobIndexPointRep = jobIndexPointRep;
     if (savedCalculationPoints == null)
     {
         this.savedCalculationPoints = new List <CalculationPoint>();
     }
     this.savedCalculationPoints = savedCalculationPoints.ToList();
     EmployeePointsForUpdate     = new Dictionary <CalculationPointId, decimal>();
     EmployeePointsForAdd        = new List <CalculationPoint>();
     CalculationPoints           = new List <CalculationPoint>();
 }
Ejemplo n.º 6
0
 public CalculatorEngine(IPolicyRepository policyRep,
                         IPeriodRepository periodRep,
                         ICalculationRepository calcRep,
                         IJobIndexPointRepository jipRep,
                         IEmployeeRepository empRep, ICalculationDataProviderFactory calculationDataProviderFactory, ICalculationExceptionRepository calcExpRep)
 {
     this.policyRep = policyRep;
     this.periodRep = periodRep;
     this.empRep    = empRep;
     this.calcRep   = calcRep;
     this.jipRep    = jipRep;
     this.calculationDataProviderFactory = calculationDataProviderFactory;
     this.calcExpRep = calcExpRep;
 }
Ejemplo n.º 7
0
 public CalculationDataProvider(IEmployeeRepository empRep, IPMSAdminService pmsAdminService, IJobIndexPointRepository jipRep)
 {
     this.empRep          = empRep;
     this.pmsAdminService = pmsAdminService;
     this.jipRep          = jipRep;
 }