Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Administration/IAdministrationService.cs @ 6452

Last change on this file since 6452 was 5902, checked in by swagner, 14 years ago

Worked on OKB (#1174)

File size: 3.8 KB
RevLine 
[4279]1#region License Information
2/* HeuristicLab
[5902]3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
[4279]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
[4467]22using System;
[4426]23using System.Collections.Generic;
[4279]24using System.Net.Security;
25using System.ServiceModel;
[5482]26using HeuristicLab.Services.OKB.Administration.DataTransfer;
[4279]27
[5479]28namespace HeuristicLab.Services.OKB.Administration {
[4279]29  /// <summary>
[5299]30  /// Interface of the OKB administration service.
[4455]31  /// </summary>
[4279]32  [ServiceContract(ProtectionLevel = ProtectionLevel.EncryptAndSign)]
[5299]33  public interface IAdministrationService {
[4467]34    #region Platform Methods
[4407]35    [OperationContract]
[5679]36    Platform GetPlatform(long id);
37    [OperationContract]
[4442]38    IEnumerable<Platform> GetPlatforms();
39    [OperationContract]
[4481]40    long AddPlatform(Platform dto);
[4442]41    [OperationContract]
[4481]42    void UpdatePlatform(Platform dto);
43    [OperationContract]
[4455]44    void DeletePlatform(long id);
[4467]45    #endregion
[4442]46
[4467]47    #region AlgorithmClass Methods
[4442]48    [OperationContract]
[5679]49    AlgorithmClass GetAlgorithmClass(long id);
50    [OperationContract]
[4426]51    IEnumerable<AlgorithmClass> GetAlgorithmClasses();
[4407]52    [OperationContract]
[4481]53    long AddAlgorithmClass(AlgorithmClass dto);
[4407]54    [OperationContract]
[4481]55    void UpdateAlgorithmClass(AlgorithmClass dto);
56    [OperationContract]
[4455]57    void DeleteAlgorithmClass(long id);
[4467]58    #endregion
[4279]59
[4467]60    #region Algorithm Methods
[4407]61    [OperationContract]
[5679]62    Algorithm GetAlgorithm(long id);
63    [OperationContract]
[4426]64    IEnumerable<Algorithm> GetAlgorithms();
[4407]65    [OperationContract]
[4481]66    long AddAlgorithm(Algorithm dto);
[4407]67    [OperationContract]
[4481]68    void UpdateAlgorithm(Algorithm dto);
69    [OperationContract]
[4455]70    void DeleteAlgorithm(long id);
[4467]71    [OperationContract]
72    IEnumerable<Guid> GetAlgorithmUsers(long algorithmId);
73    [OperationContract]
[4481]74    void UpdateAlgorithmUsers(long algorithmId, IEnumerable<Guid> users);
[4467]75    [OperationContract]
[5482]76    byte[] GetAlgorithmData(long algorithmId);
77    [OperationContract]
78    void UpdateAlgorithmData(long algorithmId, byte[] data);
[4467]79    #endregion
80
[4481]81    #region ProblemClass Methods
[4467]82    [OperationContract]
[5679]83    ProblemClass GetProblemClass(long id);
84    [OperationContract]
[4481]85    IEnumerable<ProblemClass> GetProblemClasses();
[4467]86    [OperationContract]
[4481]87    long AddProblemClass(ProblemClass dto);
[4467]88    [OperationContract]
[4481]89    void UpdateProblemClass(ProblemClass dto);
90    [OperationContract]
91    void DeleteProblemClass(long id);
[4467]92    #endregion
[4481]93
94    #region Problem Methods
95    [OperationContract]
[5679]96    Problem GetProblem(long id);
97    [OperationContract]
[4481]98    IEnumerable<Problem> GetProblems();
99    [OperationContract]
100    long AddProblem(Problem dto);
101    [OperationContract]
102    void UpdateProblem(Problem dto);
103    [OperationContract]
104    void DeleteProblem(long id);
105    [OperationContract]
106    IEnumerable<Guid> GetProblemUsers(long problemId);
107    [OperationContract]
108    void UpdateProblemUsers(long problemId, IEnumerable<Guid> users);
109    [OperationContract]
[5482]110    byte[] GetProblemData(long problemId);
[4591]111    [OperationContract]
[5482]112    void UpdateProblemData(long problemId, byte[] data);
[4591]113    #endregion
[4279]114  }
115}
Note: See TracBrowser for help on using the repository browser.