Changeset 1799


Ignore:
Timestamp:
05/14/09 14:35:57 (12 years ago)
Author:
msteinbi
Message:

corrected signature of getalljobresults (#466)

Location:
trunk/sources
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Contracts/3.2/Interfaces/IJobManager.cs

    r1627 r1799  
    4242    ResponseObject<JobResult> GetLastJobResultOf(Guid jobId, bool requested);
    4343    [OperationContract]
    44     ResponseObject<List<JobResult>> GetAllJobResults(Guid jobId);
     44    ResponseList<JobResult> GetAllJobResults(Guid jobId);
    4545    [OperationContract]
    4646    Response RequestSnapshot(Guid jobId);
  • trunk/sources/HeuristicLab.Hive.Server.Core/3.2/JobManager.cs

    r1772 r1799  
    328328    }
    329329
    330     public ResponseObject<List<JobResult>> GetAllJobResults(Guid jobId) {
    331       ISession session = factory.GetSessionForCurrentThread();
    332       ResponseObject<List<JobResult>> response = new ResponseObject<List<JobResult>>();
     330    public ResponseList<JobResult> GetAllJobResults(Guid jobId) {
     331      ISession session = factory.GetSessionForCurrentThread();
     332      ResponseList<JobResult> response = new ResponseList<JobResult>();
    333333
    334334      try {
     
    343343          return response;
    344344        }
    345         response.Obj = new List<JobResult>(jobResultAdapter.GetResultsOf(job));
     345        response.List = new List<JobResult>(jobResultAdapter.GetResultsOf(job));
    346346        response.Success = true;
    347347        response.StatusMessage = ApplicationConstants.RESPONSE_JOB_JOB_RESULT_SENT;
  • trunk/sources/HeuristicLab.Hive.Server.Core/3.2/ServerConsoleFacade.cs

    r1769 r1799  
    120120    }
    121121
    122     public ResponseObject<List<JobResult>> GetAllJobResults(Guid jobId) {
     122    public ResponseList<JobResult> GetAllJobResults(Guid jobId) {
    123123      if (HasPermission(PermissiveSecurityAction.Get_AllJobResults))
    124124        return jobManager.GetAllJobResults(jobId);
Note: See TracChangeset for help on using the changeset viewer.