Changeset 7368
- Timestamp:
- 01/18/12 21:33:11 (13 years ago)
- Location:
- branches/ClientUserManagement
- Files:
-
- 13 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ClientUserManagement/HeuristicLab.Clients.Access/3.3/HeuristicLab.Clients.Access-3.3.csproj
r7367 r7368 10 10 <AppDesignerFolder>Properties</AppDesignerFolder> 11 11 <RootNamespace>HeuristicLab.Clients.Access</RootNamespace> 12 <AssemblyName>HeuristicLab.Clients.Access </AssemblyName>12 <AssemblyName>HeuristicLab.Clients.Access-3.3</AssemblyName> 13 13 <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> 14 14 <FileAlignment>512</FileAlignment> … … 18 18 <DebugType>full</DebugType> 19 19 <Optimize>false</Optimize> 20 <OutputPath> bin\Debug\</OutputPath>20 <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath> 21 21 <DefineConstants>DEBUG;TRACE</DefineConstants> 22 22 <ErrorReport>prompt</ErrorReport> … … 26 26 <DebugType>pdbonly</DebugType> 27 27 <Optimize>true</Optimize> 28 <OutputPath> bin\Release\</OutputPath>28 <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath> 29 29 <DefineConstants>TRACE</DefineConstants> 30 30 <ErrorReport>prompt</ErrorReport> … … 38 38 </PropertyGroup> 39 39 <ItemGroup> 40 <Reference Include="HeuristicLab.Clients.Common-3.3"> 41 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Clients.Common-3.3.dll</HintPath> 42 <Private>False</Private> 43 </Reference> 44 <Reference Include="HeuristicLab.Collections-3.3"> 45 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Collections-3.3.dll</HintPath> 46 <Private>False</Private> 47 </Reference> 48 <Reference Include="HeuristicLab.Common-3.3"> 49 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Common-3.3.dll</HintPath> 50 <Private>False</Private> 51 </Reference> 52 <Reference Include="HeuristicLab.Common.Resources-3.3"> 53 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Common.Resources-3.3.dll</HintPath> 54 <Private>False</Private> 55 </Reference> 56 <Reference Include="HeuristicLab.Core-3.3"> 57 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Core-3.3.dll</HintPath> 58 <Private>False</Private> 59 </Reference> 60 <Reference Include="HeuristicLab.Core.Views-3.3"> 61 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Core.Views-3.3.dll</HintPath> 62 <Private>False</Private> 63 </Reference> 64 <Reference Include="HeuristicLab.Data-3.3"> 65 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Data-3.3.dll</HintPath> 66 <Private>False</Private> 67 </Reference> 68 <Reference Include="HeuristicLab.MainForm-3.3"> 69 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.MainForm-3.3.dll</HintPath> 70 <Private>False</Private> 71 </Reference> 72 <Reference Include="HeuristicLab.MainForm.WindowsForms-3.3"> 73 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.MainForm.WindowsForms-3.3.dll</HintPath> 74 <Private>False</Private> 75 </Reference> 76 <Reference Include="HeuristicLab.Persistence-3.3"> 77 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Persistence-3.3.dll</HintPath> 78 <Private>False</Private> 79 </Reference> 40 80 <Reference Include="HeuristicLab.PluginInfrastructure-3.3"> 41 81 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.PluginInfrastructure-3.3.dll</HintPath> … … 44 84 <Reference Include="System" /> 45 85 <Reference Include="System.Core" /> 86 <Reference Include="System.Drawing" /> 46 87 <Reference Include="System.Runtime.Serialization" /> 47 88 <Reference Include="System.ServiceModel" /> 89 <Reference Include="System.Windows.Forms" /> 48 90 <Reference Include="System.Xml.Linq" /> 49 91 <Reference Include="System.Data.DataSetExtensions" /> … … 53 95 </ItemGroup> 54 96 <ItemGroup> 97 <Compile Include="AccessClient.cs" /> 55 98 <Compile Include="Plugin.cs" /> 56 99 <Compile Include="Properties\AssemblyInfo.cs" /> 57 100 <Compile Include="ServiceClients\AccessServiceClient.cs" /> 101 <Compile Include="ServiceClients\AccessItem.cs" /> 102 <Compile Include="ServiceClients\IAccessItem.cs" /> 103 <Compile Include="ServiceClients\LightweightUser.cs" /> 104 <Compile Include="ServiceClients\UserGroupBase.cs" /> 105 <Compile Include="Views\LightweightUserView.cs"> 106 <SubType>UserControl</SubType> 107 </Compile> 108 <Compile Include="Views\LightweightUserView.Designer.cs"> 109 <DependentUpon>LightweightUserView.cs</DependentUpon> 110 </Compile> 111 <Compile Include="Views\RefreshableLightweightUserView.cs"> 112 <SubType>UserControl</SubType> 113 </Compile> 114 <Compile Include="Views\RefreshableLightweightUserView.Designer.cs"> 115 <DependentUpon>RefreshableLightweightUserView.cs</DependentUpon> 116 </Compile> 117 <Compile Include="Views\RefreshableView.cs"> 118 <SubType>UserControl</SubType> 119 </Compile> 120 <Compile Include="Views\RefreshableView.Designer.cs"> 121 <DependentUpon>RefreshableView.cs</DependentUpon> 122 </Compile> 58 123 </ItemGroup> 59 124 <ItemGroup> … … 65 130 <None Include="Properties\AssemblyInfo.cs.frame" /> 66 131 <None Include="ServiceClients\GenerateServiceClients.cmd" /> 67 </ItemGroup> 68 <ItemGroup> 69 <Folder Include="Views\" /> 132 <None Include="UpdateLocalInstallation.cmd" /> 70 133 </ItemGroup> 71 134 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> … … 77 140 call PreBuildEvent.cmd</PreBuildEvent> 78 141 </PropertyGroup> 142 <PropertyGroup> 143 <PostBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir) 144 set ProjectDir=$(ProjectDir) 145 set SolutionDir=$(SolutionDir) 146 set Outdir=$(Outdir) 147 set TargetPath=$(TargetPath) 148 149 call UpdateLocalInstallation.cmd</PostBuildEvent> 150 </PropertyGroup> 79 151 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 80 152 Other similar extension points exist, see Microsoft.Common.targets. -
branches/ClientUserManagement/HeuristicLab.Clients.Access/3.3/Plugin.cs.frame
r7367 r7368 26 26 /// Plugin class for HeuristicLab.Clients.Access plugin. 27 27 /// </summary> 28 [Plugin("HeuristicLab.Clients. OKB", "3.3.6.$WCREV$")]28 [Plugin("HeuristicLab.Clients.Access", "3.3.6.$WCREV$")] 29 29 [PluginFile("HeuristicLab.Clients.Access-3.3.dll", PluginFileType.Assembly)] 30 30 [PluginDependency("HeuristicLab.Clients.Common", "3.3")] … … 36 36 [PluginDependency("HeuristicLab.Data", "3.3")] 37 37 [PluginDependency("HeuristicLab.MainForm", "3.3")] 38 [PluginDependency("HeuristicLab.MainForm.WindowsForms", "3.3")] 39 [PluginDependency("HeuristicLab.Operators", "3.3")] 40 [PluginDependency("HeuristicLab.Optimization", "3.3")] 41 [PluginDependency("HeuristicLab.Optimization.Views", "3.3")] 42 [PluginDependency("HeuristicLab.Optimizer", "3.3")] 43 [PluginDependency("HeuristicLab.Parameters", "3.3")] 38 [PluginDependency("HeuristicLab.MainForm.WindowsForms", "3.3")] 44 39 [PluginDependency("HeuristicLab.Persistence", "3.3")] 45 40 public class HeuristicLabClientsAccessPlugin : PluginBase { -
branches/ClientUserManagement/HeuristicLab.Clients.Access/3.3/ServiceClients/AccessServiceClient.cs
r7367 r7368 9 9 //------------------------------------------------------------------------------ 10 10 11 namespace HeuristicLab.Clients.Access 12 { 13 using System.Runtime.Serialization; 14 using System; 15 16 17 [System.Diagnostics.DebuggerStepThroughAttribute()] 18 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 19 [System.Runtime.Serialization.DataContractAttribute(Name="AccessItem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 20 "")] 21 [System.SerializableAttribute()] 22 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.UserGroupBase))] 23 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.User))] 24 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.LightweightUser))] 25 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.UserGroup))] 26 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.ClientError))] 27 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.Resource))] 28 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.Client))] 29 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.ClientConfiguration))] 30 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.ClientType))] 31 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.Country))] 32 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.OperatingSystem))] 33 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.ClientGroup))] 34 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.ClientLog))] 35 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.Role))] 36 public partial class AccessItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 37 { 38 39 [System.NonSerializedAttribute()] 40 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 41 42 public System.Runtime.Serialization.ExtensionDataObject ExtensionData 43 { 44 get 45 { 46 return this.extensionDataField; 47 } 48 set 49 { 50 this.extensionDataField = value; 51 } 52 } 53 54 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 55 56 protected void RaisePropertyChanged(string propertyName) 57 { 58 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 59 if ((propertyChanged != null)) 60 { 61 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 62 } 63 } 64 } 65 66 [System.Diagnostics.DebuggerStepThroughAttribute()] 67 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 68 [System.Runtime.Serialization.DataContractAttribute(Name="UserGroupBase", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 69 "")] 70 [System.SerializableAttribute()] 71 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.User))] 72 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.LightweightUser))] 73 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.UserGroup))] 74 public partial class UserGroupBase : HeuristicLab.Clients.Access.AccessItem 75 { 76 77 [System.Runtime.Serialization.OptionalFieldAttribute()] 78 private System.Guid IdField; 79 80 [System.Runtime.Serialization.DataMemberAttribute()] 81 public System.Guid Id 82 { 83 get 84 { 85 return this.IdField; 86 } 87 set 88 { 89 if ((this.IdField.Equals(value) != true)) 90 { 91 this.IdField = value; 92 this.RaisePropertyChanged("Id"); 93 } 94 } 95 } 96 } 97 98 [System.Diagnostics.DebuggerStepThroughAttribute()] 99 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 100 [System.Runtime.Serialization.DataContractAttribute(Name="User", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 101 "")] 102 [System.SerializableAttribute()] 103 public partial class User : HeuristicLab.Clients.Access.UserGroupBase 104 { 105 106 [System.Runtime.Serialization.OptionalFieldAttribute()] 107 private string CommentField; 108 109 [System.Runtime.Serialization.OptionalFieldAttribute()] 110 private System.DateTime CreationDateField; 111 112 [System.Runtime.Serialization.OptionalFieldAttribute()] 113 private string EmailField; 114 115 [System.Runtime.Serialization.OptionalFieldAttribute()] 116 private string FullNameField; 117 118 [System.Runtime.Serialization.OptionalFieldAttribute()] 119 private bool IsApprovedField; 120 121 [System.Runtime.Serialization.OptionalFieldAttribute()] 122 private System.DateTime LastActivityDateField; 123 124 [System.Runtime.Serialization.OptionalFieldAttribute()] 125 private System.DateTime LastLoginDateField; 126 127 [System.Runtime.Serialization.OptionalFieldAttribute()] 128 private System.DateTime LastPasswordChangedDateField; 129 130 [System.Runtime.Serialization.OptionalFieldAttribute()] 131 private string UserNameField; 132 133 [System.Runtime.Serialization.DataMemberAttribute()] 134 public string Comment 135 { 136 get 137 { 138 return this.CommentField; 139 } 140 set 141 { 142 if ((object.ReferenceEquals(this.CommentField, value) != true)) 143 { 144 this.CommentField = value; 145 this.RaisePropertyChanged("Comment"); 146 } 147 } 148 } 149 150 [System.Runtime.Serialization.DataMemberAttribute()] 151 public System.DateTime CreationDate 152 { 153 get 154 { 155 return this.CreationDateField; 156 } 157 set 158 { 159 if ((this.CreationDateField.Equals(value) != true)) 160 { 161 this.CreationDateField = value; 162 this.RaisePropertyChanged("CreationDate"); 163 } 164 } 165 } 166 167 [System.Runtime.Serialization.DataMemberAttribute()] 168 public string Email 169 { 170 get 171 { 172 return this.EmailField; 173 } 174 set 175 { 176 if ((object.ReferenceEquals(this.EmailField, value) != true)) 177 { 178 this.EmailField = value; 179 this.RaisePropertyChanged("Email"); 180 } 181 } 182 } 183 184 [System.Runtime.Serialization.DataMemberAttribute()] 185 public string FullName 186 { 187 get 188 { 189 return this.FullNameField; 190 } 191 set 192 { 193 if ((object.ReferenceEquals(this.FullNameField, value) != true)) 194 { 195 this.FullNameField = value; 196 this.RaisePropertyChanged("FullName"); 197 } 198 } 199 } 200 201 [System.Runtime.Serialization.DataMemberAttribute()] 202 public bool IsApproved 203 { 204 get 205 { 206 return this.IsApprovedField; 207 } 208 set 209 { 210 if ((this.IsApprovedField.Equals(value) != true)) 211 { 212 this.IsApprovedField = value; 213 this.RaisePropertyChanged("IsApproved"); 214 } 215 } 216 } 217 218 [System.Runtime.Serialization.DataMemberAttribute()] 219 public System.DateTime LastActivityDate 220 { 221 get 222 { 223 return this.LastActivityDateField; 224 } 225 set 226 { 227 if ((this.LastActivityDateField.Equals(value) != true)) 228 { 229 this.LastActivityDateField = value; 230 this.RaisePropertyChanged("LastActivityDate"); 231 } 232 } 233 } 234 235 [System.Runtime.Serialization.DataMemberAttribute()] 236 public System.DateTime LastLoginDate 237 { 238 get 239 { 240 return this.LastLoginDateField; 241 } 242 set 243 { 244 if ((this.LastLoginDateField.Equals(value) != true)) 245 { 246 this.LastLoginDateField = value; 247 this.RaisePropertyChanged("LastLoginDate"); 248 } 249 } 250 } 251 252 [System.Runtime.Serialization.DataMemberAttribute()] 253 public System.DateTime LastPasswordChangedDate 254 { 255 get 256 { 257 return this.LastPasswordChangedDateField; 258 } 259 set 260 { 261 if ((this.LastPasswordChangedDateField.Equals(value) != true)) 262 { 263 this.LastPasswordChangedDateField = value; 264 this.RaisePropertyChanged("LastPasswordChangedDate"); 265 } 266 } 267 } 268 269 [System.Runtime.Serialization.DataMemberAttribute()] 270 public string UserName 271 { 272 get 273 { 274 return this.UserNameField; 275 } 276 set 277 { 278 if ((object.ReferenceEquals(this.UserNameField, value) != true)) 279 { 280 this.UserNameField = value; 281 this.RaisePropertyChanged("UserName"); 282 } 283 } 284 } 285 } 286 287 [System.Diagnostics.DebuggerStepThroughAttribute()] 288 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 289 [System.Runtime.Serialization.DataContractAttribute(Name="LightweightUser", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 290 "")] 291 [System.SerializableAttribute()] 292 public partial class LightweightUser : HeuristicLab.Clients.Access.UserGroupBase 293 { 294 295 [System.Runtime.Serialization.OptionalFieldAttribute()] 296 private string FullNameField; 297 298 [System.Runtime.Serialization.OptionalFieldAttribute()] 299 private string UserNameField; 300 301 [System.Runtime.Serialization.DataMemberAttribute()] 302 public string FullName 303 { 304 get 305 { 306 return this.FullNameField; 307 } 308 set 309 { 310 if ((object.ReferenceEquals(this.FullNameField, value) != true)) 311 { 312 this.FullNameField = value; 313 this.RaisePropertyChanged("FullName"); 314 } 315 } 316 } 317 318 [System.Runtime.Serialization.DataMemberAttribute()] 319 public string UserName 320 { 321 get 322 { 323 return this.UserNameField; 324 } 325 set 326 { 327 if ((object.ReferenceEquals(this.UserNameField, value) != true)) 328 { 329 this.UserNameField = value; 330 this.RaisePropertyChanged("UserName"); 331 } 332 } 333 } 334 } 335 336 [System.Diagnostics.DebuggerStepThroughAttribute()] 337 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 338 [System.Runtime.Serialization.DataContractAttribute(Name="UserGroup", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 339 "")] 340 [System.SerializableAttribute()] 341 public partial class UserGroup : HeuristicLab.Clients.Access.UserGroupBase 342 { 343 344 [System.Runtime.Serialization.OptionalFieldAttribute()] 345 private string NameField; 346 347 [System.Runtime.Serialization.DataMemberAttribute()] 348 public string Name 349 { 350 get 351 { 352 return this.NameField; 353 } 354 set 355 { 356 if ((object.ReferenceEquals(this.NameField, value) != true)) 357 { 358 this.NameField = value; 359 this.RaisePropertyChanged("Name"); 360 } 361 } 362 } 363 } 364 365 [System.Diagnostics.DebuggerStepThroughAttribute()] 366 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 367 [System.Runtime.Serialization.DataContractAttribute(Name="ClientError", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 368 "")] 369 [System.SerializableAttribute()] 370 public partial class ClientError : HeuristicLab.Clients.Access.AccessItem 371 { 372 373 [System.Runtime.Serialization.OptionalFieldAttribute()] 374 private System.Guid ClientIdField; 375 376 [System.Runtime.Serialization.OptionalFieldAttribute()] 377 private string ConfigDumpField; 378 379 [System.Runtime.Serialization.OptionalFieldAttribute()] 380 private string ExceptionField; 381 382 [System.Runtime.Serialization.OptionalFieldAttribute()] 383 private System.Guid IdField; 384 385 [System.Runtime.Serialization.OptionalFieldAttribute()] 386 private System.DateTime TimestampField; 387 388 [System.Runtime.Serialization.OptionalFieldAttribute()] 389 private string UserCommentField; 390 391 [System.Runtime.Serialization.OptionalFieldAttribute()] 392 private System.Guid UserIdField; 393 394 [System.Runtime.Serialization.DataMemberAttribute()] 395 public System.Guid ClientId 396 { 397 get 398 { 399 return this.ClientIdField; 400 } 401 set 402 { 403 if ((this.ClientIdField.Equals(value) != true)) 404 { 405 this.ClientIdField = value; 406 this.RaisePropertyChanged("ClientId"); 407 } 408 } 409 } 410 411 [System.Runtime.Serialization.DataMemberAttribute()] 412 public string ConfigDump 413 { 414 get 415 { 416 return this.ConfigDumpField; 417 } 418 set 419 { 420 if ((object.ReferenceEquals(this.ConfigDumpField, value) != true)) 421 { 422 this.ConfigDumpField = value; 423 this.RaisePropertyChanged("ConfigDump"); 424 } 425 } 426 } 427 428 [System.Runtime.Serialization.DataMemberAttribute()] 429 public string Exception 430 { 431 get 432 { 433 return this.ExceptionField; 434 } 435 set 436 { 437 if ((object.ReferenceEquals(this.ExceptionField, value) != true)) 438 { 439 this.ExceptionField = value; 440 this.RaisePropertyChanged("Exception"); 441 } 442 } 443 } 444 445 [System.Runtime.Serialization.DataMemberAttribute()] 446 public System.Guid Id 447 { 448 get 449 { 450 return this.IdField; 451 } 452 set 453 { 454 if ((this.IdField.Equals(value) != true)) 455 { 456 this.IdField = value; 457 this.RaisePropertyChanged("Id"); 458 } 459 } 460 } 461 462 [System.Runtime.Serialization.DataMemberAttribute()] 463 public System.DateTime Timestamp 464 { 465 get 466 { 467 return this.TimestampField; 468 } 469 set 470 { 471 if ((this.TimestampField.Equals(value) != true)) 472 { 473 this.TimestampField = value; 474 this.RaisePropertyChanged("Timestamp"); 475 } 476 } 477 } 478 479 [System.Runtime.Serialization.DataMemberAttribute()] 480 public string UserComment 481 { 482 get 483 { 484 return this.UserCommentField; 485 } 486 set 487 { 488 if ((object.ReferenceEquals(this.UserCommentField, value) != true)) 489 { 490 this.UserCommentField = value; 491 this.RaisePropertyChanged("UserComment"); 492 } 493 } 494 } 495 496 [System.Runtime.Serialization.DataMemberAttribute()] 497 public System.Guid UserId 498 { 499 get 500 { 501 return this.UserIdField; 502 } 503 set 504 { 505 if ((this.UserIdField.Equals(value) != true)) 506 { 507 this.UserIdField = value; 508 this.RaisePropertyChanged("UserId"); 509 } 510 } 511 } 512 } 513 514 [System.Diagnostics.DebuggerStepThroughAttribute()] 515 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 516 [System.Runtime.Serialization.DataContractAttribute(Name="Resource", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 517 "")] 518 [System.SerializableAttribute()] 519 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.Client))] 520 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.ClientGroup))] 521 public partial class Resource : HeuristicLab.Clients.Access.AccessItem 522 { 523 524 [System.Runtime.Serialization.OptionalFieldAttribute()] 525 private string DescriptionField; 526 527 [System.Runtime.Serialization.OptionalFieldAttribute()] 528 private System.Guid IdField; 529 530 [System.Runtime.Serialization.OptionalFieldAttribute()] 531 private string NameField; 532 533 [System.Runtime.Serialization.DataMemberAttribute()] 534 public string Description 535 { 536 get 537 { 538 return this.DescriptionField; 539 } 540 set 541 { 542 if ((object.ReferenceEquals(this.DescriptionField, value) != true)) 543 { 544 this.DescriptionField = value; 545 this.RaisePropertyChanged("Description"); 546 } 547 } 548 } 549 550 [System.Runtime.Serialization.DataMemberAttribute()] 551 public System.Guid Id 552 { 553 get 554 { 555 return this.IdField; 556 } 557 set 558 { 559 if ((this.IdField.Equals(value) != true)) 560 { 561 this.IdField = value; 562 this.RaisePropertyChanged("Id"); 563 } 564 } 565 } 566 567 [System.Runtime.Serialization.DataMemberAttribute()] 568 public string Name 569 { 570 get 571 { 572 return this.NameField; 573 } 574 set 575 { 576 if ((object.ReferenceEquals(this.NameField, value) != true)) 577 { 578 this.NameField = value; 579 this.RaisePropertyChanged("Name"); 580 } 581 } 582 } 583 } 584 585 [System.Diagnostics.DebuggerStepThroughAttribute()] 586 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 587 [System.Runtime.Serialization.DataContractAttribute(Name="Client", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 588 "")] 589 [System.SerializableAttribute()] 590 public partial class Client : HeuristicLab.Clients.Access.Resource 591 { 592 593 [System.Runtime.Serialization.OptionalFieldAttribute()] 594 private HeuristicLab.Clients.Access.ClientConfiguration ClientConfigurationField; 595 596 [System.Runtime.Serialization.OptionalFieldAttribute()] 597 private HeuristicLab.Clients.Access.ClientType ClientTypeField; 598 599 [System.Runtime.Serialization.OptionalFieldAttribute()] 600 private HeuristicLab.Clients.Access.Country CountryField; 601 602 [System.Runtime.Serialization.OptionalFieldAttribute()] 603 private string HeuristicLabVersionField; 604 605 [System.Runtime.Serialization.OptionalFieldAttribute()] 606 private int MemorySizeField; 607 608 [System.Runtime.Serialization.OptionalFieldAttribute()] 609 private int NumberOfCoresField; 610 611 [System.Runtime.Serialization.OptionalFieldAttribute()] 612 private HeuristicLab.Clients.Access.OperatingSystem OperatingSystemField; 613 614 [System.Runtime.Serialization.OptionalFieldAttribute()] 615 private string ProcessorTypeField; 616 617 [System.Runtime.Serialization.OptionalFieldAttribute()] 618 private System.DateTime TimestampField; 619 620 [System.Runtime.Serialization.DataMemberAttribute()] 621 public HeuristicLab.Clients.Access.ClientConfiguration ClientConfiguration 622 { 623 get 624 { 625 return this.ClientConfigurationField; 626 } 627 set 628 { 629 if ((object.ReferenceEquals(this.ClientConfigurationField, value) != true)) 630 { 631 this.ClientConfigurationField = value; 632 this.RaisePropertyChanged("ClientConfiguration"); 633 } 634 } 635 } 636 637 [System.Runtime.Serialization.DataMemberAttribute()] 638 public HeuristicLab.Clients.Access.ClientType ClientType 639 { 640 get 641 { 642 return this.ClientTypeField; 643 } 644 set 645 { 646 if ((object.ReferenceEquals(this.ClientTypeField, value) != true)) 647 { 648 this.ClientTypeField = value; 649 this.RaisePropertyChanged("ClientType"); 650 } 651 } 652 } 653 654 [System.Runtime.Serialization.DataMemberAttribute()] 655 public HeuristicLab.Clients.Access.Country Country 656 { 657 get 658 { 659 return this.CountryField; 660 } 661 set 662 { 663 if ((object.ReferenceEquals(this.CountryField, value) != true)) 664 { 665 this.CountryField = value; 666 this.RaisePropertyChanged("Country"); 667 } 668 } 669 } 670 671 [System.Runtime.Serialization.DataMemberAttribute()] 672 public string HeuristicLabVersion 673 { 674 get 675 { 676 return this.HeuristicLabVersionField; 677 } 678 set 679 { 680 if ((object.ReferenceEquals(this.HeuristicLabVersionField, value) != true)) 681 { 682 this.HeuristicLabVersionField = value; 683 this.RaisePropertyChanged("HeuristicLabVersion"); 684 } 685 } 686 } 687 688 [System.Runtime.Serialization.DataMemberAttribute()] 689 public int MemorySize 690 { 691 get 692 { 693 return this.MemorySizeField; 694 } 695 set 696 { 697 if ((this.MemorySizeField.Equals(value) != true)) 698 { 699 this.MemorySizeField = value; 700 this.RaisePropertyChanged("MemorySize"); 701 } 702 } 703 } 704 705 [System.Runtime.Serialization.DataMemberAttribute()] 706 public int NumberOfCores 707 { 708 get 709 { 710 return this.NumberOfCoresField; 711 } 712 set 713 { 714 if ((this.NumberOfCoresField.Equals(value) != true)) 715 { 716 this.NumberOfCoresField = value; 717 this.RaisePropertyChanged("NumberOfCores"); 718 } 719 } 720 } 721 722 [System.Runtime.Serialization.DataMemberAttribute()] 723 public HeuristicLab.Clients.Access.OperatingSystem OperatingSystem 724 { 725 get 726 { 727 return this.OperatingSystemField; 728 } 729 set 730 { 731 if ((object.ReferenceEquals(this.OperatingSystemField, value) != true)) 732 { 733 this.OperatingSystemField = value; 734 this.RaisePropertyChanged("OperatingSystem"); 735 } 736 } 737 } 738 739 [System.Runtime.Serialization.DataMemberAttribute()] 740 public string ProcessorType 741 { 742 get 743 { 744 return this.ProcessorTypeField; 745 } 746 set 747 { 748 if ((object.ReferenceEquals(this.ProcessorTypeField, value) != true)) 749 { 750 this.ProcessorTypeField = value; 751 this.RaisePropertyChanged("ProcessorType"); 752 } 753 } 754 } 755 756 [System.Runtime.Serialization.DataMemberAttribute()] 757 public System.DateTime Timestamp 758 { 759 get 760 { 761 return this.TimestampField; 762 } 763 set 764 { 765 if ((this.TimestampField.Equals(value) != true)) 766 { 767 this.TimestampField = value; 768 this.RaisePropertyChanged("Timestamp"); 769 } 770 } 771 } 772 } 773 774 [System.Diagnostics.DebuggerStepThroughAttribute()] 775 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 776 [System.Runtime.Serialization.DataContractAttribute(Name="ClientConfiguration", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 777 "")] 778 [System.SerializableAttribute()] 779 public partial class ClientConfiguration : HeuristicLab.Clients.Access.AccessItem 780 { 781 782 [System.Runtime.Serialization.OptionalFieldAttribute()] 783 private string DescriptionField; 784 785 [System.Runtime.Serialization.OptionalFieldAttribute()] 786 private string HashField; 787 788 [System.Runtime.Serialization.OptionalFieldAttribute()] 789 private System.Guid IdField; 790 791 [System.Runtime.Serialization.DataMemberAttribute()] 792 public string Description 793 { 794 get 795 { 796 return this.DescriptionField; 797 } 798 set 799 { 800 if ((object.ReferenceEquals(this.DescriptionField, value) != true)) 801 { 802 this.DescriptionField = value; 803 this.RaisePropertyChanged("Description"); 804 } 805 } 806 } 807 808 [System.Runtime.Serialization.DataMemberAttribute()] 809 public string Hash 810 { 811 get 812 { 813 return this.HashField; 814 } 815 set 816 { 817 if ((object.ReferenceEquals(this.HashField, value) != true)) 818 { 819 this.HashField = value; 820 this.RaisePropertyChanged("Hash"); 821 } 822 } 823 } 824 825 [System.Runtime.Serialization.DataMemberAttribute()] 826 public System.Guid Id 827 { 828 get 829 { 830 return this.IdField; 831 } 832 set 833 { 834 if ((this.IdField.Equals(value) != true)) 835 { 836 this.IdField = value; 837 this.RaisePropertyChanged("Id"); 838 } 839 } 840 } 841 } 842 843 [System.Diagnostics.DebuggerStepThroughAttribute()] 844 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 845 [System.Runtime.Serialization.DataContractAttribute(Name="ClientType", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 846 "")] 847 [System.SerializableAttribute()] 848 public partial class ClientType : HeuristicLab.Clients.Access.AccessItem 849 { 850 851 [System.Runtime.Serialization.OptionalFieldAttribute()] 852 private System.Guid IdField; 853 854 [System.Runtime.Serialization.OptionalFieldAttribute()] 855 private string NameField; 856 857 [System.Runtime.Serialization.DataMemberAttribute()] 858 public System.Guid Id 859 { 860 get 861 { 862 return this.IdField; 863 } 864 set 865 { 866 if ((this.IdField.Equals(value) != true)) 867 { 868 this.IdField = value; 869 this.RaisePropertyChanged("Id"); 870 } 871 } 872 } 873 874 [System.Runtime.Serialization.DataMemberAttribute()] 875 public string Name 876 { 877 get 878 { 879 return this.NameField; 880 } 881 set 882 { 883 if ((object.ReferenceEquals(this.NameField, value) != true)) 884 { 885 this.NameField = value; 886 this.RaisePropertyChanged("Name"); 887 } 888 } 889 } 890 } 891 892 [System.Diagnostics.DebuggerStepThroughAttribute()] 893 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 894 [System.Runtime.Serialization.DataContractAttribute(Name="Country", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 895 "")] 896 [System.SerializableAttribute()] 897 public partial class Country : HeuristicLab.Clients.Access.AccessItem 898 { 899 900 [System.Runtime.Serialization.OptionalFieldAttribute()] 901 private System.Guid IdField; 902 903 [System.Runtime.Serialization.OptionalFieldAttribute()] 904 private string NameField; 905 906 [System.Runtime.Serialization.DataMemberAttribute()] 907 public System.Guid Id 908 { 909 get 910 { 911 return this.IdField; 912 } 913 set 914 { 915 if ((this.IdField.Equals(value) != true)) 916 { 917 this.IdField = value; 918 this.RaisePropertyChanged("Id"); 919 } 920 } 921 } 922 923 [System.Runtime.Serialization.DataMemberAttribute()] 924 public string Name 925 { 926 get 927 { 928 return this.NameField; 929 } 930 set 931 { 932 if ((object.ReferenceEquals(this.NameField, value) != true)) 933 { 934 this.NameField = value; 935 this.RaisePropertyChanged("Name"); 936 } 937 } 938 } 939 } 940 941 [System.Diagnostics.DebuggerStepThroughAttribute()] 942 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 943 [System.Runtime.Serialization.DataContractAttribute(Name="OperatingSystem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 944 "")] 945 [System.SerializableAttribute()] 946 public partial class OperatingSystem : HeuristicLab.Clients.Access.AccessItem 947 { 948 949 [System.Runtime.Serialization.OptionalFieldAttribute()] 950 private System.Guid IdField; 951 952 [System.Runtime.Serialization.OptionalFieldAttribute()] 953 private string NameField; 954 955 [System.Runtime.Serialization.DataMemberAttribute()] 956 public System.Guid Id 957 { 958 get 959 { 960 return this.IdField; 961 } 962 set 963 { 964 if ((this.IdField.Equals(value) != true)) 965 { 966 this.IdField = value; 967 this.RaisePropertyChanged("Id"); 968 } 969 } 970 } 971 972 [System.Runtime.Serialization.DataMemberAttribute()] 973 public string Name 974 { 975 get 976 { 977 return this.NameField; 978 } 979 set 980 { 981 if ((object.ReferenceEquals(this.NameField, value) != true)) 982 { 983 this.NameField = value; 984 this.RaisePropertyChanged("Name"); 985 } 986 } 987 } 988 } 989 990 [System.Diagnostics.DebuggerStepThroughAttribute()] 991 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 992 [System.Runtime.Serialization.DataContractAttribute(Name="ClientGroup", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 993 "")] 994 [System.SerializableAttribute()] 995 public partial class ClientGroup : HeuristicLab.Clients.Access.Resource 996 { 997 } 998 999 [System.Diagnostics.DebuggerStepThroughAttribute()] 1000 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1001 [System.Runtime.Serialization.DataContractAttribute(Name="ClientLog", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 1002 "")] 1003 [System.SerializableAttribute()] 1004 public partial class ClientLog : HeuristicLab.Clients.Access.AccessItem 1005 { 1006 1007 [System.Runtime.Serialization.OptionalFieldAttribute()] 1008 private string MessageField; 1009 1010 [System.Runtime.Serialization.OptionalFieldAttribute()] 1011 private System.Guid ResourceIdField; 1012 1013 [System.Runtime.Serialization.OptionalFieldAttribute()] 1014 private System.DateTime TimestampField; 1015 1016 [System.Runtime.Serialization.DataMemberAttribute()] 1017 public string Message 1018 { 1019 get 1020 { 1021 return this.MessageField; 1022 } 1023 set 1024 { 1025 if ((object.ReferenceEquals(this.MessageField, value) != true)) 1026 { 1027 this.MessageField = value; 1028 this.RaisePropertyChanged("Message"); 1029 } 1030 } 1031 } 1032 1033 [System.Runtime.Serialization.DataMemberAttribute()] 1034 public System.Guid ResourceId 1035 { 1036 get 1037 { 1038 return this.ResourceIdField; 1039 } 1040 set 1041 { 1042 if ((this.ResourceIdField.Equals(value) != true)) 1043 { 1044 this.ResourceIdField = value; 1045 this.RaisePropertyChanged("ResourceId"); 1046 } 1047 } 1048 } 1049 1050 [System.Runtime.Serialization.DataMemberAttribute()] 1051 public System.DateTime Timestamp 1052 { 1053 get 1054 { 1055 return this.TimestampField; 1056 } 1057 set 1058 { 1059 if ((this.TimestampField.Equals(value) != true)) 1060 { 1061 this.TimestampField = value; 1062 this.RaisePropertyChanged("Timestamp"); 1063 } 1064 } 1065 } 1066 } 1067 1068 [System.Diagnostics.DebuggerStepThroughAttribute()] 1069 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1070 [System.Runtime.Serialization.DataContractAttribute(Name="Role", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 1071 "")] 1072 [System.SerializableAttribute()] 1073 public partial class Role : HeuristicLab.Clients.Access.AccessItem 1074 { 1075 1076 [System.Runtime.Serialization.OptionalFieldAttribute()] 1077 private string NameField; 1078 1079 [System.Runtime.Serialization.DataMemberAttribute()] 1080 public string Name 1081 { 1082 get 1083 { 1084 return this.NameField; 1085 } 1086 set 1087 { 1088 if ((object.ReferenceEquals(this.NameField, value) != true)) 1089 { 1090 this.NameField = value; 1091 this.RaisePropertyChanged("Name"); 1092 } 1093 } 1094 } 1095 } 1096 1097 [System.Diagnostics.DebuggerStepThroughAttribute()] 1098 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1099 [System.Runtime.Serialization.DataContractAttribute(Name="ClientGroupMapping", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 1100 "")] 1101 [System.SerializableAttribute()] 1102 public partial class ClientGroupMapping : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 1103 { 1104 1105 [System.NonSerializedAttribute()] 1106 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 1107 1108 [System.Runtime.Serialization.OptionalFieldAttribute()] 1109 private System.Guid ChildField; 1110 1111 [System.Runtime.Serialization.OptionalFieldAttribute()] 1112 private System.Guid ParentField; 1113 1114 public System.Runtime.Serialization.ExtensionDataObject ExtensionData 1115 { 1116 get 1117 { 1118 return this.extensionDataField; 1119 } 1120 set 1121 { 1122 this.extensionDataField = value; 1123 } 1124 } 1125 1126 [System.Runtime.Serialization.DataMemberAttribute()] 1127 public System.Guid Child 1128 { 1129 get 1130 { 1131 return this.ChildField; 1132 } 1133 set 1134 { 1135 if ((this.ChildField.Equals(value) != true)) 1136 { 1137 this.ChildField = value; 1138 this.RaisePropertyChanged("Child"); 1139 } 1140 } 1141 } 1142 1143 [System.Runtime.Serialization.DataMemberAttribute()] 1144 public System.Guid Parent 1145 { 1146 get 1147 { 1148 return this.ParentField; 1149 } 1150 set 1151 { 1152 if ((this.ParentField.Equals(value) != true)) 1153 { 1154 this.ParentField = value; 1155 this.RaisePropertyChanged("Parent"); 1156 } 1157 } 1158 } 1159 1160 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 1161 1162 protected void RaisePropertyChanged(string propertyName) 1163 { 1164 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 1165 if ((propertyChanged != null)) 1166 { 1167 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 1168 } 1169 } 1170 } 1171 1172 [System.Diagnostics.DebuggerStepThroughAttribute()] 1173 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1174 [System.Runtime.Serialization.DataContractAttribute(Name="UserGroupMapping", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 1175 "")] 1176 [System.SerializableAttribute()] 1177 public partial class UserGroupMapping : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 1178 { 1179 1180 [System.NonSerializedAttribute()] 1181 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 1182 1183 [System.Runtime.Serialization.OptionalFieldAttribute()] 1184 private System.Guid ChildField; 1185 1186 [System.Runtime.Serialization.OptionalFieldAttribute()] 1187 private System.Guid ParentField; 1188 1189 public System.Runtime.Serialization.ExtensionDataObject ExtensionData 1190 { 1191 get 1192 { 1193 return this.extensionDataField; 1194 } 1195 set 1196 { 1197 this.extensionDataField = value; 1198 } 1199 } 1200 1201 [System.Runtime.Serialization.DataMemberAttribute()] 1202 public System.Guid Child 1203 { 1204 get 1205 { 1206 return this.ChildField; 1207 } 1208 set 1209 { 1210 if ((this.ChildField.Equals(value) != true)) 1211 { 1212 this.ChildField = value; 1213 this.RaisePropertyChanged("Child"); 1214 } 1215 } 1216 } 1217 1218 [System.Runtime.Serialization.DataMemberAttribute()] 1219 public System.Guid Parent 1220 { 1221 get 1222 { 1223 return this.ParentField; 1224 } 1225 set 1226 { 1227 if ((this.ParentField.Equals(value) != true)) 1228 { 1229 this.ParentField = value; 1230 this.RaisePropertyChanged("Parent"); 1231 } 1232 } 1233 } 1234 1235 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 1236 1237 protected void RaisePropertyChanged(string propertyName) 1238 { 1239 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 1240 if ((propertyChanged != null)) 1241 { 1242 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 1243 } 1244 } 1245 } 1246 1247 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 1248 [System.ServiceModel.ServiceContractAttribute(ConfigurationName="HeuristicLab.Clients.Access.IAccessService")] 1249 public interface IAccessService 1250 { 1251 1252 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/AddRole", ReplyAction="http://tempuri.org/IAccessService/AddRoleResponse")] 1253 HeuristicLab.Clients.Access.Role AddRole(HeuristicLab.Clients.Access.Role role); 1254 1255 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/DeleteRole", ReplyAction="http://tempuri.org/IAccessService/DeleteRoleResponse")] 1256 void DeleteRole(HeuristicLab.Clients.Access.Role role); 1257 1258 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/GetUserRoles", ReplyAction="http://tempuri.org/IAccessService/GetUserRolesResponse")] 1259 System.Collections.Generic.List<HeuristicLab.Clients.Access.Role> GetUserRoles(HeuristicLab.Clients.Access.User user); 1260 1261 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/AddRoleToGroup", ReplyAction="http://tempuri.org/IAccessService/AddRoleToGroupResponse")] 1262 void AddRoleToGroup(HeuristicLab.Clients.Access.UserGroup userGroup, HeuristicLab.Clients.Access.Role role); 1263 1264 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/RemoveRoleFromGroup", ReplyAction="http://tempuri.org/IAccessService/RemoveRoleFromGroupResponse")] 1265 void RemoveRoleFromGroup(HeuristicLab.Clients.Access.UserGroup userGroup, HeuristicLab.Clients.Access.Role role); 1266 1267 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/ReportError", ReplyAction="http://tempuri.org/IAccessService/ReportErrorResponse")] 1268 void ReportError(HeuristicLab.Clients.Access.ClientError error); 1269 1270 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/GetClientErrors", ReplyAction="http://tempuri.org/IAccessService/GetClientErrorsResponse")] 1271 System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientError> GetClientErrors(); 1272 1273 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/GetLastClientErrors", ReplyAction="http://tempuri.org/IAccessService/GetLastClientErrorsResponse")] 1274 System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientError> GetLastClientErrors(System.DateTime startDate); 1275 1276 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/DeleteError", ReplyAction="http://tempuri.org/IAccessService/DeleteErrorResponse")] 1277 void DeleteError(HeuristicLab.Clients.Access.ClientError error); 1278 1279 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/ClientExists", ReplyAction="http://tempuri.org/IAccessService/ClientExistsResponse")] 1280 bool ClientExists(System.Guid id); 1281 1282 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/GetClient", ReplyAction="http://tempuri.org/IAccessService/GetClientResponse")] 1283 HeuristicLab.Clients.Access.Client GetClient(System.Guid id); 1284 1285 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/GetClients", ReplyAction="http://tempuri.org/IAccessService/GetClientsResponse")] 1286 System.Collections.Generic.List<HeuristicLab.Clients.Access.Client> GetClients(System.Collections.Generic.List<System.Guid> ids); 1287 1288 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/GetAllClients", ReplyAction="http://tempuri.org/IAccessService/GetAllClientsResponse")] 1289 System.Collections.Generic.List<HeuristicLab.Clients.Access.Client> GetAllClients(); 1290 1291 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/AddClient", ReplyAction="http://tempuri.org/IAccessService/AddClientResponse")] 1292 System.Guid AddClient(HeuristicLab.Clients.Access.Client client); 1293 1294 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/UpdateClient", ReplyAction="http://tempuri.org/IAccessService/UpdateClientResponse")] 1295 void UpdateClient(HeuristicLab.Clients.Access.Client client); 1296 1297 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/DeleteClient", ReplyAction="http://tempuri.org/IAccessService/DeleteClientResponse")] 1298 void DeleteClient(HeuristicLab.Clients.Access.Client client); 1299 1300 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/GetAllClientGroups", ReplyAction="http://tempuri.org/IAccessService/GetAllClientGroupsResponse")] 1301 System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientGroup> GetAllClientGroups(); 1302 1303 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/GetClientGroups", ReplyAction="http://tempuri.org/IAccessService/GetClientGroupsResponse")] 1304 System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientGroup> GetClientGroups(System.Collections.Generic.List<System.Guid> ids); 1305 1306 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/AddClientGroup", ReplyAction="http://tempuri.org/IAccessService/AddClientGroupResponse")] 1307 System.Guid AddClientGroup(HeuristicLab.Clients.Access.ClientGroup group); 1308 1309 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/UpdateClientGroup", ReplyAction="http://tempuri.org/IAccessService/UpdateClientGroupResponse")] 1310 void UpdateClientGroup(HeuristicLab.Clients.Access.ClientGroup group); 1311 1312 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/DeleteClientGroup", ReplyAction="http://tempuri.org/IAccessService/DeleteClientGroupResponse")] 1313 void DeleteClientGroup(HeuristicLab.Clients.Access.ClientGroup group); 1314 1315 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/AddResourceToGroup", ReplyAction="http://tempuri.org/IAccessService/AddResourceToGroupResponse")] 1316 void AddResourceToGroup(HeuristicLab.Clients.Access.Resource resource, HeuristicLab.Clients.Access.ClientGroup group); 1317 1318 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/RemoveResourceFromGroup", ReplyAction="http://tempuri.org/IAccessService/RemoveResourceFromGroupResponse")] 1319 void RemoveResourceFromGroup(HeuristicLab.Clients.Access.Resource resource, HeuristicLab.Clients.Access.ClientGroup group); 1320 1321 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/GetClientGroupMapping", ReplyAction="http://tempuri.org/IAccessService/GetClientGroupMappingResponse")] 1322 System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientGroupMapping> GetClientGroupMapping(); 1323 1324 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/GetResources", ReplyAction="http://tempuri.org/IAccessService/GetResourcesResponse")] 1325 System.Collections.Generic.List<HeuristicLab.Clients.Access.Resource> GetResources(); 1326 1327 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/GetLastClientLog", ReplyAction="http://tempuri.org/IAccessService/GetLastClientLogResponse")] 1328 HeuristicLab.Clients.Access.ClientLog GetLastClientLog(System.Guid clientId); 1329 1330 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/GetClientLogs", ReplyAction="http://tempuri.org/IAccessService/GetClientLogsResponse")] 1331 System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientLog> GetClientLogs(System.Guid clientId); 1332 1333 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/GetClientLogsSince", ReplyAction="http://tempuri.org/IAccessService/GetClientLogsSinceResponse")] 1334 System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientLog> GetClientLogsSince(System.DateTime startDate); 1335 1336 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/AddClientLog", ReplyAction="http://tempuri.org/IAccessService/AddClientLogResponse")] 1337 void AddClientLog(HeuristicLab.Clients.Access.ClientLog log); 1338 1339 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/DeleteClientLog", ReplyAction="http://tempuri.org/IAccessService/DeleteClientLogResponse")] 1340 void DeleteClientLog(HeuristicLab.Clients.Access.ClientLog log); 1341 1342 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/Login", ReplyAction="http://tempuri.org/IAccessService/LoginResponse")] 1343 HeuristicLab.Clients.Access.User Login(); 1344 1345 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/GetAllLightweightUsers", ReplyAction="http://tempuri.org/IAccessService/GetAllLightweightUsersResponse")] 1346 System.Collections.Generic.List<HeuristicLab.Clients.Access.LightweightUser> GetAllLightweightUsers(); 1347 1348 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/GetAllUsers", ReplyAction="http://tempuri.org/IAccessService/GetAllUsersResponse")] 1349 System.Collections.Generic.List<HeuristicLab.Clients.Access.User> GetAllUsers(); 1350 1351 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/GetUsers", ReplyAction="http://tempuri.org/IAccessService/GetUsersResponse")] 1352 System.Collections.Generic.List<HeuristicLab.Clients.Access.User> GetUsers(System.Collections.Generic.List<System.Guid> ids); 1353 1354 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/AddUser", ReplyAction="http://tempuri.org/IAccessService/AddUserResponse")] 1355 HeuristicLab.Clients.Access.User AddUser(HeuristicLab.Clients.Access.User user); 1356 1357 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/DeleteUser", ReplyAction="http://tempuri.org/IAccessService/DeleteUserResponse")] 1358 void DeleteUser(HeuristicLab.Clients.Access.User user); 1359 1360 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/UpdateUser", ReplyAction="http://tempuri.org/IAccessService/UpdateUserResponse")] 1361 void UpdateUser(HeuristicLab.Clients.Access.User user); 1362 1363 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/AddUserToRole", ReplyAction="http://tempuri.org/IAccessService/AddUserToRoleResponse")] 1364 void AddUserToRole(HeuristicLab.Clients.Access.Role role, HeuristicLab.Clients.Access.User user); 1365 1366 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/RemoveUserFromRole", ReplyAction="http://tempuri.org/IAccessService/RemoveUserFromRoleResponse")] 1367 void RemoveUserFromRole(HeuristicLab.Clients.Access.Role role, HeuristicLab.Clients.Access.User user); 1368 1369 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/ResetPassword", ReplyAction="http://tempuri.org/IAccessService/ResetPasswordResponse")] 1370 bool ResetPassword(HeuristicLab.Clients.Access.User user, string oldPassword, string newPassword); 1371 1372 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/GetAllUserGroups", ReplyAction="http://tempuri.org/IAccessService/GetAllUserGroupsResponse")] 1373 System.Collections.Generic.List<HeuristicLab.Clients.Access.UserGroup> GetAllUserGroups(); 1374 1375 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/GetUserGroupsOfUser", ReplyAction="http://tempuri.org/IAccessService/GetUserGroupsOfUserResponse")] 1376 System.Collections.Generic.List<HeuristicLab.Clients.Access.UserGroup> GetUserGroupsOfUser(System.Guid userId); 1377 1378 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/GetUserGroups", ReplyAction="http://tempuri.org/IAccessService/GetUserGroupsResponse")] 1379 System.Collections.Generic.List<HeuristicLab.Clients.Access.UserGroup> GetUserGroups(System.Collections.Generic.List<System.Guid> ids); 1380 1381 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/AddUserGroup", ReplyAction="http://tempuri.org/IAccessService/AddUserGroupResponse")] 1382 System.Guid AddUserGroup(HeuristicLab.Clients.Access.UserGroup group); 1383 1384 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/UpdateUserGroup", ReplyAction="http://tempuri.org/IAccessService/UpdateUserGroupResponse")] 1385 void UpdateUserGroup(HeuristicLab.Clients.Access.UserGroup group); 1386 1387 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/DeleteUserGroup", ReplyAction="http://tempuri.org/IAccessService/DeleteUserGroupResponse")] 1388 void DeleteUserGroup(HeuristicLab.Clients.Access.UserGroup group); 1389 1390 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/AddUserGroupBaseToGroup", ReplyAction="http://tempuri.org/IAccessService/AddUserGroupBaseToGroupResponse")] 1391 void AddUserGroupBaseToGroup(HeuristicLab.Clients.Access.UserGroupBase resource, HeuristicLab.Clients.Access.UserGroup group); 1392 1393 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/RemoveUserGroupBaseFromGroup", ReplyAction="http://tempuri.org/IAccessService/RemoveUserGroupBaseFromGroupResponse")] 1394 void RemoveUserGroupBaseFromGroup(HeuristicLab.Clients.Access.UserGroupBase resource, HeuristicLab.Clients.Access.UserGroup group); 1395 1396 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/GetUsersAndGroups", ReplyAction="http://tempuri.org/IAccessService/GetUsersAndGroupsResponse")] 1397 System.Collections.Generic.List<HeuristicLab.Clients.Access.UserGroupBase> GetUsersAndGroups(); 1398 1399 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/GetUserGroupMapping", ReplyAction="http://tempuri.org/IAccessService/GetUserGroupMappingResponse")] 1400 System.Collections.Generic.List<HeuristicLab.Clients.Access.UserGroupMapping> GetUserGroupMapping(); 1401 1402 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccessService/GetRoles", ReplyAction="http://tempuri.org/IAccessService/GetRolesResponse")] 1403 System.Collections.Generic.List<HeuristicLab.Clients.Access.Role> GetRoles(); 1404 } 1405 1406 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 1407 public interface IAccessServiceChannel : HeuristicLab.Clients.Access.IAccessService, System.ServiceModel.IClientChannel 1408 { 1409 } 1410 1411 [System.Diagnostics.DebuggerStepThroughAttribute()] 1412 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 1413 public partial class AccessServiceClient : System.ServiceModel.ClientBase<HeuristicLab.Clients.Access.IAccessService>, HeuristicLab.Clients.Access.IAccessService 1414 { 1415 1416 public AccessServiceClient() 1417 { 1418 } 1419 1420 public AccessServiceClient(string endpointConfigurationName) : 1421 base(endpointConfigurationName) 1422 { 1423 } 1424 1425 public AccessServiceClient(string endpointConfigurationName, string remoteAddress) : 1426 base(endpointConfigurationName, remoteAddress) 1427 { 1428 } 1429 1430 public AccessServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 1431 base(endpointConfigurationName, remoteAddress) 1432 { 1433 } 1434 1435 public AccessServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 1436 base(binding, remoteAddress) 1437 { 1438 } 1439 1440 public HeuristicLab.Clients.Access.Role AddRole(HeuristicLab.Clients.Access.Role role) 1441 { 1442 return base.Channel.AddRole(role); 1443 } 1444 1445 public void DeleteRole(HeuristicLab.Clients.Access.Role role) 1446 { 1447 base.Channel.DeleteRole(role); 1448 } 1449 1450 public System.Collections.Generic.List<HeuristicLab.Clients.Access.Role> GetUserRoles(HeuristicLab.Clients.Access.User user) 1451 { 1452 return base.Channel.GetUserRoles(user); 1453 } 1454 1455 public void AddRoleToGroup(HeuristicLab.Clients.Access.UserGroup userGroup, HeuristicLab.Clients.Access.Role role) 1456 { 1457 base.Channel.AddRoleToGroup(userGroup, role); 1458 } 1459 1460 public void RemoveRoleFromGroup(HeuristicLab.Clients.Access.UserGroup userGroup, HeuristicLab.Clients.Access.Role role) 1461 { 1462 base.Channel.RemoveRoleFromGroup(userGroup, role); 1463 } 1464 1465 public void ReportError(HeuristicLab.Clients.Access.ClientError error) 1466 { 1467 base.Channel.ReportError(error); 1468 } 1469 1470 public System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientError> GetClientErrors() 1471 { 1472 return base.Channel.GetClientErrors(); 1473 } 1474 1475 public System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientError> GetLastClientErrors(System.DateTime startDate) 1476 { 1477 return base.Channel.GetLastClientErrors(startDate); 1478 } 1479 1480 public void DeleteError(HeuristicLab.Clients.Access.ClientError error) 1481 { 1482 base.Channel.DeleteError(error); 1483 } 1484 1485 public bool ClientExists(System.Guid id) 1486 { 1487 return base.Channel.ClientExists(id); 1488 } 1489 1490 public HeuristicLab.Clients.Access.Client GetClient(System.Guid id) 1491 { 1492 return base.Channel.GetClient(id); 1493 } 1494 1495 public System.Collections.Generic.List<HeuristicLab.Clients.Access.Client> GetClients(System.Collections.Generic.List<System.Guid> ids) 1496 { 1497 return base.Channel.GetClients(ids); 1498 } 1499 1500 public System.Collections.Generic.List<HeuristicLab.Clients.Access.Client> GetAllClients() 1501 { 1502 return base.Channel.GetAllClients(); 1503 } 1504 1505 public System.Guid AddClient(HeuristicLab.Clients.Access.Client client) 1506 { 1507 return base.Channel.AddClient(client); 1508 } 1509 1510 public void UpdateClient(HeuristicLab.Clients.Access.Client client) 1511 { 1512 base.Channel.UpdateClient(client); 1513 } 1514 1515 public void DeleteClient(HeuristicLab.Clients.Access.Client client) 1516 { 1517 base.Channel.DeleteClient(client); 1518 } 1519 1520 public System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientGroup> GetAllClientGroups() 1521 { 1522 return base.Channel.GetAllClientGroups(); 1523 } 1524 1525 public System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientGroup> GetClientGroups(System.Collections.Generic.List<System.Guid> ids) 1526 { 1527 return base.Channel.GetClientGroups(ids); 1528 } 1529 1530 public System.Guid AddClientGroup(HeuristicLab.Clients.Access.ClientGroup group) 1531 { 1532 return base.Channel.AddClientGroup(group); 1533 } 1534 1535 public void UpdateClientGroup(HeuristicLab.Clients.Access.ClientGroup group) 1536 { 1537 base.Channel.UpdateClientGroup(group); 1538 } 1539 1540 public void DeleteClientGroup(HeuristicLab.Clients.Access.ClientGroup group) 1541 { 1542 base.Channel.DeleteClientGroup(group); 1543 } 1544 1545 public void AddResourceToGroup(HeuristicLab.Clients.Access.Resource resource, HeuristicLab.Clients.Access.ClientGroup group) 1546 { 1547 base.Channel.AddResourceToGroup(resource, group); 1548 } 1549 1550 public void RemoveResourceFromGroup(HeuristicLab.Clients.Access.Resource resource, HeuristicLab.Clients.Access.ClientGroup group) 1551 { 1552 base.Channel.RemoveResourceFromGroup(resource, group); 1553 } 1554 1555 public System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientGroupMapping> GetClientGroupMapping() 1556 { 1557 return base.Channel.GetClientGroupMapping(); 1558 } 1559 1560 public System.Collections.Generic.List<HeuristicLab.Clients.Access.Resource> GetResources() 1561 { 1562 return base.Channel.GetResources(); 1563 } 1564 1565 public HeuristicLab.Clients.Access.ClientLog GetLastClientLog(System.Guid clientId) 1566 { 1567 return base.Channel.GetLastClientLog(clientId); 1568 } 1569 1570 public System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientLog> GetClientLogs(System.Guid clientId) 1571 { 1572 return base.Channel.GetClientLogs(clientId); 1573 } 1574 1575 public System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientLog> GetClientLogsSince(System.DateTime startDate) 1576 { 1577 return base.Channel.GetClientLogsSince(startDate); 1578 } 1579 1580 public void AddClientLog(HeuristicLab.Clients.Access.ClientLog log) 1581 { 1582 base.Channel.AddClientLog(log); 1583 } 1584 1585 public void DeleteClientLog(HeuristicLab.Clients.Access.ClientLog log) 1586 { 1587 base.Channel.DeleteClientLog(log); 1588 } 1589 1590 public HeuristicLab.Clients.Access.User Login() 1591 { 1592 return base.Channel.Login(); 1593 } 1594 1595 public System.Collections.Generic.List<HeuristicLab.Clients.Access.LightweightUser> GetAllLightweightUsers() 1596 { 1597 return base.Channel.GetAllLightweightUsers(); 1598 } 1599 1600 public System.Collections.Generic.List<HeuristicLab.Clients.Access.User> GetAllUsers() 1601 { 1602 return base.Channel.GetAllUsers(); 1603 } 1604 1605 public System.Collections.Generic.List<HeuristicLab.Clients.Access.User> GetUsers(System.Collections.Generic.List<System.Guid> ids) 1606 { 1607 return base.Channel.GetUsers(ids); 1608 } 1609 1610 public HeuristicLab.Clients.Access.User AddUser(HeuristicLab.Clients.Access.User user) 1611 { 1612 return base.Channel.AddUser(user); 1613 } 1614 1615 public void DeleteUser(HeuristicLab.Clients.Access.User user) 1616 { 1617 base.Channel.DeleteUser(user); 1618 } 1619 1620 public void UpdateUser(HeuristicLab.Clients.Access.User user) 1621 { 1622 base.Channel.UpdateUser(user); 1623 } 1624 1625 public void AddUserToRole(HeuristicLab.Clients.Access.Role role, HeuristicLab.Clients.Access.User user) 1626 { 1627 base.Channel.AddUserToRole(role, user); 1628 } 1629 1630 public void RemoveUserFromRole(HeuristicLab.Clients.Access.Role role, HeuristicLab.Clients.Access.User user) 1631 { 1632 base.Channel.RemoveUserFromRole(role, user); 1633 } 1634 1635 public bool ResetPassword(HeuristicLab.Clients.Access.User user, string oldPassword, string newPassword) 1636 { 1637 return base.Channel.ResetPassword(user, oldPassword, newPassword); 1638 } 1639 1640 public System.Collections.Generic.List<HeuristicLab.Clients.Access.UserGroup> GetAllUserGroups() 1641 { 1642 return base.Channel.GetAllUserGroups(); 1643 } 1644 1645 public System.Collections.Generic.List<HeuristicLab.Clients.Access.UserGroup> GetUserGroupsOfUser(System.Guid userId) 1646 { 1647 return base.Channel.GetUserGroupsOfUser(userId); 1648 } 1649 1650 public System.Collections.Generic.List<HeuristicLab.Clients.Access.UserGroup> GetUserGroups(System.Collections.Generic.List<System.Guid> ids) 1651 { 1652 return base.Channel.GetUserGroups(ids); 1653 } 1654 1655 public System.Guid AddUserGroup(HeuristicLab.Clients.Access.UserGroup group) 1656 { 1657 return base.Channel.AddUserGroup(group); 1658 } 1659 1660 public void UpdateUserGroup(HeuristicLab.Clients.Access.UserGroup group) 1661 { 1662 base.Channel.UpdateUserGroup(group); 1663 } 1664 1665 public void DeleteUserGroup(HeuristicLab.Clients.Access.UserGroup group) 1666 { 1667 base.Channel.DeleteUserGroup(group); 1668 } 1669 1670 public void AddUserGroupBaseToGroup(HeuristicLab.Clients.Access.UserGroupBase resource, HeuristicLab.Clients.Access.UserGroup group) 1671 { 1672 base.Channel.AddUserGroupBaseToGroup(resource, group); 1673 } 1674 1675 public void RemoveUserGroupBaseFromGroup(HeuristicLab.Clients.Access.UserGroupBase resource, HeuristicLab.Clients.Access.UserGroup group) 1676 { 1677 base.Channel.RemoveUserGroupBaseFromGroup(resource, group); 1678 } 1679 1680 public System.Collections.Generic.List<HeuristicLab.Clients.Access.UserGroupBase> GetUsersAndGroups() 1681 { 1682 return base.Channel.GetUsersAndGroups(); 1683 } 1684 1685 public System.Collections.Generic.List<HeuristicLab.Clients.Access.UserGroupMapping> GetUserGroupMapping() 1686 { 1687 return base.Channel.GetUserGroupMapping(); 1688 } 1689 1690 public System.Collections.Generic.List<HeuristicLab.Clients.Access.Role> GetRoles() 1691 { 1692 return base.Channel.GetRoles(); 1693 } 1694 } 11 namespace HeuristicLab.Clients.Access { 12 13 14 [System.Diagnostics.DebuggerStepThroughAttribute()] 15 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 16 [System.Runtime.Serialization.DataContractAttribute(Name = "AccessItem", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 17 "")] 18 [System.SerializableAttribute()] 19 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.UserGroupBase))] 20 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.User))] 21 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.UserGroup))] 22 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.LightweightUser))] 23 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.ClientError))] 24 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.Resource))] 25 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.Client))] 26 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.ClientConfiguration))] 27 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.ClientType))] 28 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.Country))] 29 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.OperatingSystem))] 30 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.ClientGroup))] 31 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.ClientLog))] 32 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.Role))] 33 public partial class AccessItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 34 35 [System.NonSerializedAttribute()] 36 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 37 38 public System.Runtime.Serialization.ExtensionDataObject ExtensionData { 39 get { 40 return this.extensionDataField; 41 } 42 set { 43 this.extensionDataField = value; 44 } 45 } 46 47 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 48 } 49 50 [System.Diagnostics.DebuggerStepThroughAttribute()] 51 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 52 [System.Runtime.Serialization.DataContractAttribute(Name = "UserGroupBase", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 53 "")] 54 [System.SerializableAttribute()] 55 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.User))] 56 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.UserGroup))] 57 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.LightweightUser))] 58 public partial class UserGroupBase : HeuristicLab.Clients.Access.AccessItem { 59 60 [System.Runtime.Serialization.OptionalFieldAttribute()] 61 private System.Guid IdField; 62 63 [System.Runtime.Serialization.DataMemberAttribute()] 64 public System.Guid Id { 65 get { 66 return this.IdField; 67 } 68 set { 69 if ((this.IdField.Equals(value) != true)) { 70 this.IdField = value; 71 this.RaisePropertyChanged("Id"); 72 } 73 } 74 } 75 } 76 77 [System.Diagnostics.DebuggerStepThroughAttribute()] 78 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 79 [System.Runtime.Serialization.DataContractAttribute(Name = "User", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 80 "")] 81 [System.SerializableAttribute()] 82 public partial class User : HeuristicLab.Clients.Access.UserGroupBase { 83 84 [System.Runtime.Serialization.OptionalFieldAttribute()] 85 private string CommentField; 86 87 [System.Runtime.Serialization.OptionalFieldAttribute()] 88 private System.DateTime CreationDateField; 89 90 [System.Runtime.Serialization.OptionalFieldAttribute()] 91 private string EmailField; 92 93 [System.Runtime.Serialization.OptionalFieldAttribute()] 94 private string FullNameField; 95 96 [System.Runtime.Serialization.OptionalFieldAttribute()] 97 private bool IsApprovedField; 98 99 [System.Runtime.Serialization.OptionalFieldAttribute()] 100 private System.DateTime LastActivityDateField; 101 102 [System.Runtime.Serialization.OptionalFieldAttribute()] 103 private System.DateTime LastLoginDateField; 104 105 [System.Runtime.Serialization.OptionalFieldAttribute()] 106 private System.DateTime LastPasswordChangedDateField; 107 108 [System.Runtime.Serialization.OptionalFieldAttribute()] 109 private string UserNameField; 110 111 [System.Runtime.Serialization.DataMemberAttribute()] 112 public string Comment { 113 get { 114 return this.CommentField; 115 } 116 set { 117 if ((object.ReferenceEquals(this.CommentField, value) != true)) { 118 this.CommentField = value; 119 this.RaisePropertyChanged("Comment"); 120 } 121 } 122 } 123 124 [System.Runtime.Serialization.DataMemberAttribute()] 125 public System.DateTime CreationDate { 126 get { 127 return this.CreationDateField; 128 } 129 set { 130 if ((this.CreationDateField.Equals(value) != true)) { 131 this.CreationDateField = value; 132 this.RaisePropertyChanged("CreationDate"); 133 } 134 } 135 } 136 137 [System.Runtime.Serialization.DataMemberAttribute()] 138 public string Email { 139 get { 140 return this.EmailField; 141 } 142 set { 143 if ((object.ReferenceEquals(this.EmailField, value) != true)) { 144 this.EmailField = value; 145 this.RaisePropertyChanged("Email"); 146 } 147 } 148 } 149 150 [System.Runtime.Serialization.DataMemberAttribute()] 151 public string FullName { 152 get { 153 return this.FullNameField; 154 } 155 set { 156 if ((object.ReferenceEquals(this.FullNameField, value) != true)) { 157 this.FullNameField = value; 158 this.RaisePropertyChanged("FullName"); 159 } 160 } 161 } 162 163 [System.Runtime.Serialization.DataMemberAttribute()] 164 public bool IsApproved { 165 get { 166 return this.IsApprovedField; 167 } 168 set { 169 if ((this.IsApprovedField.Equals(value) != true)) { 170 this.IsApprovedField = value; 171 this.RaisePropertyChanged("IsApproved"); 172 } 173 } 174 } 175 176 [System.Runtime.Serialization.DataMemberAttribute()] 177 public System.DateTime LastActivityDate { 178 get { 179 return this.LastActivityDateField; 180 } 181 set { 182 if ((this.LastActivityDateField.Equals(value) != true)) { 183 this.LastActivityDateField = value; 184 this.RaisePropertyChanged("LastActivityDate"); 185 } 186 } 187 } 188 189 [System.Runtime.Serialization.DataMemberAttribute()] 190 public System.DateTime LastLoginDate { 191 get { 192 return this.LastLoginDateField; 193 } 194 set { 195 if ((this.LastLoginDateField.Equals(value) != true)) { 196 this.LastLoginDateField = value; 197 this.RaisePropertyChanged("LastLoginDate"); 198 } 199 } 200 } 201 202 [System.Runtime.Serialization.DataMemberAttribute()] 203 public System.DateTime LastPasswordChangedDate { 204 get { 205 return this.LastPasswordChangedDateField; 206 } 207 set { 208 if ((this.LastPasswordChangedDateField.Equals(value) != true)) { 209 this.LastPasswordChangedDateField = value; 210 this.RaisePropertyChanged("LastPasswordChangedDate"); 211 } 212 } 213 } 214 215 [System.Runtime.Serialization.DataMemberAttribute()] 216 public string UserName { 217 get { 218 return this.UserNameField; 219 } 220 set { 221 if ((object.ReferenceEquals(this.UserNameField, value) != true)) { 222 this.UserNameField = value; 223 this.RaisePropertyChanged("UserName"); 224 } 225 } 226 } 227 } 228 229 [System.Diagnostics.DebuggerStepThroughAttribute()] 230 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 231 [System.Runtime.Serialization.DataContractAttribute(Name = "UserGroup", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 232 "")] 233 [System.SerializableAttribute()] 234 public partial class UserGroup : HeuristicLab.Clients.Access.UserGroupBase { 235 236 [System.Runtime.Serialization.OptionalFieldAttribute()] 237 private string NameField; 238 239 [System.Runtime.Serialization.DataMemberAttribute()] 240 public string Name { 241 get { 242 return this.NameField; 243 } 244 set { 245 if ((object.ReferenceEquals(this.NameField, value) != true)) { 246 this.NameField = value; 247 this.RaisePropertyChanged("Name"); 248 } 249 } 250 } 251 } 252 253 [System.Diagnostics.DebuggerStepThroughAttribute()] 254 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 255 [System.Runtime.Serialization.DataContractAttribute(Name = "LightweightUser", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 256 "")] 257 [System.SerializableAttribute()] 258 public partial class LightweightUser : HeuristicLab.Clients.Access.UserGroupBase { 259 260 [System.Runtime.Serialization.OptionalFieldAttribute()] 261 private string FullNameField; 262 263 [System.Runtime.Serialization.OptionalFieldAttribute()] 264 private string UserNameField; 265 266 [System.Runtime.Serialization.DataMemberAttribute()] 267 public string FullName { 268 get { 269 return this.FullNameField; 270 } 271 set { 272 if ((object.ReferenceEquals(this.FullNameField, value) != true)) { 273 this.FullNameField = value; 274 this.RaisePropertyChanged("FullName"); 275 } 276 } 277 } 278 279 [System.Runtime.Serialization.DataMemberAttribute()] 280 public string UserName { 281 get { 282 return this.UserNameField; 283 } 284 set { 285 if ((object.ReferenceEquals(this.UserNameField, value) != true)) { 286 this.UserNameField = value; 287 this.RaisePropertyChanged("UserName"); 288 } 289 } 290 } 291 } 292 293 [System.Diagnostics.DebuggerStepThroughAttribute()] 294 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 295 [System.Runtime.Serialization.DataContractAttribute(Name = "ClientError", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 296 "")] 297 [System.SerializableAttribute()] 298 public partial class ClientError : HeuristicLab.Clients.Access.AccessItem { 299 300 [System.Runtime.Serialization.OptionalFieldAttribute()] 301 private System.Guid ClientIdField; 302 303 [System.Runtime.Serialization.OptionalFieldAttribute()] 304 private string ConfigDumpField; 305 306 [System.Runtime.Serialization.OptionalFieldAttribute()] 307 private string ExceptionField; 308 309 [System.Runtime.Serialization.OptionalFieldAttribute()] 310 private System.Guid IdField; 311 312 [System.Runtime.Serialization.OptionalFieldAttribute()] 313 private System.DateTime TimestampField; 314 315 [System.Runtime.Serialization.OptionalFieldAttribute()] 316 private string UserCommentField; 317 318 [System.Runtime.Serialization.OptionalFieldAttribute()] 319 private System.Guid UserIdField; 320 321 [System.Runtime.Serialization.DataMemberAttribute()] 322 public System.Guid ClientId { 323 get { 324 return this.ClientIdField; 325 } 326 set { 327 if ((this.ClientIdField.Equals(value) != true)) { 328 this.ClientIdField = value; 329 this.RaisePropertyChanged("ClientId"); 330 } 331 } 332 } 333 334 [System.Runtime.Serialization.DataMemberAttribute()] 335 public string ConfigDump { 336 get { 337 return this.ConfigDumpField; 338 } 339 set { 340 if ((object.ReferenceEquals(this.ConfigDumpField, value) != true)) { 341 this.ConfigDumpField = value; 342 this.RaisePropertyChanged("ConfigDump"); 343 } 344 } 345 } 346 347 [System.Runtime.Serialization.DataMemberAttribute()] 348 public string Exception { 349 get { 350 return this.ExceptionField; 351 } 352 set { 353 if ((object.ReferenceEquals(this.ExceptionField, value) != true)) { 354 this.ExceptionField = value; 355 this.RaisePropertyChanged("Exception"); 356 } 357 } 358 } 359 360 [System.Runtime.Serialization.DataMemberAttribute()] 361 public System.Guid Id { 362 get { 363 return this.IdField; 364 } 365 set { 366 if ((this.IdField.Equals(value) != true)) { 367 this.IdField = value; 368 this.RaisePropertyChanged("Id"); 369 } 370 } 371 } 372 373 [System.Runtime.Serialization.DataMemberAttribute()] 374 public System.DateTime Timestamp { 375 get { 376 return this.TimestampField; 377 } 378 set { 379 if ((this.TimestampField.Equals(value) != true)) { 380 this.TimestampField = value; 381 this.RaisePropertyChanged("Timestamp"); 382 } 383 } 384 } 385 386 [System.Runtime.Serialization.DataMemberAttribute()] 387 public string UserComment { 388 get { 389 return this.UserCommentField; 390 } 391 set { 392 if ((object.ReferenceEquals(this.UserCommentField, value) != true)) { 393 this.UserCommentField = value; 394 this.RaisePropertyChanged("UserComment"); 395 } 396 } 397 } 398 399 [System.Runtime.Serialization.DataMemberAttribute()] 400 public System.Guid UserId { 401 get { 402 return this.UserIdField; 403 } 404 set { 405 if ((this.UserIdField.Equals(value) != true)) { 406 this.UserIdField = value; 407 this.RaisePropertyChanged("UserId"); 408 } 409 } 410 } 411 } 412 413 [System.Diagnostics.DebuggerStepThroughAttribute()] 414 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 415 [System.Runtime.Serialization.DataContractAttribute(Name = "Resource", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 416 "")] 417 [System.SerializableAttribute()] 418 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.Client))] 419 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.ClientGroup))] 420 public partial class Resource : HeuristicLab.Clients.Access.AccessItem { 421 422 [System.Runtime.Serialization.OptionalFieldAttribute()] 423 private string DescriptionField; 424 425 [System.Runtime.Serialization.OptionalFieldAttribute()] 426 private System.Guid IdField; 427 428 [System.Runtime.Serialization.OptionalFieldAttribute()] 429 private string NameField; 430 431 [System.Runtime.Serialization.DataMemberAttribute()] 432 public string Description { 433 get { 434 return this.DescriptionField; 435 } 436 set { 437 if ((object.ReferenceEquals(this.DescriptionField, value) != true)) { 438 this.DescriptionField = value; 439 this.RaisePropertyChanged("Description"); 440 } 441 } 442 } 443 444 [System.Runtime.Serialization.DataMemberAttribute()] 445 public System.Guid Id { 446 get { 447 return this.IdField; 448 } 449 set { 450 if ((this.IdField.Equals(value) != true)) { 451 this.IdField = value; 452 this.RaisePropertyChanged("Id"); 453 } 454 } 455 } 456 457 [System.Runtime.Serialization.DataMemberAttribute()] 458 public string Name { 459 get { 460 return this.NameField; 461 } 462 set { 463 if ((object.ReferenceEquals(this.NameField, value) != true)) { 464 this.NameField = value; 465 this.RaisePropertyChanged("Name"); 466 } 467 } 468 } 469 } 470 471 [System.Diagnostics.DebuggerStepThroughAttribute()] 472 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 473 [System.Runtime.Serialization.DataContractAttribute(Name = "Client", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 474 "")] 475 [System.SerializableAttribute()] 476 public partial class Client : HeuristicLab.Clients.Access.Resource { 477 478 [System.Runtime.Serialization.OptionalFieldAttribute()] 479 private HeuristicLab.Clients.Access.ClientConfiguration ClientConfigurationField; 480 481 [System.Runtime.Serialization.OptionalFieldAttribute()] 482 private HeuristicLab.Clients.Access.ClientType ClientTypeField; 483 484 [System.Runtime.Serialization.OptionalFieldAttribute()] 485 private HeuristicLab.Clients.Access.Country CountryField; 486 487 [System.Runtime.Serialization.OptionalFieldAttribute()] 488 private string HeuristicLabVersionField; 489 490 [System.Runtime.Serialization.OptionalFieldAttribute()] 491 private int MemorySizeField; 492 493 [System.Runtime.Serialization.OptionalFieldAttribute()] 494 private int NumberOfCoresField; 495 496 [System.Runtime.Serialization.OptionalFieldAttribute()] 497 private HeuristicLab.Clients.Access.OperatingSystem OperatingSystemField; 498 499 [System.Runtime.Serialization.OptionalFieldAttribute()] 500 private string ProcessorTypeField; 501 502 [System.Runtime.Serialization.OptionalFieldAttribute()] 503 private System.DateTime TimestampField; 504 505 [System.Runtime.Serialization.DataMemberAttribute()] 506 public HeuristicLab.Clients.Access.ClientConfiguration ClientConfiguration { 507 get { 508 return this.ClientConfigurationField; 509 } 510 set { 511 if ((object.ReferenceEquals(this.ClientConfigurationField, value) != true)) { 512 this.ClientConfigurationField = value; 513 this.RaisePropertyChanged("ClientConfiguration"); 514 } 515 } 516 } 517 518 [System.Runtime.Serialization.DataMemberAttribute()] 519 public HeuristicLab.Clients.Access.ClientType ClientType { 520 get { 521 return this.ClientTypeField; 522 } 523 set { 524 if ((object.ReferenceEquals(this.ClientTypeField, value) != true)) { 525 this.ClientTypeField = value; 526 this.RaisePropertyChanged("ClientType"); 527 } 528 } 529 } 530 531 [System.Runtime.Serialization.DataMemberAttribute()] 532 public HeuristicLab.Clients.Access.Country Country { 533 get { 534 return this.CountryField; 535 } 536 set { 537 if ((object.ReferenceEquals(this.CountryField, value) != true)) { 538 this.CountryField = value; 539 this.RaisePropertyChanged("Country"); 540 } 541 } 542 } 543 544 [System.Runtime.Serialization.DataMemberAttribute()] 545 public string HeuristicLabVersion { 546 get { 547 return this.HeuristicLabVersionField; 548 } 549 set { 550 if ((object.ReferenceEquals(this.HeuristicLabVersionField, value) != true)) { 551 this.HeuristicLabVersionField = value; 552 this.RaisePropertyChanged("HeuristicLabVersion"); 553 } 554 } 555 } 556 557 [System.Runtime.Serialization.DataMemberAttribute()] 558 public int MemorySize { 559 get { 560 return this.MemorySizeField; 561 } 562 set { 563 if ((this.MemorySizeField.Equals(value) != true)) { 564 this.MemorySizeField = value; 565 this.RaisePropertyChanged("MemorySize"); 566 } 567 } 568 } 569 570 [System.Runtime.Serialization.DataMemberAttribute()] 571 public int NumberOfCores { 572 get { 573 return this.NumberOfCoresField; 574 } 575 set { 576 if ((this.NumberOfCoresField.Equals(value) != true)) { 577 this.NumberOfCoresField = value; 578 this.RaisePropertyChanged("NumberOfCores"); 579 } 580 } 581 } 582 583 [System.Runtime.Serialization.DataMemberAttribute()] 584 public HeuristicLab.Clients.Access.OperatingSystem OperatingSystem { 585 get { 586 return this.OperatingSystemField; 587 } 588 set { 589 if ((object.ReferenceEquals(this.OperatingSystemField, value) != true)) { 590 this.OperatingSystemField = value; 591 this.RaisePropertyChanged("OperatingSystem"); 592 } 593 } 594 } 595 596 [System.Runtime.Serialization.DataMemberAttribute()] 597 public string ProcessorType { 598 get { 599 return this.ProcessorTypeField; 600 } 601 set { 602 if ((object.ReferenceEquals(this.ProcessorTypeField, value) != true)) { 603 this.ProcessorTypeField = value; 604 this.RaisePropertyChanged("ProcessorType"); 605 } 606 } 607 } 608 609 [System.Runtime.Serialization.DataMemberAttribute()] 610 public System.DateTime Timestamp { 611 get { 612 return this.TimestampField; 613 } 614 set { 615 if ((this.TimestampField.Equals(value) != true)) { 616 this.TimestampField = value; 617 this.RaisePropertyChanged("Timestamp"); 618 } 619 } 620 } 621 } 622 623 [System.Diagnostics.DebuggerStepThroughAttribute()] 624 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 625 [System.Runtime.Serialization.DataContractAttribute(Name = "ClientConfiguration", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 626 "")] 627 [System.SerializableAttribute()] 628 public partial class ClientConfiguration : HeuristicLab.Clients.Access.AccessItem { 629 630 [System.Runtime.Serialization.OptionalFieldAttribute()] 631 private string DescriptionField; 632 633 [System.Runtime.Serialization.OptionalFieldAttribute()] 634 private string HashField; 635 636 [System.Runtime.Serialization.OptionalFieldAttribute()] 637 private System.Guid IdField; 638 639 [System.Runtime.Serialization.DataMemberAttribute()] 640 public string Description { 641 get { 642 return this.DescriptionField; 643 } 644 set { 645 if ((object.ReferenceEquals(this.DescriptionField, value) != true)) { 646 this.DescriptionField = value; 647 this.RaisePropertyChanged("Description"); 648 } 649 } 650 } 651 652 [System.Runtime.Serialization.DataMemberAttribute()] 653 public string Hash { 654 get { 655 return this.HashField; 656 } 657 set { 658 if ((object.ReferenceEquals(this.HashField, value) != true)) { 659 this.HashField = value; 660 this.RaisePropertyChanged("Hash"); 661 } 662 } 663 } 664 665 [System.Runtime.Serialization.DataMemberAttribute()] 666 public System.Guid Id { 667 get { 668 return this.IdField; 669 } 670 set { 671 if ((this.IdField.Equals(value) != true)) { 672 this.IdField = value; 673 this.RaisePropertyChanged("Id"); 674 } 675 } 676 } 677 } 678 679 [System.Diagnostics.DebuggerStepThroughAttribute()] 680 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 681 [System.Runtime.Serialization.DataContractAttribute(Name = "ClientType", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 682 "")] 683 [System.SerializableAttribute()] 684 public partial class ClientType : HeuristicLab.Clients.Access.AccessItem { 685 686 [System.Runtime.Serialization.OptionalFieldAttribute()] 687 private System.Guid IdField; 688 689 [System.Runtime.Serialization.OptionalFieldAttribute()] 690 private string NameField; 691 692 [System.Runtime.Serialization.DataMemberAttribute()] 693 public System.Guid Id { 694 get { 695 return this.IdField; 696 } 697 set { 698 if ((this.IdField.Equals(value) != true)) { 699 this.IdField = value; 700 this.RaisePropertyChanged("Id"); 701 } 702 } 703 } 704 705 [System.Runtime.Serialization.DataMemberAttribute()] 706 public string Name { 707 get { 708 return this.NameField; 709 } 710 set { 711 if ((object.ReferenceEquals(this.NameField, value) != true)) { 712 this.NameField = value; 713 this.RaisePropertyChanged("Name"); 714 } 715 } 716 } 717 } 718 719 [System.Diagnostics.DebuggerStepThroughAttribute()] 720 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 721 [System.Runtime.Serialization.DataContractAttribute(Name = "Country", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 722 "")] 723 [System.SerializableAttribute()] 724 public partial class Country : HeuristicLab.Clients.Access.AccessItem { 725 726 [System.Runtime.Serialization.OptionalFieldAttribute()] 727 private System.Guid IdField; 728 729 [System.Runtime.Serialization.OptionalFieldAttribute()] 730 private string NameField; 731 732 [System.Runtime.Serialization.DataMemberAttribute()] 733 public System.Guid Id { 734 get { 735 return this.IdField; 736 } 737 set { 738 if ((this.IdField.Equals(value) != true)) { 739 this.IdField = value; 740 this.RaisePropertyChanged("Id"); 741 } 742 } 743 } 744 745 [System.Runtime.Serialization.DataMemberAttribute()] 746 public string Name { 747 get { 748 return this.NameField; 749 } 750 set { 751 if ((object.ReferenceEquals(this.NameField, value) != true)) { 752 this.NameField = value; 753 this.RaisePropertyChanged("Name"); 754 } 755 } 756 } 757 } 758 759 [System.Diagnostics.DebuggerStepThroughAttribute()] 760 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 761 [System.Runtime.Serialization.DataContractAttribute(Name = "OperatingSystem", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 762 "")] 763 [System.SerializableAttribute()] 764 public partial class OperatingSystem : HeuristicLab.Clients.Access.AccessItem { 765 766 [System.Runtime.Serialization.OptionalFieldAttribute()] 767 private System.Guid IdField; 768 769 [System.Runtime.Serialization.OptionalFieldAttribute()] 770 private string NameField; 771 772 [System.Runtime.Serialization.DataMemberAttribute()] 773 public System.Guid Id { 774 get { 775 return this.IdField; 776 } 777 set { 778 if ((this.IdField.Equals(value) != true)) { 779 this.IdField = value; 780 this.RaisePropertyChanged("Id"); 781 } 782 } 783 } 784 785 [System.Runtime.Serialization.DataMemberAttribute()] 786 public string Name { 787 get { 788 return this.NameField; 789 } 790 set { 791 if ((object.ReferenceEquals(this.NameField, value) != true)) { 792 this.NameField = value; 793 this.RaisePropertyChanged("Name"); 794 } 795 } 796 } 797 } 798 799 [System.Diagnostics.DebuggerStepThroughAttribute()] 800 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 801 [System.Runtime.Serialization.DataContractAttribute(Name = "ClientGroup", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 802 "")] 803 [System.SerializableAttribute()] 804 public partial class ClientGroup : HeuristicLab.Clients.Access.Resource { 805 } 806 807 [System.Diagnostics.DebuggerStepThroughAttribute()] 808 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 809 [System.Runtime.Serialization.DataContractAttribute(Name = "ClientLog", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 810 "")] 811 [System.SerializableAttribute()] 812 public partial class ClientLog : HeuristicLab.Clients.Access.AccessItem { 813 814 [System.Runtime.Serialization.OptionalFieldAttribute()] 815 private string MessageField; 816 817 [System.Runtime.Serialization.OptionalFieldAttribute()] 818 private System.Guid ResourceIdField; 819 820 [System.Runtime.Serialization.OptionalFieldAttribute()] 821 private System.DateTime TimestampField; 822 823 [System.Runtime.Serialization.DataMemberAttribute()] 824 public string Message { 825 get { 826 return this.MessageField; 827 } 828 set { 829 if ((object.ReferenceEquals(this.MessageField, value) != true)) { 830 this.MessageField = value; 831 this.RaisePropertyChanged("Message"); 832 } 833 } 834 } 835 836 [System.Runtime.Serialization.DataMemberAttribute()] 837 public System.Guid ResourceId { 838 get { 839 return this.ResourceIdField; 840 } 841 set { 842 if ((this.ResourceIdField.Equals(value) != true)) { 843 this.ResourceIdField = value; 844 this.RaisePropertyChanged("ResourceId"); 845 } 846 } 847 } 848 849 [System.Runtime.Serialization.DataMemberAttribute()] 850 public System.DateTime Timestamp { 851 get { 852 return this.TimestampField; 853 } 854 set { 855 if ((this.TimestampField.Equals(value) != true)) { 856 this.TimestampField = value; 857 this.RaisePropertyChanged("Timestamp"); 858 } 859 } 860 } 861 } 862 863 [System.Diagnostics.DebuggerStepThroughAttribute()] 864 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 865 [System.Runtime.Serialization.DataContractAttribute(Name = "Role", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 866 "")] 867 [System.SerializableAttribute()] 868 public partial class Role : HeuristicLab.Clients.Access.AccessItem { 869 870 [System.Runtime.Serialization.OptionalFieldAttribute()] 871 private string NameField; 872 873 [System.Runtime.Serialization.DataMemberAttribute()] 874 public string Name { 875 get { 876 return this.NameField; 877 } 878 set { 879 if ((object.ReferenceEquals(this.NameField, value) != true)) { 880 this.NameField = value; 881 this.RaisePropertyChanged("Name"); 882 } 883 } 884 } 885 } 886 887 [System.Diagnostics.DebuggerStepThroughAttribute()] 888 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 889 [System.Runtime.Serialization.DataContractAttribute(Name = "ClientGroupMapping", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 890 "")] 891 [System.SerializableAttribute()] 892 public partial class ClientGroupMapping : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 893 894 [System.NonSerializedAttribute()] 895 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 896 897 [System.Runtime.Serialization.OptionalFieldAttribute()] 898 private System.Guid ChildField; 899 900 [System.Runtime.Serialization.OptionalFieldAttribute()] 901 private System.Guid ParentField; 902 903 public System.Runtime.Serialization.ExtensionDataObject ExtensionData { 904 get { 905 return this.extensionDataField; 906 } 907 set { 908 this.extensionDataField = value; 909 } 910 } 911 912 [System.Runtime.Serialization.DataMemberAttribute()] 913 public System.Guid Child { 914 get { 915 return this.ChildField; 916 } 917 set { 918 if ((this.ChildField.Equals(value) != true)) { 919 this.ChildField = value; 920 this.RaisePropertyChanged("Child"); 921 } 922 } 923 } 924 925 [System.Runtime.Serialization.DataMemberAttribute()] 926 public System.Guid Parent { 927 get { 928 return this.ParentField; 929 } 930 set { 931 if ((this.ParentField.Equals(value) != true)) { 932 this.ParentField = value; 933 this.RaisePropertyChanged("Parent"); 934 } 935 } 936 } 937 938 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 939 940 protected void RaisePropertyChanged(string propertyName) { 941 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 942 if ((propertyChanged != null)) { 943 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 944 } 945 } 946 } 947 948 [System.Diagnostics.DebuggerStepThroughAttribute()] 949 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 950 [System.Runtime.Serialization.DataContractAttribute(Name = "UserGroupMapping", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 951 "")] 952 [System.SerializableAttribute()] 953 public partial class UserGroupMapping : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 954 955 [System.NonSerializedAttribute()] 956 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 957 958 [System.Runtime.Serialization.OptionalFieldAttribute()] 959 private System.Guid ChildField; 960 961 [System.Runtime.Serialization.OptionalFieldAttribute()] 962 private System.Guid ParentField; 963 964 public System.Runtime.Serialization.ExtensionDataObject ExtensionData { 965 get { 966 return this.extensionDataField; 967 } 968 set { 969 this.extensionDataField = value; 970 } 971 } 972 973 [System.Runtime.Serialization.DataMemberAttribute()] 974 public System.Guid Child { 975 get { 976 return this.ChildField; 977 } 978 set { 979 if ((this.ChildField.Equals(value) != true)) { 980 this.ChildField = value; 981 this.RaisePropertyChanged("Child"); 982 } 983 } 984 } 985 986 [System.Runtime.Serialization.DataMemberAttribute()] 987 public System.Guid Parent { 988 get { 989 return this.ParentField; 990 } 991 set { 992 if ((this.ParentField.Equals(value) != true)) { 993 this.ParentField = value; 994 this.RaisePropertyChanged("Parent"); 995 } 996 } 997 } 998 999 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 1000 1001 protected void RaisePropertyChanged(string propertyName) { 1002 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 1003 if ((propertyChanged != null)) { 1004 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 1005 } 1006 } 1007 } 1008 1009 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 1010 [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "HeuristicLab.Clients.Access.IAccessService")] 1011 public interface IAccessService { 1012 1013 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/AddRole", ReplyAction = "http://tempuri.org/IAccessService/AddRoleResponse")] 1014 HeuristicLab.Clients.Access.Role AddRole(HeuristicLab.Clients.Access.Role role); 1015 1016 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/DeleteRole", ReplyAction = "http://tempuri.org/IAccessService/DeleteRoleResponse")] 1017 void DeleteRole(HeuristicLab.Clients.Access.Role role); 1018 1019 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetUserRoles", ReplyAction = "http://tempuri.org/IAccessService/GetUserRolesResponse")] 1020 System.Collections.Generic.List<HeuristicLab.Clients.Access.Role> GetUserRoles(HeuristicLab.Clients.Access.User user); 1021 1022 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/AddRoleToGroup", ReplyAction = "http://tempuri.org/IAccessService/AddRoleToGroupResponse")] 1023 void AddRoleToGroup(HeuristicLab.Clients.Access.UserGroup userGroup, HeuristicLab.Clients.Access.Role role); 1024 1025 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/RemoveRoleFromGroup", ReplyAction = "http://tempuri.org/IAccessService/RemoveRoleFromGroupResponse")] 1026 void RemoveRoleFromGroup(HeuristicLab.Clients.Access.UserGroup userGroup, HeuristicLab.Clients.Access.Role role); 1027 1028 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/ReportError", ReplyAction = "http://tempuri.org/IAccessService/ReportErrorResponse")] 1029 void ReportError(HeuristicLab.Clients.Access.ClientError error); 1030 1031 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetClientErrors", ReplyAction = "http://tempuri.org/IAccessService/GetClientErrorsResponse")] 1032 System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientError> GetClientErrors(); 1033 1034 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetLastClientErrors", ReplyAction = "http://tempuri.org/IAccessService/GetLastClientErrorsResponse")] 1035 System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientError> GetLastClientErrors(System.DateTime startDate); 1036 1037 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/DeleteError", ReplyAction = "http://tempuri.org/IAccessService/DeleteErrorResponse")] 1038 void DeleteError(HeuristicLab.Clients.Access.ClientError error); 1039 1040 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/ClientExists", ReplyAction = "http://tempuri.org/IAccessService/ClientExistsResponse")] 1041 bool ClientExists(System.Guid id); 1042 1043 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetClient", ReplyAction = "http://tempuri.org/IAccessService/GetClientResponse")] 1044 HeuristicLab.Clients.Access.Client GetClient(System.Guid id); 1045 1046 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetClients", ReplyAction = "http://tempuri.org/IAccessService/GetClientsResponse")] 1047 System.Collections.Generic.List<HeuristicLab.Clients.Access.Client> GetClients(System.Collections.Generic.List<System.Guid> ids); 1048 1049 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetAllClients", ReplyAction = "http://tempuri.org/IAccessService/GetAllClientsResponse")] 1050 System.Collections.Generic.List<HeuristicLab.Clients.Access.Client> GetAllClients(); 1051 1052 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/AddClient", ReplyAction = "http://tempuri.org/IAccessService/AddClientResponse")] 1053 System.Guid AddClient(HeuristicLab.Clients.Access.Client client); 1054 1055 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/UpdateClient", ReplyAction = "http://tempuri.org/IAccessService/UpdateClientResponse")] 1056 void UpdateClient(HeuristicLab.Clients.Access.Client client); 1057 1058 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/DeleteClient", ReplyAction = "http://tempuri.org/IAccessService/DeleteClientResponse")] 1059 void DeleteClient(HeuristicLab.Clients.Access.Client client); 1060 1061 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetAllClientGroups", ReplyAction = "http://tempuri.org/IAccessService/GetAllClientGroupsResponse")] 1062 System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientGroup> GetAllClientGroups(); 1063 1064 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetClientGroups", ReplyAction = "http://tempuri.org/IAccessService/GetClientGroupsResponse")] 1065 System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientGroup> GetClientGroups(System.Collections.Generic.List<System.Guid> ids); 1066 1067 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/AddClientGroup", ReplyAction = "http://tempuri.org/IAccessService/AddClientGroupResponse")] 1068 System.Guid AddClientGroup(HeuristicLab.Clients.Access.ClientGroup group); 1069 1070 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/UpdateClientGroup", ReplyAction = "http://tempuri.org/IAccessService/UpdateClientGroupResponse")] 1071 void UpdateClientGroup(HeuristicLab.Clients.Access.ClientGroup group); 1072 1073 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/DeleteClientGroup", ReplyAction = "http://tempuri.org/IAccessService/DeleteClientGroupResponse")] 1074 void DeleteClientGroup(HeuristicLab.Clients.Access.ClientGroup group); 1075 1076 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/AddResourceToGroup", ReplyAction = "http://tempuri.org/IAccessService/AddResourceToGroupResponse")] 1077 void AddResourceToGroup(HeuristicLab.Clients.Access.Resource resource, HeuristicLab.Clients.Access.ClientGroup group); 1078 1079 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/RemoveResourceFromGroup", ReplyAction = "http://tempuri.org/IAccessService/RemoveResourceFromGroupResponse")] 1080 void RemoveResourceFromGroup(HeuristicLab.Clients.Access.Resource resource, HeuristicLab.Clients.Access.ClientGroup group); 1081 1082 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetClientGroupMapping", ReplyAction = "http://tempuri.org/IAccessService/GetClientGroupMappingResponse")] 1083 System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientGroupMapping> GetClientGroupMapping(); 1084 1085 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetResources", ReplyAction = "http://tempuri.org/IAccessService/GetResourcesResponse")] 1086 System.Collections.Generic.List<HeuristicLab.Clients.Access.Resource> GetResources(); 1087 1088 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetLastClientLog", ReplyAction = "http://tempuri.org/IAccessService/GetLastClientLogResponse")] 1089 HeuristicLab.Clients.Access.ClientLog GetLastClientLog(System.Guid clientId); 1090 1091 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetClientLogs", ReplyAction = "http://tempuri.org/IAccessService/GetClientLogsResponse")] 1092 System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientLog> GetClientLogs(System.Guid clientId); 1093 1094 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetClientLogsSince", ReplyAction = "http://tempuri.org/IAccessService/GetClientLogsSinceResponse")] 1095 System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientLog> GetClientLogsSince(System.DateTime startDate); 1096 1097 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/AddClientLog", ReplyAction = "http://tempuri.org/IAccessService/AddClientLogResponse")] 1098 void AddClientLog(HeuristicLab.Clients.Access.ClientLog log); 1099 1100 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/DeleteClientLog", ReplyAction = "http://tempuri.org/IAccessService/DeleteClientLogResponse")] 1101 void DeleteClientLog(HeuristicLab.Clients.Access.ClientLog log); 1102 1103 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/Login", ReplyAction = "http://tempuri.org/IAccessService/LoginResponse")] 1104 HeuristicLab.Clients.Access.User Login(); 1105 1106 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetAllLightweightUsers", ReplyAction = "http://tempuri.org/IAccessService/GetAllLightweightUsersResponse")] 1107 System.Collections.Generic.List<HeuristicLab.Clients.Access.LightweightUser> GetAllLightweightUsers(); 1108 1109 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetAllUsers", ReplyAction = "http://tempuri.org/IAccessService/GetAllUsersResponse")] 1110 System.Collections.Generic.List<HeuristicLab.Clients.Access.User> GetAllUsers(); 1111 1112 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetUsers", ReplyAction = "http://tempuri.org/IAccessService/GetUsersResponse")] 1113 System.Collections.Generic.List<HeuristicLab.Clients.Access.User> GetUsers(System.Collections.Generic.List<System.Guid> ids); 1114 1115 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/AddUser", ReplyAction = "http://tempuri.org/IAccessService/AddUserResponse")] 1116 HeuristicLab.Clients.Access.User AddUser(HeuristicLab.Clients.Access.User user); 1117 1118 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/DeleteUser", ReplyAction = "http://tempuri.org/IAccessService/DeleteUserResponse")] 1119 void DeleteUser(HeuristicLab.Clients.Access.User user); 1120 1121 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/UpdateUser", ReplyAction = "http://tempuri.org/IAccessService/UpdateUserResponse")] 1122 void UpdateUser(HeuristicLab.Clients.Access.User user); 1123 1124 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/AddUserToRole", ReplyAction = "http://tempuri.org/IAccessService/AddUserToRoleResponse")] 1125 void AddUserToRole(HeuristicLab.Clients.Access.Role role, HeuristicLab.Clients.Access.User user); 1126 1127 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/RemoveUserFromRole", ReplyAction = "http://tempuri.org/IAccessService/RemoveUserFromRoleResponse")] 1128 void RemoveUserFromRole(HeuristicLab.Clients.Access.Role role, HeuristicLab.Clients.Access.User user); 1129 1130 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/ResetPassword", ReplyAction = "http://tempuri.org/IAccessService/ResetPasswordResponse")] 1131 bool ResetPassword(HeuristicLab.Clients.Access.User user, string oldPassword, string newPassword); 1132 1133 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetAllUserGroups", ReplyAction = "http://tempuri.org/IAccessService/GetAllUserGroupsResponse")] 1134 System.Collections.Generic.List<HeuristicLab.Clients.Access.UserGroup> GetAllUserGroups(); 1135 1136 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetUserGroupsOfUser", ReplyAction = "http://tempuri.org/IAccessService/GetUserGroupsOfUserResponse")] 1137 System.Collections.Generic.List<HeuristicLab.Clients.Access.UserGroup> GetUserGroupsOfUser(System.Guid userId); 1138 1139 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetUserGroups", ReplyAction = "http://tempuri.org/IAccessService/GetUserGroupsResponse")] 1140 System.Collections.Generic.List<HeuristicLab.Clients.Access.UserGroup> GetUserGroups(System.Collections.Generic.List<System.Guid> ids); 1141 1142 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/AddUserGroup", ReplyAction = "http://tempuri.org/IAccessService/AddUserGroupResponse")] 1143 System.Guid AddUserGroup(HeuristicLab.Clients.Access.UserGroup group); 1144 1145 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/UpdateUserGroup", ReplyAction = "http://tempuri.org/IAccessService/UpdateUserGroupResponse")] 1146 void UpdateUserGroup(HeuristicLab.Clients.Access.UserGroup group); 1147 1148 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/DeleteUserGroup", ReplyAction = "http://tempuri.org/IAccessService/DeleteUserGroupResponse")] 1149 void DeleteUserGroup(HeuristicLab.Clients.Access.UserGroup group); 1150 1151 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/AddUserGroupBaseToGroup", ReplyAction = "http://tempuri.org/IAccessService/AddUserGroupBaseToGroupResponse")] 1152 void AddUserGroupBaseToGroup(HeuristicLab.Clients.Access.UserGroupBase resource, HeuristicLab.Clients.Access.UserGroup group); 1153 1154 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/RemoveUserGroupBaseFromGroup", ReplyAction = "http://tempuri.org/IAccessService/RemoveUserGroupBaseFromGroupResponse")] 1155 void RemoveUserGroupBaseFromGroup(HeuristicLab.Clients.Access.UserGroupBase resource, HeuristicLab.Clients.Access.UserGroup group); 1156 1157 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetUsersAndGroups", ReplyAction = "http://tempuri.org/IAccessService/GetUsersAndGroupsResponse")] 1158 System.Collections.Generic.List<HeuristicLab.Clients.Access.UserGroupBase> GetUsersAndGroups(); 1159 1160 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetUserGroupMapping", ReplyAction = "http://tempuri.org/IAccessService/GetUserGroupMappingResponse")] 1161 System.Collections.Generic.List<HeuristicLab.Clients.Access.UserGroupMapping> GetUserGroupMapping(); 1162 1163 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetRoles", ReplyAction = "http://tempuri.org/IAccessService/GetRolesResponse")] 1164 System.Collections.Generic.List<HeuristicLab.Clients.Access.Role> GetRoles(); 1165 } 1166 1167 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 1168 public interface IAccessServiceChannel : HeuristicLab.Clients.Access.IAccessService, System.ServiceModel.IClientChannel { 1169 } 1170 1171 [System.Diagnostics.DebuggerStepThroughAttribute()] 1172 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 1173 public partial class AccessServiceClient : System.ServiceModel.ClientBase<HeuristicLab.Clients.Access.IAccessService>, HeuristicLab.Clients.Access.IAccessService { 1174 1175 public AccessServiceClient() { 1176 } 1177 1178 public AccessServiceClient(string endpointConfigurationName) : 1179 base(endpointConfigurationName) { 1180 } 1181 1182 public AccessServiceClient(string endpointConfigurationName, string remoteAddress) : 1183 base(endpointConfigurationName, remoteAddress) { 1184 } 1185 1186 public AccessServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 1187 base(endpointConfigurationName, remoteAddress) { 1188 } 1189 1190 public AccessServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 1191 base(binding, remoteAddress) { 1192 } 1193 1194 public HeuristicLab.Clients.Access.Role AddRole(HeuristicLab.Clients.Access.Role role) { 1195 return base.Channel.AddRole(role); 1196 } 1197 1198 public void DeleteRole(HeuristicLab.Clients.Access.Role role) { 1199 base.Channel.DeleteRole(role); 1200 } 1201 1202 public System.Collections.Generic.List<HeuristicLab.Clients.Access.Role> GetUserRoles(HeuristicLab.Clients.Access.User user) { 1203 return base.Channel.GetUserRoles(user); 1204 } 1205 1206 public void AddRoleToGroup(HeuristicLab.Clients.Access.UserGroup userGroup, HeuristicLab.Clients.Access.Role role) { 1207 base.Channel.AddRoleToGroup(userGroup, role); 1208 } 1209 1210 public void RemoveRoleFromGroup(HeuristicLab.Clients.Access.UserGroup userGroup, HeuristicLab.Clients.Access.Role role) { 1211 base.Channel.RemoveRoleFromGroup(userGroup, role); 1212 } 1213 1214 public void ReportError(HeuristicLab.Clients.Access.ClientError error) { 1215 base.Channel.ReportError(error); 1216 } 1217 1218 public System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientError> GetClientErrors() { 1219 return base.Channel.GetClientErrors(); 1220 } 1221 1222 public System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientError> GetLastClientErrors(System.DateTime startDate) { 1223 return base.Channel.GetLastClientErrors(startDate); 1224 } 1225 1226 public void DeleteError(HeuristicLab.Clients.Access.ClientError error) { 1227 base.Channel.DeleteError(error); 1228 } 1229 1230 public bool ClientExists(System.Guid id) { 1231 return base.Channel.ClientExists(id); 1232 } 1233 1234 public HeuristicLab.Clients.Access.Client GetClient(System.Guid id) { 1235 return base.Channel.GetClient(id); 1236 } 1237 1238 public System.Collections.Generic.List<HeuristicLab.Clients.Access.Client> GetClients(System.Collections.Generic.List<System.Guid> ids) { 1239 return base.Channel.GetClients(ids); 1240 } 1241 1242 public System.Collections.Generic.List<HeuristicLab.Clients.Access.Client> GetAllClients() { 1243 return base.Channel.GetAllClients(); 1244 } 1245 1246 public System.Guid AddClient(HeuristicLab.Clients.Access.Client client) { 1247 return base.Channel.AddClient(client); 1248 } 1249 1250 public void UpdateClient(HeuristicLab.Clients.Access.Client client) { 1251 base.Channel.UpdateClient(client); 1252 } 1253 1254 public void DeleteClient(HeuristicLab.Clients.Access.Client client) { 1255 base.Channel.DeleteClient(client); 1256 } 1257 1258 public System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientGroup> GetAllClientGroups() { 1259 return base.Channel.GetAllClientGroups(); 1260 } 1261 1262 public System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientGroup> GetClientGroups(System.Collections.Generic.List<System.Guid> ids) { 1263 return base.Channel.GetClientGroups(ids); 1264 } 1265 1266 public System.Guid AddClientGroup(HeuristicLab.Clients.Access.ClientGroup group) { 1267 return base.Channel.AddClientGroup(group); 1268 } 1269 1270 public void UpdateClientGroup(HeuristicLab.Clients.Access.ClientGroup group) { 1271 base.Channel.UpdateClientGroup(group); 1272 } 1273 1274 public void DeleteClientGroup(HeuristicLab.Clients.Access.ClientGroup group) { 1275 base.Channel.DeleteClientGroup(group); 1276 } 1277 1278 public void AddResourceToGroup(HeuristicLab.Clients.Access.Resource resource, HeuristicLab.Clients.Access.ClientGroup group) { 1279 base.Channel.AddResourceToGroup(resource, group); 1280 } 1281 1282 public void RemoveResourceFromGroup(HeuristicLab.Clients.Access.Resource resource, HeuristicLab.Clients.Access.ClientGroup group) { 1283 base.Channel.RemoveResourceFromGroup(resource, group); 1284 } 1285 1286 public System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientGroupMapping> GetClientGroupMapping() { 1287 return base.Channel.GetClientGroupMapping(); 1288 } 1289 1290 public System.Collections.Generic.List<HeuristicLab.Clients.Access.Resource> GetResources() { 1291 return base.Channel.GetResources(); 1292 } 1293 1294 public HeuristicLab.Clients.Access.ClientLog GetLastClientLog(System.Guid clientId) { 1295 return base.Channel.GetLastClientLog(clientId); 1296 } 1297 1298 public System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientLog> GetClientLogs(System.Guid clientId) { 1299 return base.Channel.GetClientLogs(clientId); 1300 } 1301 1302 public System.Collections.Generic.List<HeuristicLab.Clients.Access.ClientLog> GetClientLogsSince(System.DateTime startDate) { 1303 return base.Channel.GetClientLogsSince(startDate); 1304 } 1305 1306 public void AddClientLog(HeuristicLab.Clients.Access.ClientLog log) { 1307 base.Channel.AddClientLog(log); 1308 } 1309 1310 public void DeleteClientLog(HeuristicLab.Clients.Access.ClientLog log) { 1311 base.Channel.DeleteClientLog(log); 1312 } 1313 1314 public HeuristicLab.Clients.Access.User Login() { 1315 return base.Channel.Login(); 1316 } 1317 1318 public System.Collections.Generic.List<HeuristicLab.Clients.Access.LightweightUser> GetAllLightweightUsers() { 1319 return base.Channel.GetAllLightweightUsers(); 1320 } 1321 1322 public System.Collections.Generic.List<HeuristicLab.Clients.Access.User> GetAllUsers() { 1323 return base.Channel.GetAllUsers(); 1324 } 1325 1326 public System.Collections.Generic.List<HeuristicLab.Clients.Access.User> GetUsers(System.Collections.Generic.List<System.Guid> ids) { 1327 return base.Channel.GetUsers(ids); 1328 } 1329 1330 public HeuristicLab.Clients.Access.User AddUser(HeuristicLab.Clients.Access.User user) { 1331 return base.Channel.AddUser(user); 1332 } 1333 1334 public void DeleteUser(HeuristicLab.Clients.Access.User user) { 1335 base.Channel.DeleteUser(user); 1336 } 1337 1338 public void UpdateUser(HeuristicLab.Clients.Access.User user) { 1339 base.Channel.UpdateUser(user); 1340 } 1341 1342 public void AddUserToRole(HeuristicLab.Clients.Access.Role role, HeuristicLab.Clients.Access.User user) { 1343 base.Channel.AddUserToRole(role, user); 1344 } 1345 1346 public void RemoveUserFromRole(HeuristicLab.Clients.Access.Role role, HeuristicLab.Clients.Access.User user) { 1347 base.Channel.RemoveUserFromRole(role, user); 1348 } 1349 1350 public bool ResetPassword(HeuristicLab.Clients.Access.User user, string oldPassword, string newPassword) { 1351 return base.Channel.ResetPassword(user, oldPassword, newPassword); 1352 } 1353 1354 public System.Collections.Generic.List<HeuristicLab.Clients.Access.UserGroup> GetAllUserGroups() { 1355 return base.Channel.GetAllUserGroups(); 1356 } 1357 1358 public System.Collections.Generic.List<HeuristicLab.Clients.Access.UserGroup> GetUserGroupsOfUser(System.Guid userId) { 1359 return base.Channel.GetUserGroupsOfUser(userId); 1360 } 1361 1362 public System.Collections.Generic.List<HeuristicLab.Clients.Access.UserGroup> GetUserGroups(System.Collections.Generic.List<System.Guid> ids) { 1363 return base.Channel.GetUserGroups(ids); 1364 } 1365 1366 public System.Guid AddUserGroup(HeuristicLab.Clients.Access.UserGroup group) { 1367 return base.Channel.AddUserGroup(group); 1368 } 1369 1370 public void UpdateUserGroup(HeuristicLab.Clients.Access.UserGroup group) { 1371 base.Channel.UpdateUserGroup(group); 1372 } 1373 1374 public void DeleteUserGroup(HeuristicLab.Clients.Access.UserGroup group) { 1375 base.Channel.DeleteUserGroup(group); 1376 } 1377 1378 public void AddUserGroupBaseToGroup(HeuristicLab.Clients.Access.UserGroupBase resource, HeuristicLab.Clients.Access.UserGroup group) { 1379 base.Channel.AddUserGroupBaseToGroup(resource, group); 1380 } 1381 1382 public void RemoveUserGroupBaseFromGroup(HeuristicLab.Clients.Access.UserGroupBase resource, HeuristicLab.Clients.Access.UserGroup group) { 1383 base.Channel.RemoveUserGroupBaseFromGroup(resource, group); 1384 } 1385 1386 public System.Collections.Generic.List<HeuristicLab.Clients.Access.UserGroupBase> GetUsersAndGroups() { 1387 return base.Channel.GetUsersAndGroups(); 1388 } 1389 1390 public System.Collections.Generic.List<HeuristicLab.Clients.Access.UserGroupMapping> GetUserGroupMapping() { 1391 return base.Channel.GetUserGroupMapping(); 1392 } 1393 1394 public System.Collections.Generic.List<HeuristicLab.Clients.Access.Role> GetRoles() { 1395 return base.Channel.GetRoles(); 1396 } 1397 } 1695 1398 } -
branches/ClientUserManagement/HeuristicLab.Clients.Access/3.3/ServiceClients/GenerateServiceClients.cmd
r7367 r7368 3 3 echo. 4 4 echo ******************************************************************************************* 5 echo Generating HiveService client5 echo Generating AccessService client 6 6 echo. 7 7 … … 21 21 echo. 22 22 echo Following modifications have to be done manually in generated data contracts: 23 echo * Remove method "protected void RaisePropertyChanged(string propertyName)" in HiveItem23 echo * Remove method "protected void RaisePropertyChanged(string propertyName)" in AccessServiceItem 24 24 echo. 25 25 echo !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! 26 26 echo --------------------------------------------------------------------------------------- 27 27 echo. 28 echo Generation of HiveService client finished.28 echo Generation of AccessService client finished. 29 29 echo ******************************************************************************************* 30 30 -
branches/ClientUserManagement/HeuristicLab.Services.Access/3.3/AccessService.cs
r7367 r7368 278 278 DA.User accessUser = null; 279 279 280 //TODO: add user to userdb if there is only data available in the asp.net authentication db281 280 using (DA.ClientManagementDataContext context = new DA.ClientManagementDataContext()) { 282 281 var query = from u in context.UserGroupBases.OfType<DA.User>() … … 285 284 if (query.Count() == 1) { 286 285 accessUser = query.First(); 286 } else { 287 //if the user is not in the access db at it 288 DA.User user = new DA.User(); 289 user.Id = userId; 290 user.FullName = "Not set"; 291 context.UserGroupBases.InsertOnSubmit(user); 292 context.SubmitChanges(); 293 accessUser = user; 287 294 } 288 295 } … … 316 323 DA.User accessUser = null; 317 324 318 //TODO: add user to userdb if there is only data available in the asp.net authentication db319 325 using (DA.ASPNETAuthenticationDataContext context = new DA.ASPNETAuthenticationDataContext()) { 320 326 var userQuery = from u in context.aspnet_Users … … 332 338 if (query.Count() == 1) { 333 339 accessUser = query.First(); 340 } else { 341 //if the user is not in the access db at it 342 DA.User user = new DA.User(); 343 user.Id = userId; 344 user.FullName = "Not set"; 345 context.UserGroupBases.InsertOnSubmit(user); 346 context.SubmitChanges(); 347 accessUser = user; 334 348 } 335 349 } -
branches/ClientUserManagement/HeuristicLab.Services.Access/3.3/DataTransfer/AccessItem.cs
r7355 r7368 24 24 namespace HeuristicLab.Services.Access.DataTransfer { 25 25 [DataContract] 26 public class AccessItem {26 public abstract class AccessItem { 27 27 } 28 28 }
Note: See TracChangeset
for help on using the changeset viewer.