public LearningDeliveryHE_08Rule(
     IValidationErrorHandler validationErrorHandler,
     IFileDataService fileDataService,
     ILARSDataService lARSDataService,
     IDerivedData_27Rule derivedData_27Rule,
     IOrganisationDataService organisationDataService,
     ILearningDeliveryFAMQueryService learningDeliveryFAMQueryService)
     : base(validationErrorHandler, RuleNameConstants.LearningDeliveryHE_08)
 {
     _fileDataService                 = fileDataService;
     _lARSDataService                 = lARSDataService;
     _derivedData_27Rule              = derivedData_27Rule;
     _organisationDataService         = organisationDataService;
     _learningDeliveryFAMQueryService = learningDeliveryFAMQueryService;
 }
 public DateOfBirth_55Rule(
     IDateTimeQueryService dateTimeQueryService,
     ILARSDataService larsDataService,
     ILearningDeliveryFAMQueryService learningDeliveryFamQueryService,
     IDerivedData_07Rule derivedData07,
     IFileDataService fileDataService,
     IValidationErrorHandler validationErrorHandler)
     : base(validationErrorHandler, RuleNameConstants.DateOfBirth_55)
 {
     _dateTimeQueryService            = dateTimeQueryService;
     _larsDataService                 = larsDataService;
     _learningDeliveryFamQueryService = learningDeliveryFamQueryService;
     _derivedData07   = derivedData07;
     _fileDataService = fileDataService;
 }
Exemplo n.º 3
0
 public UKPRN_10Rule(
     IFileDataService fileDataService,
     IAcademicYearDataService academicYearDataService,
     IAcademicYearQueryService academicYearQueryService,
     IFCSDataService fcsDataService,
     ILearningDeliveryFAMQueryService learningDeliveryFAMQueryService,
     IValidationErrorHandler validationErrorHandler)
     : base(validationErrorHandler, RuleNameConstants.UKPRN_10)
 {
     _fileDataService                 = fileDataService;
     _academicYearDataService         = academicYearDataService;
     _academicYearQueryService        = academicYearQueryService;
     _fcsDataService                  = fcsDataService;
     _learningDeliveryFAMQueryService = learningDeliveryFAMQueryService;
 }
 public EmpStat_08Rule(
     IDerivedData_07Rule dd07,
     IDateTimeQueryService dateTimeQueryService,
     IAcademicYearDataService academicYearDataService,
     ILearningDeliveryFAMQueryService learningDeliveryFAMQueryService,
     ILearnerEmploymentStatusQueryService learnerEmploymentStatusQueryService,
     IValidationErrorHandler validationErrorHandler)
     : base(validationErrorHandler, RuleNameConstants.EmpStat_08)
 {
     _dd07 = dd07;
     _dateTimeQueryService                = dateTimeQueryService;
     _academicYearDataService             = academicYearDataService;
     _learnerEmploymentStatusQueryService = learnerEmploymentStatusQueryService;
     _learningDeliveryFAMQueryService     = learningDeliveryFAMQueryService;
 }
Exemplo n.º 5
0
 public LearnStartDate_07Rule NewRule(
     IValidationErrorHandler handler = null,
     IDerivedData_04Rule ddRule04    = null,
     ILARSDataService larsData       = null,
     ILearningDeliveryFAMQueryService learningDeliveryFAMQS = null,
     IDateTimeQueryService dateTimeQueryService             = null,
     IDerivedData_07Rule dd07 = null)
 {
     return(new LearnStartDate_07Rule(
                handler,
                ddRule04,
                larsData,
                learningDeliveryFAMQS,
                dateTimeQueryService,
                dd07));
 }
 public LearningDeliveryHE_07Rule NewRule(
     IValidationErrorHandler validationErrorHandler = null,
     IFileDataService fileDataService                 = null,
     ILARSDataService lARSDataService                 = null,
     IDerivedData_27Rule derivedData_27Rule           = null,
     IOrganisationDataService organisationDataService = null,
     ILearningDeliveryFAMQueryService learningDeliveryFAMQueryService = null)
 {
     return(new LearningDeliveryHE_07Rule(
                validationErrorHandler: validationErrorHandler,
                fileDataService: fileDataService,
                lARSDataService: lARSDataService,
                derivedData_27Rule: derivedData_27Rule,
                organisationDataService: organisationDataService,
                learningDeliveryFAMQueryService: learningDeliveryFAMQueryService));
 }
 private LearnAimRef_80Rule NewRule(
     ILARSDataService larsDataService = null,
     IOrganisationDataService organisationDataService = null,
     ILearningDeliveryFAMQueryService learningDeliveryFamQueryService = null,
     IDerivedData_07Rule dd07         = null,
     IFileDataService fileDataService = null,
     IValidationErrorHandler validationErrorHandler = null)
 {
     return(new LearnAimRef_80Rule(
                larsDataService,
                organisationDataService,
                learningDeliveryFamQueryService,
                dd07,
                fileDataService,
                validationErrorHandler));
 }
