source: branches/OaaS/HeuristicLab.Services.Optimization.Controller/Interfaces/IControllerService.cs @ 9324

Last change on this file since 9324 was 9324, checked in by fschoepp, 6 years ago

#1888:

  • DAL: Added a Delete method which deletes by experiment id.
  • HL DataTables will now be transposed and mapped as double[ROWS][COLUMNS] (transposed)
  • JS: Moved all classes into "modules" to prevent namespace pollution (using OAAS_MODEL for model classes, OAAS_VIEW for views and OAAS_CONTROLLER for controllers)
  • JS: Moved DatatypeMapper classes into Backbone views
  • JS: Models now correctly send DELETE requests
  • Added a new job overview page (which also renders run details) using AJAX
  • Using moment.min.js to format DateTime as string
  • Controllers now inherit from BaseController which provides a RedirectToLoginIfNecessary-method
  • Added loading animations to several AJAX bound places (loading experiments / scenarios)
  • Added a section to _Layout.cshtml which allows page-specific JavaScript includes (<script> only for a certain page)
  • Fixed Build/Edit of experiment menu redirecting to the wrong page
  • The Experiment Variation Dialog disables input fields, if the property has not been activated before
File size: 2.1 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.ServiceModel;
6using System.Net.Security;
7using HeuristicLab.Services.Optimization.ControllerService.Model;
8
9namespace HeuristicLab.Services.Optimization.ControllerService {
10  [ServiceContract(ProtectionLevel = ProtectionLevel.EncryptAndSign)]
11  public interface IControllerService {
12    [OperationContract]
13    IEnumerable<OptimizationScenario> GetOptimizationScenarios();
14
15    [OperationContract]
16    IEnumerable<string> GetOptimizationScenarioNames();
17
18    [OperationContract]
19    OptimizationScenario GetOptimizationScenarioByName(string name);
20
21    [OperationContract]
22    bool ScheduleOptimizationScenario(User user, OptimizationScenario scenario, JobExecutionDetails details);
23
24    [OperationContract]
25    bool ScheduleExperiment(User user, string experiment, JobExecutionDetails details);
26
27    [OperationContract]
28    IEnumerable<Job> GetJobs(User user);
29
30    [OperationContract]
31    Job GetJob(User user, string id);
32
33    [OperationContract]
34    bool DeleteJob(User user, string id);
35
36    [OperationContract]
37    IList<Model.Run> GetJobResults(User user, string id);
38
39    [OperationContract]
40    bool AddHiveScenario(User user, string scenarioXml, string scenarioMapper);
41
42    [OperationContract]
43    bool DeleteHiveScenario(User user, string scenarioName);
44
45    [OperationContract]
46    string SaveExperiment(User user, Experiment experiment);
47
48    [OperationContract]
49    IEnumerable<string> GetExperimentNames(User user);
50
51    [OperationContract]
52    IEnumerable<Experiment> GetExperiments(User user, bool namesOnly = false);
53
54    [OperationContract]
55    bool DeleteExperiment(User user, string experiment);
56
57    [OperationContract]
58    Job GetTasks(User u, string jobId);
59
60    [OperationContract]
61    Task GetTaskData(User u, string jobId, string taskId);
62
63    [OperationContract]
64    Experiment GetExperimentByName(User user, string scenario);
65
66    [OperationContract]
67    Experiment GetExperimentById(User u, string nodeId);
68  }
69}
Note: See TracBrowser for help on using the repository browser.