Changeset 9215 for branches/OaaS/HeuristicLab.Services.Optimization.Controller/Mockup/MockupScenarioManager.cs
- Timestamp:
- 02/11/13 10:15:52 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OaaS/HeuristicLab.Services.Optimization.Controller/Mockup/MockupScenarioManager.cs
r9166 r9215 131 131 } 132 132 133 public void DispatchScenario(Model.User user, Model.OptimizationScenario scenario, JobExecutionDetails details) { 134 // does nothign 133 public string DispatchScenario(Model.User user, Model.OptimizationScenario scenario, JobExecutionDetails details) { 134 // does nothing 135 return "guid"; 135 136 } 136 137 … … 144 145 145 146 146 public voidDeleteJob(User user, string id) {147 public bool DeleteJob(User user, string id) { 147 148 jobs.RemoveAll(j => j.Id == id); 149 return true; 148 150 } 149 151 … … 199 201 200 202 // insert into table & blob store 201 var scenDao = dal. CreateScenarioDao();202 var blobDao = dal. CreateBlobDao();203 var scenDao = dal.ScenarioDao; 204 var blobDao = dal.BlobDao; 203 205 204 206 Guid scenarioXmlGuid = Guid.NewGuid(); … … 225 227 public bool DeleteScenario(User user, string scenarioName) { 226 228 // delete from table & blob store 227 var scenarioDao = dal. CreateScenarioDao();228 var blobDao = dal. CreateBlobDao();229 var scenarioDao = dal.ScenarioDao; 230 var blobDao = dal.BlobDao; 229 231 230 232 var entity = scenarioDao.FindByName(scenarioName); … … 237 239 return true; 238 240 } 241 242 243 public bool SaveExperiment(User user, Model.Experiment experiment) { 244 throw new NotImplementedException(); 245 } 246 247 248 public IEnumerable<string> GetExperiments(User user) { 249 throw new NotImplementedException(); 250 } 251 252 253 public bool DeleteExperiment(User user, string experiment) { 254 throw new NotImplementedException(); 255 } 256 257 258 public Model.Task GetTaskData(User u, string jobId, string taskId) { 259 throw new NotImplementedException(); 260 } 261 262 public Model.Job GetTasks(User u, string jobId) { 263 throw new NotImplementedException(); 264 } 239 265 } 240 266 }
Note: See TracChangeset
for help on using the changeset viewer.