Changeset 4455 for trunk/sources/HeuristicLab.Services.OKB/3.3/Interfaces
- Timestamp:
- 09/21/10 06:27:43 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Services.OKB/3.3/Interfaces/IAdminService.cs
r4442 r4455 23 23 using System.Net.Security; 24 24 using System.ServiceModel; 25 using HeuristicLab.Services.OKB.Data Access;25 using HeuristicLab.Services.OKB.DataTransfer; 26 26 27 27 namespace HeuristicLab.Services.OKB { 28 28 /// <summary> 29 /// Service of administrating the OKB.30 /// </summary> 29 /// Interface of the OKB administration service. 30 /// </summary> 31 31 [ServiceContract(ProtectionLevel = ProtectionLevel.EncryptAndSign)] 32 32 public interface IAdminService { 33 33 [OperationContract] 34 Platform GetPlatform(long platformId);34 Platform GetPlatform(long id); 35 35 [OperationContract] 36 36 IEnumerable<Platform> GetPlatforms(); 37 37 [OperationContract] 38 void StorePlatform(Platform platform);38 void StorePlatform(Platform dto); 39 39 [OperationContract] 40 void DeletePlatform(long platformId);40 void DeletePlatform(long id); 41 41 42 42 [OperationContract] 43 AlgorithmClass GetAlgorithmClass(long algorithmClassId);43 AlgorithmClass GetAlgorithmClass(long id); 44 44 [OperationContract] 45 45 IEnumerable<AlgorithmClass> GetAlgorithmClasses(); 46 46 [OperationContract] 47 void StoreAlgorithmClass(AlgorithmClass algorithmClass);47 void StoreAlgorithmClass(AlgorithmClass dto); 48 48 [OperationContract] 49 void DeleteAlgorithmClass(long algorithmClassId);49 void DeleteAlgorithmClass(long id); 50 50 51 51 [OperationContract] 52 Algorithm GetAlgorithm(long algorithmId);52 Algorithm GetAlgorithm(long id); 53 53 [OperationContract] 54 54 IEnumerable<Algorithm> GetAlgorithms(); 55 55 [OperationContract] 56 void StoreAlgorithm(Algorithm algorithm);56 void StoreAlgorithm(Algorithm dto); 57 57 [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); 131 59 } 132 60 }
Note: See TracChangeset
for help on using the changeset viewer.