- Timestamp:
- 03/11/13 14:40:04 (12 years ago)
- Location:
- branches/OaaS/HeuristicLab.Services.Optimization.Controller/Interfaces
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OaaS/HeuristicLab.Services.Optimization.Controller/Interfaces/DAL.cs
r9227 r9305 20 20 public interface IExperimentDao { 21 21 bool Add(string username, Experiment experiment); 22 bool Update(string username, Experiment experiment); 22 23 bool DeleteByName(string username, string experiment); 23 24 Experiment FindByName(string username, string experiment); 24 25 IEnumerable<Experiment> GetExperiments(string user); 25 26 Experiment GetExperimentByName(string username, string scenario); 27 28 Experiment GetExperimentById(User user, string nodeId); 26 29 } 27 30 -
branches/OaaS/HeuristicLab.Services.Optimization.Controller/Interfaces/IControllerService.cs
r9227 r9305 44 44 45 45 [OperationContract] 46 boolSaveExperiment(User user, Experiment experiment);46 string SaveExperiment(User user, Experiment experiment); 47 47 48 48 [OperationContract] 49 IEnumerable<string> GetExperiments(User user); 49 IEnumerable<string> GetExperimentNames(User user); 50 51 [OperationContract] 52 IEnumerable<Experiment> GetExperiments(User user); 50 53 51 54 [OperationContract] … … 60 63 [OperationContract] 61 64 Experiment GetExperimentByName(User user, string scenario); 65 66 [OperationContract] 67 Experiment GetExperimentById(User u, string nodeId); 62 68 } 63 69 } -
branches/OaaS/HeuristicLab.Services.Optimization.Controller/Interfaces/IScenarioManager.cs
r9227 r9305 15 15 bool DeleteScenario(User user, string scenarioName); 16 16 17 bool SaveExperiment(User user, Experiment experiment); 18 IEnumerable<string> GetExperiments(User user); 17 string SaveExperiment(User user, Experiment experiment); 18 IEnumerable<string> GetExperimentNames(User user); 19 IEnumerable<Model.Experiment> GetExperiments(User user); 20 Experiment GetExperimentByName(User user, string scenario); 21 Experiment GetExperimentById(User user, string nodeId); 22 19 23 bool DeleteExperiment(User user, string experiment); 20 24 … … 22 26 Job GetTasks(User u, string jobId); 23 27 24 Experiment GetExperimentByName(User user, string scenario);28 25 29 bool DispatchExperiment(User user, Experiment exp, JobExecutionDetails details); 26 30 } -
branches/OaaS/HeuristicLab.Services.Optimization.Controller/Interfaces/Model/ControllerModel.cs
r9227 r9305 277 277 278 278 [DataMember] 279 public string Id { get; set; } 280 281 [DataMember] 279 282 public AlgorithmParameters Parameters { get; set; } 280 283 … … 293 296 [DataMember] 294 297 public string Name { get; set; } 298 299 [DataMember] 300 public bool IsExperiment { get; set; } 295 301 } 296 302 … … 315 321 [DataMember] 316 322 public IList<Algorithm> Algorithm { get; set; } 323 324 [DataMember] 325 public string Id { get; set; } 317 326 318 327 public Experiment() {
Note: See TracChangeset
for help on using the changeset viewer.