Exemplo n.º 8
0
 private LSDPostcode_02Rule NewRule(
     IValidationErrorHandler validationErrorHandler = null,
     IFileDataService fileDataService                 = null,
     IPostcodesDataService postcodesDataService       = null,
     IOrganisationDataService organisationDataService = null,
     ILearningDeliveryFAMQueryService learningDeliveryFAMQueryService = null,
     IDerivedData_35Rule dd35 = null)
 {
     return(new LSDPostcode_02Rule(
                validationErrorHandler,
                fileDataService,
                postcodesDataService,
                organisationDataService,
                learningDeliveryFAMQueryService,
                dd35));
 }
Exemplo n.º 9
0
 public EmpStat_08Rule NewRule(
     IDerivedData_07Rule dd07 = null,
     IDateTimeQueryService dateTimeQueryService         = null,
     IAcademicYearQueryService academicYearQueryService = null,
     ILearnerEmploymentStatusQueryService learnerEmploymentStatusQueryService = null,
     ILearningDeliveryFAMQueryService learningDeliveryFAMQueryService         = null,
     IValidationErrorHandler validationErrorHandler = null)
 {
     return(new EmpStat_08Rule(
                dd07: dd07,
                dateTimeQueryService: dateTimeQueryService,
                academicYearQueryService: academicYearQueryService,
                learnerEmploymentStatusQueryService: learnerEmploymentStatusQueryService,
                learningDeliveryFAMQueryService: learningDeliveryFAMQueryService,
                validationErrorHandler: validationErrorHandler));
 }
Exemplo n.º 10
0
 private DateOfBirth_55Rule NewRule(
     IDateTimeQueryService dateTimeQueryService = null,
     ILARSDataService larsDataService           = null,
     ILearningDeliveryFAMQueryService learningDeliveryFamQueryService = null,
     IDerivedData_07Rule derivedData07 = null,
     IFileDataService fileDataService  = null,
     IValidationErrorHandler validationErrorHandler = null)
 {
     return(new DateOfBirth_55Rule(
                dateTimeQueryService,
                larsDataService,
                learningDeliveryFamQueryService,
                derivedData07,
                fileDataService,
                validationErrorHandler));
 }
 public DateOfBirth_32Rule(
     IDerivedData_07Rule dd07,
     IDateTimeQueryService dateTimeQueryService,
     ILearningDeliveryFAMQueryService learningDeliveryFAMQueryService,
     ILARSDataService larsDataService,
     IOrganisationDataService organisationDataService,
     IFileDataService fileDataService,
     IValidationErrorHandler validationErrorHandler)
     : base(validationErrorHandler, RuleNameConstants.DateOfBirth_32)
 {
     _dd07 = dd07;
     _dateTimeQueryService            = dateTimeQueryService;
     _learningDeliveryFAMQueryService = learningDeliveryFAMQueryService;
     _larsDataService         = larsDataService;
     _organisationDataService = organisationDataService;
     _fileDataService         = fileDataService;
 }
Exemplo n.º 12
0
 public LearnAimRef_78Rule(
     IValidationErrorHandler validationErrorHandler,
     ILARSDataService larsData,
     ILearningDeliveryFAMQueryService learningDeliveryFAMQueryService,
     IFileDataService fileData,
     IOrganisationDataService organisationData,
     IDerivedData_07Rule dd07,
     IDateTimeQueryService dateTimeQueryService)
 {
     _messageHandler = validationErrorHandler;
     _larsData       = larsData;
     _learningDeliveryFAMQueryService = learningDeliveryFAMQueryService;
     _fileData             = fileData;
     _organisationData     = organisationData;
     _dd07                 = dd07;
     _dateTimeQueryService = dateTimeQueryService;
 }
Exemplo n.º 13
0
 public UKPRN_06Rule(
     ILearningDeliveryFAMQueryService learningDeliveryFAMQueryService,
     IFCSDataService fcsDataService,
     IDerivedData_07Rule dd07,
     IDerivedData_35Rule dd35,
     IAcademicYearDataService academicYearDataService,
     IAcademicYearQueryService academicYearQueryService,
     IValidationErrorHandler validationErrorHandler)
     : base(validationErrorHandler, RuleNameConstants.UKPRN_06)
 {
     _fcsDataService                  = fcsDataService;
     _academicYearDataService         = academicYearDataService;
     _academicYearQueryService        = academicYearQueryService;
     _learningDeliveryFAMQueryService = learningDeliveryFAMQueryService;
     _dd07 = dd07;
     _dd35 = dd35;
 }
