public void InitFilter(ServiceConfigParameters ServiceConfigParameters, RuntimeProperties RuntimeProperties, Roles Role, int SelfUserID)
        {
            RuntimeProperties.SetRuleValue(this.RoleContext.ToString(), RuntimeProperties.UserGroup.PropertyName);

            CountryCodeIncludingFilterParameter countrycodeparam = new CountryCodeIncludingFilterParameter();
            countrycodeparam.Filter = this.GetUserRoleFilter(ServiceConfigParameters, RuntimeProperties, Role);
            countrycodeparam.DefaultSeparator = Constants.DEFAULT_SEPARATOR;
            _CountryCodeIncludingFilter = new CountryCodeIncludingFilter(countrycodeparam);
        }
コード例 #2
0
 public override void Init(ServiceConfigParameters ServiceConfigParameters, object FilterValue)
 {
     base.Init(ServiceConfigParameters, FilterValue);
     this.FilterExpression = myFilter();
 }
コード例 #3
0
 public ServiceTest()
 {
     _serviceconfigparameters = new ServiceConfigParameters(ServiceEnvironment.BUDPS_NODE1_DEVS, true, true, true);
     srvcont = new ServiceConfig(_serviceconfigparameters);
 }
コード例 #4
0
 public SetQueries(ServiceConfigParameters ConfigParameters)
 {
     _ServiceConfigParameters = ConfigParameters;
 }
コード例 #5
0
        public RuntimeProperties(ServiceConfigParameters ConfigParameters)
        {
            _ServiceConfigParameters = ConfigParameters;
            //personal
            _Staff_ID = new StaffID();
            _Full_Name = new FullName();
            _Country = new Country();
            _ContractType = new ContractType();
            _ContractTypeForReports = new ContractTypeForReports();
            _Position = new Position();
            _DateOfTREnd = new DateOfTREnd();
            _DateOfTRStart = new DateOfTRStart();
            _DateOfEntrance = new DateOfEntrance();
            _CalendarName = new CalendarName();
            _TemplateFilter = new TemplateFilter();
            _ArePropReadyPersonal = new ArePropReady();
            _BusinessUnitInfo = new BusinessUnitInfo();
            _PMSA = new PMSA();
            _PMSAItem = new PMSAItem();
            _Gender = new Gender();
            _ActivityCodeInfo = new ActivityCodeInfo();
            _OfficialLS = new OfficialLS();
            _PhoneDirOnly = new PhoneDirOnly();
            //update
            _SelectedDate = new SelectedDate();
            _SelectedDateStatus = new SelectedDateStatus();
            _SelectedDateTransactionStatus = new SelectedDateTransactionStatus();
            _SelectedDateType = new SelectedDateType();
            _SelectedDateisOptional = new SelectedDateisOptional();
            _PercentPerDay = new PercentPerDay();
            _SelectedJob = new SelectedJob();
            _MaxHoursDaily = new MaxHoursDaily();
            _ArePropReadyTRUpdate = new ArePropReady();
            _TRInputListClient = new TRInputListClient();
            _LastOpenDay = new LastOpenDay();

            //submit
            _SumOfHours = new SumOfHours();
            _TRInputList = new TRInputList();
            _WorkingHoursWeekly = new WorkingHoursWeekly();
            _MinHoursDaily = new MinHoursDaily();
            _FirstSubmitableDay = new FirstSubmitableDay();
            _SelectedActivityCode = new SelectedActivityCode();
            _Description = new Description();
            _Location = new Location();
            _BusinessUnit = new BusinessUnit();
            _ReasonCode = new ReasonCode();
            _ArePropReadyTRSubmit = new ArePropReady();
            _PeriodEnd = new PeriodEnd();
            //reports

            _PeriodStarting = new PeriodStarting();
            _ArePropReadyReports = new ArePropReady();
            _ReportIntervalFrom = new ReportIntervalFrom();
            _ReportIntervalTo = new ReportIntervalTo();
            _UserIDList = new UserIDList();
            _SelectedReportTemplate = new SelectedReportTemplate();
            _SelectedReportType = new SelectedReportType();

            //külön queryk-ben/Getparameters-ben kap értéket

            _LastSubmittedDay = new LastSubmittedDay();
            _JobCh = new JobCH();
            _InsertedHour = new InstertedHour();
            _ValidationConstraint = new ValidationConstraint();
            _JobFilter = new JobFilter();
            _ActivityCodeFilter = new ActivityCodeFilter();
            _UserGroup = new UserGroup();
            _ReasonCodeFilter = new ReasonCodeFilter();
        }