Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/08/11 13:41:25 (13 years ago)
Author:
ascheibe
Message:

#1233 Review comments: renamed Job to Task

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.3/Interfaces/IHiveDao.cs

    r6717 r6721  
    2929  public interface IHiveDao {
    3030    #region Job Methods
    31     DT.Job GetJob(Guid id);
    32     IEnumerable<DT.Job> GetJobs(Expression<Func<Job, bool>> predicate);
    33     Guid AddJob(DT.Job dto);
    34     void UpdateJob(DT.Job dto);
     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);
    3535    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);
    3939    #endregion
    4040
    4141    #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);
    4646    void DeleteJobData(Guid id);
    4747    #endregion
     
    117117    IEnumerable<DT.Resource> GetParentResources(Guid resourceId);
    118118    IEnumerable<DT.Resource> GetChildResources(Guid resourceId);
    119     IEnumerable<DT.Job> GetJobsByResourceId(Guid resourceId);
     119    IEnumerable<DT.Task> GetJobsByResourceId(Guid resourceId);
    120120    #endregion
    121121
Note: See TracChangeset for help on using the changeset viewer.