Exemplo n.º 14
0
        public UKPRN_10Rule(
            IValidationErrorHandler validationErrorHandler,
            IFileDataService fileDataService,
            IAcademicYearDataService academicYearDataService,
            ILearningDeliveryFAMQueryService learningDeliveryFAMQueryService,
            IFCSDataService fcsDataService,
            IDateTimeQueryService dateTimeQueryService)
            : base(validationErrorHandler, RuleNameConstants.UKPRN_10)
        {
            FirstViableStart      = new DateTime(2017, 05, 01);
            AcademicYearStartDate = academicYearDataService.Start();
            ProviderUKPRN         = fileDataService.UKPRN();

            _learningDeliveryFAMQueryService = learningDeliveryFAMQueryService;
            _fcsData = fcsDataService;
            _dateTimeQueryService = dateTimeQueryService;
        }
        public UKPRN_17Rule NewRule(
            IValidationErrorHandler handler  = null,
            IFileDataService fileDataService = null,
            ILearningDeliveryFAMQueryService learningDeliveryFamqs = null,
            IFCSDataService fcsDataService = null)
        {
            var fileData = new Mock <IFileDataService>(MockBehavior.Strict);

            fileData
            .Setup(x => x.UKPRN())
            .Returns(TestProviderID);

            return(new UKPRN_17Rule(
                       handler ?? Mock.Of <IValidationErrorHandler>(),
                       fileDataService ?? fileData.Object,
                       learningDeliveryFamqs ?? Mock.Of <ILearningDeliveryFAMQueryService>(),
                       fcsDataService ?? Mock.Of <IFCSDataService>()));
        }
 private DateOfBirth_32Rule NewRule(
     IDerivedData_07Rule dd07 = null,
     IDateTimeQueryService dateTimeQueryService = null,
     ILearningDeliveryFAMQueryService learningDeliveryFAMQueryService = null,
     ILARSDataService larsDataService = null,
     IOrganisationDataService organisationDataService = null,
     IFileDataService fileDataService = null,
     IValidationErrorHandler validationErrorHandler = null)
 {
     return(new DateOfBirth_32Rule(
                dd07,
                dateTimeQueryService,
                learningDeliveryFAMQueryService,
                larsDataService,
                organisationDataService,
                fileDataService,
                validationErrorHandler));
 }
Exemplo n.º 17
0
 public LearnDelFAMType_80Rule(
     IValidationErrorHandler validationErrorHandler,
     IFileDataService fileDataService,
     IDateTimeQueryService dateTimeQueryService,
     ILARSDataService larsDataService,
     ILearningDeliveryFAMQueryService learningDeliveryFAMQueryService,
     IDerivedData_07Rule dd07,
     IDerivedData_29Rule dd29,
     IDerivedData_38Rule dd38)
     : base(validationErrorHandler, RuleNameConstants.LearnDelFAMType_80)
 {
     _fileDataService                 = fileDataService;
     _dateTimeQueryService            = dateTimeQueryService;
     _larsDataService                 = larsDataService;
     _learningDeliveryFAMQueryService = learningDeliveryFAMQueryService;
     _dd07 = dd07;
     _dd29 = dd29;
     _dd38 = dd38;
 }
Exemplo n.º 18
0
 private LearnDelFAMType_80Rule NewRule(
     IValidationErrorHandler validationErrorHandler = null,
     IFileDataService fileDataService           = null,
     IDateTimeQueryService dateTimeQueryService = null,
     ILARSDataService larsDataService           = null,
     ILearningDeliveryFAMQueryService learningDeliveryFAMQueryService = null,
     IDerivedData_07Rule dd07 = null,
     IDerivedData_29Rule dd29 = null,
     IDerivedData_38Rule dd38 = null)
 {
     return(new LearnDelFAMType_80Rule(
                validationErrorHandler,
                fileDataService,
                dateTimeQueryService,
                larsDataService,
                learningDeliveryFAMQueryService,
                dd07,
                dd29,
                dd38));
 }
 public LearnDelFAMType_59Rule(
     IValidationErrorHandler validationErrorHandler,
     ILARSDataService larsDataService,
     IDerivedData_07Rule dd07,
     IDerivedData_28Rule dd28,
     IDerivedData_29Rule dd29,
     ILearningDeliveryFAMQueryService famQueryService,
     IFileDataService fileDataService,
     IOrganisationDataService organisationDataService,
     IDateTimeQueryService dateTimeQueryService)
     : base(validationErrorHandler, RuleNameConstants.LearnDelFAMType_59)
 {
     _larsDataService         = larsDataService;
     _dd07                    = dd07;
     _dd28                    = dd28;
     _dd29                    = dd29;
     _famQueryService         = famQueryService;
     _fileDataService         = fileDataService;
     _organisationDataService = organisationDataService;
     _dateTimeQueryService    = dateTimeQueryService;
 }
