Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/21/10 06:27:43 (14 years ago)
Author:
swagner
Message:

Worked on OKB (#1174)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Services.OKB/3.3/Interfaces/IAdminService.cs

    r4442 r4455  
    2323using System.Net.Security;
    2424using System.ServiceModel;
    25 using HeuristicLab.Services.OKB.DataAccess;
     25using HeuristicLab.Services.OKB.DataTransfer;
    2626
    2727namespace HeuristicLab.Services.OKB {
    2828  /// <summary>
    29   /// Service of administrating the OKB.
    30   /// </summary> 
     29  /// Interface of the OKB administration service.
     30  /// </summary>
    3131  [ServiceContract(ProtectionLevel = ProtectionLevel.EncryptAndSign)]
    3232  public interface IAdminService {
    3333    [OperationContract]
    34     Platform GetPlatform(long platformId);
     34    Platform GetPlatform(long id);
    3535    [OperationContract]
    3636    IEnumerable<Platform> GetPlatforms();
    3737    [OperationContract]
    38     void StorePlatform(Platform platform);
     38    void StorePlatform(Platform dto);
    3939    [OperationContract]
    40     void DeletePlatform(long platformId);
     40    void DeletePlatform(long id);
    4141
    4242    [OperationContract]
    43     AlgorithmClass GetAlgorithmClass(long algorithmClassId);
     43    AlgorithmClass GetAlgorithmClass(long id);
    4444    [OperationContract]
    4545    IEnumerable<AlgorithmClass> GetAlgorithmClasses();
    4646    [OperationContract]
    47     void StoreAlgorithmClass(AlgorithmClass algorithmClass);
     47    void StoreAlgorithmClass(AlgorithmClass dto);
    4848    [OperationContract]
    49     void DeleteAlgorithmClass(long algorithmClassId);
     49    void DeleteAlgorithmClass(long id);
    5050
    5151    [OperationContract]
    52     Algorithm GetAlgorithm(long algorithmId);
     52    Algorithm GetAlgorithm(long id);
    5353    [OperationContract]
    5454    IEnumerable<Algorithm> GetAlgorithms();
    5555    [OperationContract]
    56     void StoreAlgorithm(Algorithm algorithm);
     56    void StoreAlgorithm(Algorithm dto);
    5757    [OperationContract]
    58     void DeleteAlgorithm(long algorithmId);
    59 
    60 
    61 
    62     /// <summary>
    63     /// Gets the complete algorithm object graph up to the following entities:
    64     /// <list type="bullet">
    65     /// <item>Parameter</item>
    66     /// <item>Algorithm_Paramters.Parameter.DataType</item>
    67     /// <item>Algorithm_Results.Result.DataType</item>
    68     /// </list>
    69     /// </summary>
    70     /// <param name="id">The algorithm id.</param>
    71     /// <returns>An <see cref="Algorithm"/></returns>
    72     [OperationContract]
    73     Algorithm GetCompleteAlgorithm(int id);
    74 
    75     /// <summary>
    76     /// Gets the complete problem object graph up to the following entities:
    77     /// <list type="bullet">
    78     /// <item>Platform</item>
    79     /// <item>SolutionRepresentation</item>
    80     /// <item>Problem_Parameters.Parameter</item>
    81     /// <item>IntProblemCharacteristicValues.ProblemCharacteristic.DataType</item>
    82     /// <item>FloatProblemCharacteristicValues.ProblemCharacteristic.DataType</item>
    83     /// <item>CharProblemCharacteristicValues.ProblemCharacteristic.DataType</item>
    84     /// </list>
    85     /// </summary>
    86     /// <param name="id">The problem id.</param>
    87     /// <returns>A <see cref="Problem"/></returns>
    88     [OperationContract]
    89     Problem GetCompleteProblem(int id);
    90 
    91     /// <summary>
    92     /// Updates the algorithm object graph including the following properties and linked entitites:
    93     /// <list type="bullet">
    94     /// <item>Name</item>
    95     /// <item>Description</item>
    96     /// <item>AlgorithmClassId</item>
    97     /// <item>PlatformId</item>
    98     /// <item>Algorithm_Parameters</item>
    99     /// <item>Algorithm_Results</item>
    100     /// </list>
    101     /// <remarks>
    102     /// New <see cref="Parameter"/>s or <see cref="Result"/>s will not be
    103     /// created but have to be pre-existing.
    104     /// </remarks>
    105     /// </summary>
    106     /// <param name="algorithm">The algorithm.</param>
    107     [OperationContract]
    108     void UpdateCompleteAlgorithm(Algorithm algorithm);
    109 
    110     /// <summary>
    111     /// Updates the problem object graph including the following properties and linked entities:
    112     /// <list type="bullet">
    113     /// <item>Name</item>
    114     /// <item>Description</item>
    115     /// <item>ProblemClassId</item>
    116     /// <item>PlatformId</item>
    117     /// <item>SolutionRepresentationId</item>
    118     /// <item>IntProblemCharacteristicValues.Value</item>
    119     /// <item>FloatProblemCharacteristicValues.Value</item>
    120     /// <item>CharProblemCharacteristicValues.Value</item>
    121     /// <item>Problem_Parameters</item>
    122     /// </list>
    123     /// <remarks>
    124     /// New <see cref="ProblemCharacteristic"/>s or <see cref="Parameter"/>s will
    125     /// not be created but have to be pre-existing.
    126     /// </remarks>
    127     /// </summary>
    128     /// <param name="problem">The problem.</param>
    129     [OperationContract]
    130     void UpdateCompleteProblem(Problem problem);
     58    void DeleteAlgorithm(long id);
    13159  }
    13260}
Note: See TracChangeset for help on using the changeset viewer.