public ChangeJobAssignSheduleCommand(Guid id, IEnumerable <DayPerWeekModel> dayPerWeekList, int repeatsPerWeek, ChangedByRole changedBy, bool isLocalIntervalChanged) : base(id.ToString()) { DayPerWeekList = dayPerWeekList; RepeatsPerWeek = repeatsPerWeek; ChangedBy = changedBy; IsLocalIntervalChanged = isLocalIntervalChanged; }
public JobAssignCopyCommonInfoCommand(Guid id, int tillYear, IEnumerable <WeekModel> weekList, IEnumerable <DayPerWeekModel> dayPerWeekList, int repeatsPerWeek, ChangedByRole changedByRole, List <Responsible> jobResponsibleList) : base(id.ToString()) { TillYear = tillYear; WeekList = weekList; DayPerWeekList = dayPerWeekList; RepeatsPerWeek = repeatsPerWeek; ChangedByRole = changedByRole; JobResponsibleList = jobResponsibleList; }
public JobAssignDomain(string id, List <Guid> housingDepartmentIdList, string description, int tillYear, int repeatsPerWeek, RoleType createdByRole, ChangedByRole changedByRole, IEnumerable <WeekModel> weekList, List <UploadFileModel> uploadList, IEnumerable <DayPerWeekModel> dayPerWeekList, List <string> jobIds, bool isGlobal, bool isLocked, List <Responsible> jorResponsibleList) { Id = id; RaiseEvent(new JobAssignCreatedFromGlobalEvent { HousingDepartmentIdList = housingDepartmentIdList, IsEnabled = true, Description = description, TillYear = tillYear, RepeatsPerWeek = repeatsPerWeek, IsLocked = isLocked, CreatedByRole = createdByRole, ChangedByRole = changedByRole, WeekList = weekList, UploadList = uploadList, DayPerWeekList = dayPerWeekList, JobIdList = jobIds, IsGlobal = isGlobal, JobResponsibleList = jorResponsibleList }); }
public SaveDaysPerWeekCommand(Guid id, IEnumerable <DayPerWeekModel> dayPerWeekList, ChangedByRole changedByRole) : base(id.ToString()) { DayPerWeekList = dayPerWeekList; ChangedByRole = changedByRole; }
public ChangeJobAssignWeeksCommand(Guid id, IEnumerable <WeekModel> weekList, ChangedByRole changedByRole, bool isLocalIntervalChanged) : base(id.ToString()) { WeekList = weekList; ChangedByRole = changedByRole; IsLocalIntervalChanged = isLocalIntervalChanged; }
public ChangeJobAssignAllWeeksCommand(Guid id, ChangedByRole changedByRole, IEnumerable <WeekModel> weekList) : base(id.ToString()) { WeekList = weekList; ChangedByRole = changedByRole; }
public ChangeJobAssignTillYearCommand(Guid id, int tillYear, ChangedByRole changedByRole, bool isLocalIntervalChanged) : base(id.ToString()) { TillYear = tillYear; ChangedByRole = changedByRole; IsLocalIntervalChanged = isLocalIntervalChanged; }
public static JobAssignDomain Create(string id, List <Guid> housingDepartmentIdList, string description, int tillYear, int repeatsPerWeek, RoleType createdByRole, ChangedByRole changedByRole, IEnumerable <WeekModel> weekList, List <UploadFileModel> uploadList, IEnumerable <DayPerWeekModel> dayPerWeekList, List <string> jobIds, bool isGlobal, bool isLocked, List <Responsible> jobResponsibleList) { return(new JobAssignDomain(id, housingDepartmentIdList, description, tillYear, repeatsPerWeek, createdByRole, changedByRole, weekList, uploadList, dayPerWeekList, jobIds, isGlobal, isLocked, jobResponsibleList)); }
public void CopyCommonJobAssignInfo(int tillYear, IEnumerable <WeekModel> weekList, IEnumerable <DayPerWeekModel> dayPerWeekList, int repeatsPerWeek, ChangedByRole changedByRole) { RaiseEvent(new CopyCommonJobAssignInfoEvent { ChangedByRole = changedByRole, DayPerWeekList = dayPerWeekList, TillYear = tillYear, RepeatsPerWeek = repeatsPerWeek, WeekList = weekList }); }
public void ChangeJobShedule(IEnumerable <DayPerWeekModel> dayPerWeekList, int repeatsPerWeek, ChangedByRole changedBy, bool isLocalIntervalChanged) { RaiseEvent(new JobAssignSheduleChangedEvent { DayPerWeekList = dayPerWeekList, RepeatsPerWeek = repeatsPerWeek, ChangedBy = changedBy, IsLocalIntervalChanged = isLocalIntervalChanged }); }
public void SaveDaysPerWeek(IEnumerable <DayPerWeekModel> dayPerWeekList, ChangedByRole changedByRole) { RaiseEvent(new JobAssignSaveDaysPerWeekEvent { DayPerWeekList = dayPerWeekList, ChangedByRole = changedByRole }); }
public void ChangeAllWeeks(IEnumerable <WeekModel> weeks, ChangedByRole changedByRole) { RaiseEvent(new JobAssignAllWeeksChangedEvent { Weeks = weeks, ChangedByRole = changedByRole }); }
public void ChangeWeeks(IEnumerable <WeekModel> weeks, ChangedByRole changedByRole, bool isLocalIntervalChanged) { RaiseEvent(new JobAssignWeeksChangedEvent { Weeks = weeks, ChangedByRole = changedByRole, IsLocalIntervalChanged = isLocalIntervalChanged }); }
public void ChangeTillYear(int tillYear, ChangedByRole changedByRole, bool isLocalIntervalChanged) { RaiseEvent(new JobAssignTillYearChangedEvent { TillYear = tillYear, ChangedByRole = changedByRole, IsLocalIntervalChanged = isLocalIntervalChanged }); }