Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1932


Ignore:
Timestamp:
05/28/09 17:05:04 (15 years ago)
Author:
msteinbi
Message:

new BO Project
added new methods for project handling within jobManager
(#599)

Location:
trunk/sources
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Contracts/3.2/BusinessObjects/Job.cs

    r1588 r1932  
    5656    [DataMember]
    5757    public List<HivePluginInfo> PluginsNeeded { get; set; }
     58    [DataMember]
     59    public List<ClientGroup> ClientGroups { get; set; }
    5860
    5961    public Job() {
  • trunk/sources/HeuristicLab.Hive.Contracts/3.2/HeuristicLab.Hive.Contracts-3.2.csproj

    r1591 r1932  
    8989    <Compile Include="BusinessObjects\CachedHivePluginInfo.cs" />
    9090    <Compile Include="BusinessObjects\ClientGroup.cs" />
     91    <Compile Include="BusinessObjects\Project.cs" />
    9192    <Compile Include="BusinessObjects\HivePluginInfo.cs" />
    9293    <Compile Include="BusinessObjects\HeartBeatData.cs" />
  • trunk/sources/HeuristicLab.Hive.Contracts/3.2/Interfaces/IJobManager.cs

    r1799 r1932  
    4747    [OperationContract]
    4848    Response AbortJob(Guid jobId);
     49    [OperationContract]
     50    ResponseList<Project> GetAllProjects();
     51    [OperationContract]
     52    Response CreateProject(Project project);
     53    [OperationContract]
     54    Response ChangeProject(Project project);
     55    [OperationContract]
     56    Response DeleteProject(Guid projectId);
     57    [OperationContract]
     58    ResponseList<Job> GetJobsByProject(Guid projectId);
    4959  }
    5060}
  • trunk/sources/HeuristicLab.Hive.Server.Core/3.2/JobManager.cs

    r1831 r1932  
    354354      }
    355355    }
    356      
     356
     357    public ResponseList<Project> GetAllProjects() {
     358      throw new NotImplementedException();
     359    }
     360
     361    public Response CreateProject(Project project) {
     362      throw new NotImplementedException();
     363    }
     364
     365    public Response ChangeProject(Project project) {
     366      throw new NotImplementedException();
     367    }
     368
     369    public Response DeleteProject(Guid projectId) {
     370      throw new NotImplementedException();
     371    }
     372
     373    public ResponseList<Job> GetJobsByProject(Guid projectId) {
     374      throw new NotImplementedException();
     375    }
     376
    357377    #endregion
    358378  }
  • trunk/sources/HeuristicLab.Hive.Server.Core/3.2/ServerConsoleFacade.cs

    r1825 r1932  
    192192
    193193    }
     194
     195    public ResponseList<Project> GetAllProjects() {
     196      return jobManager.GetAllProjects();
     197    }
     198
     199    public Response CreateProject(Project project) {
     200      return jobManager.CreateProject(project);
     201    }
     202
     203    public Response ChangeProject(Project project) {
     204      return jobManager.ChangeProject(project);
     205    }
     206
     207    public Response DeleteProject(Guid projectId) {
     208      return jobManager.DeleteProject(projectId);
     209    }
     210
     211    public ResponseList<Job> GetJobsByProject(Guid projectId) {
     212      return jobManager.GetJobsByProject(projectId);
     213    }
     214
    194215  }
    195216}
Note: See TracChangeset for help on using the changeset viewer.