Exemplo n.º 20
0
 public LearnDelFAMType_56Rule(
     IValidationErrorHandler validationErrorHandler,
     ILARSDataService larsDataService,
     IDerivedData_07Rule dd07,
     IDerivedData_12Rule dd12,
     IDerivedData_21Rule derivedDataRule21,
     ILearningDeliveryFAMQueryService famQueryService,
     IFileDataService fileDataService,
     IOrganisationDataService organisationDataService,
     IDateTimeQueryService dateTimeQueryService)
     : base(validationErrorHandler, RuleNameConstants.LearnDelFAMType_56)
 {
     _larsDataService         = larsDataService;
     _dd07                    = dd07;
     _dd12                    = dd12;
     _derivedDataRule21       = derivedDataRule21;
     _famQueryService         = famQueryService;
     _fileDataService         = fileDataService;
     _organisationDataService = organisationDataService;
     _dateTimeQueryService    = dateTimeQueryService;
 }
 private AimType_07Rule NewRule(ILearningDeliveryFAMQueryService learningDeliveryFamQueryService = null, IValidationErrorHandler validationErrorHandler = null)
 {
     return(new AimType_07Rule(learningDeliveryFamQueryService, validationErrorHandler));
 }
 private ELQ_01Rule NewRule(ILearningDeliveryFAMQueryService learningDeliveryFAMQueryService = null, IValidationErrorHandler validationErrorHandler = null)
 {
     return(new ELQ_01Rule(learningDeliveryFAMQueryService, validationErrorHandler));
 }
 public DateOfBirth_26Rule(IDateTimeQueryService dateTimeQueryService, ILearningDeliveryFAMQueryService learningDeliveryFAMQueryService, IValidationErrorHandler validationErrorHandler)
     : base(validationErrorHandler, RuleNameConstants.DateOfBirth_26)
 {
     _dateTimeQueryService            = dateTimeQueryService;
     _learningDeliveryFAMQueryService = learningDeliveryFAMQueryService;
 }
 public DelLocPostCode_03Rule(IPostcodesDataService postcodesDataService, ILearningDeliveryFAMQueryService learningDeliveryFamQueryService, IValidationErrorHandler validationErrorHandler)
     : base(validationErrorHandler, RuleNameConstants.DelLocPostCode_03)
 {
     _postcodesDataService            = postcodesDataService;
     _learningDeliveryFamQueryService = learningDeliveryFamQueryService;
 }
 public WithdrawReason_05Rule(ILearningDeliveryFAMQueryService learningDeliveryFAMQueryService, IValidationErrorHandler validationErrorHandler)
     : base(validationErrorHandler, RuleNameConstants.WithdrawReason_05)
 {
     _learningDeliveryFAMQueryService = learningDeliveryFAMQueryService;
 }
 public LLDDHealthProb_07Rule(IValidationErrorHandler validationErrorHandler, IDD06 dd06, ILearningDeliveryFAMQueryService learningDeliveryFAMQueryService, IDateTimeQueryService dateTimeQueryService)
     : base(validationErrorHandler)
 {
     _dd06 = dd06;
     _learningDeliveryFAMQueryService = learningDeliveryFAMQueryService;
     _dateTimeQueryService            = dateTimeQueryService;
 }
Exemplo n.º 27
0
 public LearnDelFAMType_39Rule(ILearningDeliveryFAMQueryService learningDeliveryFAMQueryService, IValidationErrorHandler validationErrorHandler)
     : base(validationErrorHandler, RuleNameConstants.LearnDelFAMType_39)
 {
     _learningDeliveryFAMQueryService = learningDeliveryFAMQueryService;
 }
Exemplo n.º 28
0
 public LearnDelFAMType_73Rule NewRule(
     IValidationErrorHandler validationErrorHandler = null,
     ILearningDeliveryFAMQueryService learningDeliveryFAMQueryService = null)
 {
     return(new LearnDelFAMType_73Rule(validationErrorHandler: validationErrorHandler, learningDeliveryFamQueryService: learningDeliveryFAMQueryService));
 }
Exemplo n.º 29
0
 public DateOfBirth_02Rule(ILearningDeliveryFAMQueryService learningDeliveryFAMQueryService, IValidationErrorHandler validationErrorHandler)
     : base(validationErrorHandler)
 {
     _learningDeliveryFAMQueryService = learningDeliveryFAMQueryService;
 }
Exemplo n.º 30
0
 public PriorAttain_02Rule(ILARSDataService larsDataService, ILearningDeliveryFAMQueryService learningDeliveryFamQueryService, IValidationErrorHandler validationErrorHandler)
     : base(validationErrorHandler, RuleNameConstants.PriorAttain_02)
 {
     _larsDataService = larsDataService;
     _learningDeliveryFamQueryService = learningDeliveryFamQueryService;
 }