Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Optimization.Controller/Interfaces/DAL.cs @ 9035

Last change on this file since 9035 was 8958, checked in by fschoepp, 12 years ago

#1888:

  • Added a administrator web interface for job management
  • Fixed Hive Client (PluginValidator) to find the assemblies within the right directories
  • Reorganized controller classes (Folders HL, Interfaces, Azure)
  • You may now successfully schedule and run jobs with the web ui.
File size: 794 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5
6namespace HeuristicLab.Services.Optimization.ControllerService.Interfaces {
7  public class StringEntry {
8    public string Key { get; set; }
9    public string Text { get; set; }   
10  };
11
12  public interface IScenarioDao {
13    bool Add(ScenarioEntity entity);
14    bool DeleteByName(string scenarioName);
15    ScenarioEntity FindByName(string scenarioName);
16    IEnumerable<ScenarioEntity> GetAllEntities();
17  }
18
19  public interface IBlobDao {
20    bool Add(StringEntry entry);
21    bool DeleteByKey(string entryKey);
22    StringEntry FindByKey(string entryKey);
23  }
24
25  public interface IDataAccessLayer {
26    IScenarioDao CreateScenarioDao();
27    IBlobDao CreateBlobDao();
28  }
29}
30
Note: See TracBrowser for help on using the repository browser.