- Timestamp:
- 09/08/11 13:41:25 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.3/Interfaces/IHiveDao.cs
r6717 r6721 29 29 public interface IHiveDao { 30 30 #region Job Methods 31 DT. JobGetJob(Guid id);32 IEnumerable<DT. Job> GetJobs(Expression<Func<Job, bool>> predicate);33 Guid AddJob(DT. Jobdto);34 void UpdateJob(DT. Jobdto);31 DT.Task GetJob(Guid id); 32 IEnumerable<DT.Task> GetJobs(Expression<Func<Task, bool>> predicate); 33 Guid AddJob(DT.Task dto); 34 void UpdateJob(DT.Task dto); 35 35 void DeleteJob(Guid id); 36 IEnumerable<DT. Job> GetWaitingJobs(DT.Slave slave, int count);37 IEnumerable<DT. Job> GetParentJobs(IEnumerable<Guid> resourceIds, int count, bool finished);38 DT. Job UpdateJobState(Guid jobId, JobState jobState, Guid? slaveId, Guid? userId, string exception);36 IEnumerable<DT.Task> GetWaitingJobs(DT.Slave slave, int count); 37 IEnumerable<DT.Task> GetParentJobs(IEnumerable<Guid> resourceIds, int count, bool finished); 38 DT.Task UpdateJobState(Guid jobId, TaskState jobState, Guid? slaveId, Guid? userId, string exception); 39 39 #endregion 40 40 41 41 #region JobData Methods 42 DT. JobData GetJobData(Guid id);43 IEnumerable<DT. JobData> GetJobDatas(Expression<Func<JobData, bool>> predicate);44 Guid AddJobData(DT. JobData dto);45 void UpdateJobData(DT. JobData dto);42 DT.TaskData GetJobData(Guid id); 43 IEnumerable<DT.TaskData> GetJobDatas(Expression<Func<TaskData, bool>> predicate); 44 Guid AddJobData(DT.TaskData dto); 45 void UpdateJobData(DT.TaskData dto); 46 46 void DeleteJobData(Guid id); 47 47 #endregion … … 117 117 IEnumerable<DT.Resource> GetParentResources(Guid resourceId); 118 118 IEnumerable<DT.Resource> GetChildResources(Guid resourceId); 119 IEnumerable<DT. Job> GetJobsByResourceId(Guid resourceId);119 IEnumerable<DT.Task> GetJobsByResourceId(Guid resourceId); 120 120 #endregion 121 121
Note: See TracChangeset
for help on using the changeset viewer.