Changeset 4267 for branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/JobManager.cs
- Timestamp:
- 08/19/10 15:47:46 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/JobManager.cs
r4264 r4267 119 119 120 120 /// <summary> 121 /// Returns JobDto object with Client-Object attached121 /// Returns JobDto object with Slave-Object attached 122 122 /// </summary> 123 123 public ResponseObject<JobDto> GetJobByIdWithDetails(Guid jobId) { … … 127 127 job.StatusMessage = ResponseStatus.Ok; 128 128 129 job.Obj. Client = DaoLocator.ClientDao.GetClientForJob(jobId);129 job.Obj.Slave = DaoLocator.SlaveDao.GetSlaveForJob(jobId); 130 130 } else { 131 131 job.StatusMessage = ResponseStatus.GetJobByIdWithDetails_JobDoesNotExist; … … 135 135 136 136 public ResponseObject<JobDto> AddJobWithGroupStrings(SerializedJob job, IEnumerable<string> resources) { 137 I ClientGroupDao cgd = DaoLocator.ClientGroupDao;137 ISlaveGroupDao cgd = DaoLocator.SlaveGroupDao; 138 138 foreach (string res in resources) { 139 foreach ( ClientGroupDto cg in cgd.FindByName(res)) {139 foreach (SlaveGroupDto cg in cgd.FindByName(res)) { 140 140 job.JobInfo.AssignedResourceIds.Add(cg.Id); 141 141 }
Note: See TracChangeset
for help on using the changeset viewer.