Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/12/10 10:57:21 (14 years ago)
Author:
kgrading
Message:

changed the complete DAL to LINQ 2 SQL (with the exception of the job streaming), did a lot of refactoring, Introduced DTOs (that are named DTOs for better understanding), added the spring.NET Interceptor, reintroduced transactions and cleaned up the whole JobResult thing and updated a part of the config merger (#830)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.DataAccess/3.2/IJobAdapter.cs

    r2117 r3011  
    2828
    2929namespace HeuristicLab.Hive.Server.DataAccess {
    30   public interface IJobAdapter: IDataAdapter<Job> {
     30  public interface IJobAdapter: IDataAdapter<JobDto> {
    3131    /// <summary>
    3232    /// Gets all subjobs of the specified job
    3333    /// </summary>
    3434    /// <returns></returns>
    35     ICollection<Job> GetAllSubjobs(Job job);
     35    ICollection<JobDto> GetAllSubjobs(JobDto job);
    3636
    3737    /// <summary>
     
    3939    /// </summary>
    4040    /// <returns></returns>
    41     ICollection<Job> GetJobsByState(State state);
     41    ICollection<JobDto> GetJobsByState(State state);
    4242
    4343    /// <summary>
     
    4949    /// <param name="resourceId">all jobs that can be calculated by that resource</param>
    5050    /// <returns></returns>
    51     ICollection<Job> FindJobs(State state,
     51    ICollection<JobDto> FindJobs(State state,
    5252      int cores,
    5353      int memory,
     
    5959    /// <param name="client"></param>
    6060    /// <returns></returns>
    61     ICollection<Job> GetJobsOf(ClientInfo client);
     61    ICollection<JobDto> GetJobsOf(ClientDto client);
    6262
    6363    /// <summary>
     
    6666    /// <param name="client"></param>
    6767    /// <returns></returns>
    68     ICollection<Job> GetActiveJobsOf(ClientInfo client);
     68    ICollection<JobDto> GetActiveJobsOf(ClientDto client);
    6969
    7070    /// <summary>
     
    7373    /// <param name="user"></param>
    7474    /// <returns></returns>
    75     ICollection<Job> GetJobsOf(Guid userId);
     75    ICollection<JobDto> GetJobsOf(Guid userId);
    7676
    7777    /// <summary>
     
    8080    /// <param name="user"></param>
    8181    /// <returns></returns>
    82     ICollection<Job> GetJobsByProject(Guid projectId);
     82    ICollection<JobDto> GetJobsByProject(Guid projectId);
    8383
    8484    /// <summary>
Note: See TracChangeset for help on using the changeset viewer.