Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Services.OKB/3.3/Interfaces/IAdminService.cs @ 4467

Last change on this file since 4467 was 4467, checked in by swagner, 13 years ago

Worked on OKB (#1174)

File size: 2.8 KB
Line 
1#region License Information
2/* HeuristicLab
3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
4 *
5 * This file is part of HeuristicLab.
6 *
7 * HeuristicLab is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * HeuristicLab is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
19 */
20#endregion
21
22using System;
23using System.Collections.Generic;
24using System.Net.Security;
25using System.ServiceModel;
26using HeuristicLab.Services.OKB.DataTransfer;
27
28namespace HeuristicLab.Services.OKB {
29  /// <summary>
30  /// Interface of the OKB administration service.
31  /// </summary>
32  [ServiceContract(ProtectionLevel = ProtectionLevel.EncryptAndSign)]
33  public interface IAdminService {
34    #region Platform Methods
35    [OperationContract]
36    Platform GetPlatform(long id);
37    [OperationContract]
38    IEnumerable<Platform> GetPlatforms();
39    [OperationContract]
40    void StorePlatform(Platform dto);
41    [OperationContract]
42    void DeletePlatform(long id);
43    #endregion
44
45    #region AlgorithmClass Methods
46    [OperationContract]
47    AlgorithmClass GetAlgorithmClass(long id);
48    [OperationContract]
49    IEnumerable<AlgorithmClass> GetAlgorithmClasses();
50    [OperationContract]
51    void StoreAlgorithmClass(AlgorithmClass dto);
52    [OperationContract]
53    void DeleteAlgorithmClass(long id);
54    #endregion
55
56    #region Algorithm Methods
57    [OperationContract]
58    Algorithm GetAlgorithm(long id);
59    [OperationContract]
60    IEnumerable<Algorithm> GetAlgorithms();
61    [OperationContract]
62    void StoreAlgorithm(Algorithm dto);
63    [OperationContract]
64    void DeleteAlgorithm(long id);
65    [OperationContract]
66    IEnumerable<Guid> GetAlgorithmUsers(long algorithmId);
67    [OperationContract]
68    void StoreAlgorithmUsers(long algorithmId, IEnumerable<Guid> users);
69    #endregion
70
71    #region AlgorithmData Methods
72    [OperationContract]
73    AlgorithmData GetAlgorithmData(long algorithmId);
74    [OperationContract]
75    void StoreAlgorithmData(AlgorithmData dto);
76    #endregion
77
78    #region DataType Methods
79    [OperationContract]
80    DataType GetDataType(long id);
81    [OperationContract]
82    IEnumerable<DataType> GetDataTypes();
83    [OperationContract]
84    void StoreDataType(DataType dto);
85    [OperationContract]
86    void DeleteDataType(long id);
87    #endregion
88  }
89}
Note: See TracBrowser for help on using the repository browser.