Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/28/10 15:27:04 (13 years ago)
Author:
jwolfing
Message:

#1196 Changed BaseClasses in Data Transfer Objects, added Methods to User and Role ServiceClasses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UserManagement/HeuristicLab.Services.Authentication.ServiceClients/ServiceClients/AuthenticationServiceClient.cs

    r4962 r4979  
    11//------------------------------------------------------------------------------
    22// <auto-generated>
    3 //     This code was generated by a tool.
    4 //     Runtime Version:4.0.30319.1
     3//     Dieser Code wurde von einem Tool generiert.
     4//     Laufzeitversion:4.0.30319.1
    55//
    6 //     Changes to this file may cause incorrect behavior and will be lost if
    7 //     the code is regenerated.
     6//     Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
     7//     der Code erneut generiert wird.
    88// </auto-generated>
    99//------------------------------------------------------------------------------
     
    1616    [System.Diagnostics.DebuggerStepThroughAttribute()]
    1717    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    18     [System.Runtime.Serialization.DataContractAttribute(Name="AuthItem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
     18    [System.Runtime.Serialization.DataContractAttribute(Name="AuthenticationItem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
    1919        "Transfer")]
    20     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.NamedAuthItem))]
     20    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.NamedAuthenticationItem))]
    2121    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Role))]
    2222    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Application))]
    2323    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.User))]
    24     public partial class AuthItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
     24    public partial class AuthenticationItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
    2525    {
    2626       
     
    7272    [System.Diagnostics.DebuggerStepThroughAttribute()]
    7373    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    74     [System.Runtime.Serialization.DataContractAttribute(Name="NamedAuthItem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
     74    [System.Runtime.Serialization.DataContractAttribute(Name="NamedAuthenticationItem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
    7575        "Transfer")]
    7676    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Role))]
    7777    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.Application))]
    7878    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Services.Authentication.User))]
    79     public partial class NamedAuthItem : HeuristicLab.Services.Authentication.AuthItem
     79    public partial class NamedAuthenticationItem : HeuristicLab.Services.Authentication.AuthenticationItem
    8080    {
    8181       
     
    104104    [System.Runtime.Serialization.DataContractAttribute(Name="Role", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
    105105        "Transfer")]
    106     public partial class Role : HeuristicLab.Services.Authentication.NamedAuthItem
     106    public partial class Role : HeuristicLab.Services.Authentication.NamedAuthenticationItem
    107107    {
    108108       
     
    110110       
    111111        private string DescriptionField;
    112        
    113         private string LoweredRoleNameField;
    114112       
    115113        [System.Runtime.Serialization.DataMemberAttribute()]
     
    143141                    this.DescriptionField = value;
    144142                    this.RaisePropertyChanged("Description");
    145                 }
    146             }
    147         }
    148        
    149         [System.Runtime.Serialization.DataMemberAttribute()]
    150         public string LoweredRoleName
    151         {
    152             get
    153             {
    154                 return this.LoweredRoleNameField;
    155             }
    156             set
    157             {
    158                 if ((object.ReferenceEquals(this.LoweredRoleNameField, value) != true))
    159                 {
    160                     this.LoweredRoleNameField = value;
    161                     this.RaisePropertyChanged("LoweredRoleName");
    162143                }
    163144            }
     
    169150    [System.Runtime.Serialization.DataContractAttribute(Name="Application", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
    170151        "Transfer")]
    171     public partial class Application : HeuristicLab.Services.Authentication.NamedAuthItem
     152    public partial class Application : HeuristicLab.Services.Authentication.NamedAuthenticationItem
    172153    {
    173154       
    174155        private string DescriptionField;
    175        
    176         private string LoweredApplicationNameField;
    177156       
    178157        [System.Runtime.Serialization.DataMemberAttribute()]
     
    189168                    this.DescriptionField = value;
    190169                    this.RaisePropertyChanged("Description");
    191                 }
    192             }
    193         }
    194        
    195         [System.Runtime.Serialization.DataMemberAttribute()]
    196         public string LoweredApplicationName
    197         {
    198             get
    199             {
    200                 return this.LoweredApplicationNameField;
    201             }
    202             set
    203             {
    204                 if ((object.ReferenceEquals(this.LoweredApplicationNameField, value) != true))
    205                 {
    206                     this.LoweredApplicationNameField = value;
    207                     this.RaisePropertyChanged("LoweredApplicationName");
    208170                }
    209171            }
     
    215177    [System.Runtime.Serialization.DataContractAttribute(Name="User", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Authentication.Data" +
    216178        "Transfer")]
    217     public partial class User : HeuristicLab.Services.Authentication.NamedAuthItem
     179    public partial class User : HeuristicLab.Services.Authentication.NamedAuthenticationItem
    218180    {
    219181       
     
    455417        HeuristicLab.Services.Authentication.User GetUser(System.Guid id);
    456418       
     419        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetAllUsers", ReplyAction="http://tempuri.org/IAuthenticationService/GetAllUsersResponse")]
     420        HeuristicLab.Services.Authentication.User[] GetAllUsers();
     421       
    457422        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetUsers", ReplyAction="http://tempuri.org/IAuthenticationService/GetUsersResponse")]
    458423        HeuristicLab.Services.Authentication.User[] GetUsers(System.Guid applicationId);
    459424       
    460         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/InsertUser", ReplyAction="http://tempuri.org/IAuthenticationService/InsertUserResponse")]
    461         System.Guid InsertUser(HeuristicLab.Services.Authentication.User user);
     425        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/AddUser", ReplyAction="http://tempuri.org/IAuthenticationService/AddUserResponse")]
     426        System.Guid AddUser(HeuristicLab.Services.Authentication.User user);
    462427       
    463428        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/DeleteUser", ReplyAction="http://tempuri.org/IAuthenticationService/DeleteUserResponse")]
     
    470435        bool AddUserToRole(System.Guid roleId, System.Guid userId);
    471436       
     437        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetUsersInRole", ReplyAction="http://tempuri.org/IAuthenticationService/GetUsersInRoleResponse")]
     438        System.Guid[] GetUsersInRole(System.Guid roleId);
     439       
    472440        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/RemoveUserFromRole", ReplyAction="http://tempuri.org/IAuthenticationService/RemoveUserFromRoleResponse")]
    473441        bool RemoveUserFromRole(System.Guid roleId, System.Guid userId);
    474442       
    475         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetRolesForUser", ReplyAction="http://tempuri.org/IAuthenticationService/GetRolesForUserResponse")]
    476         HeuristicLab.Services.Authentication.Role[] GetRolesForUser(System.Guid userId);
     443        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/IsUserInRole", ReplyAction="http://tempuri.org/IAuthenticationService/IsUserInRoleResponse")]
     444        bool IsUserInRole(System.Guid userId, System.Guid roleId);
    477445       
    478446        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetRole", ReplyAction="http://tempuri.org/IAuthenticationService/GetRoleResponse")]
    479447        HeuristicLab.Services.Authentication.Role GetRole(System.Guid id);
    480448       
     449        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetAllRoles", ReplyAction="http://tempuri.org/IAuthenticationService/GetAllRolesResponse")]
     450        HeuristicLab.Services.Authentication.Role[] GetAllRoles();
     451       
    481452        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetRoles", ReplyAction="http://tempuri.org/IAuthenticationService/GetRolesResponse")]
    482453        HeuristicLab.Services.Authentication.Role[] GetRoles(System.Guid applicationId);
    483454       
    484         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/InsertRole", ReplyAction="http://tempuri.org/IAuthenticationService/InsertRoleResponse")]
    485         System.Guid InsertRole(HeuristicLab.Services.Authentication.Role role);
     455        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/AddRole", ReplyAction="http://tempuri.org/IAuthenticationService/AddRoleResponse")]
     456        System.Guid AddRole(HeuristicLab.Services.Authentication.Role role);
    486457       
    487458        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/UpdateRole", ReplyAction="http://tempuri.org/IAuthenticationService/UpdateRoleResponse")]
     
    491462        bool DeleteRole(System.Guid id);
    492463       
    493         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetUsersInRole", ReplyAction="http://tempuri.org/IAuthenticationService/GetUsersInRoleResponse")]
    494         HeuristicLab.Services.Authentication.User[] GetUsersInRole(System.Guid roleId);
     464        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetRolesForUser", ReplyAction="http://tempuri.org/IAuthenticationService/GetRolesForUserResponse")]
     465        System.Guid[] GetRolesForUser(System.Guid userId);
    495466       
    496467        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/GetApplication", ReplyAction="http://tempuri.org/IAuthenticationService/GetApplicationResponse")]
    497468        HeuristicLab.Services.Authentication.Application GetApplication(System.Guid id);
    498469       
    499         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/InsertApplication", ReplyAction="http://tempuri.org/IAuthenticationService/InsertApplicationResponse")]
    500         System.Guid InsertApplication(HeuristicLab.Services.Authentication.Application application);
     470        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/AddApplication", ReplyAction="http://tempuri.org/IAuthenticationService/AddApplicationResponse")]
     471        System.Guid AddApplication(HeuristicLab.Services.Authentication.Application application);
    501472       
    502473        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAuthenticationService/DeleteApplication", ReplyAction="http://tempuri.org/IAuthenticationService/DeleteApplicationResponse")]
     
    549520        }
    550521       
     522        public HeuristicLab.Services.Authentication.User[] GetAllUsers()
     523        {
     524            return base.Channel.GetAllUsers();
     525        }
     526       
    551527        public HeuristicLab.Services.Authentication.User[] GetUsers(System.Guid applicationId)
    552528        {
     
    554530        }
    555531       
    556         public System.Guid InsertUser(HeuristicLab.Services.Authentication.User user)
    557         {
    558             return base.Channel.InsertUser(user);
     532        public System.Guid AddUser(HeuristicLab.Services.Authentication.User user)
     533        {
     534            return base.Channel.AddUser(user);
    559535        }
    560536       
     
    574550        }
    575551       
     552        public System.Guid[] GetUsersInRole(System.Guid roleId)
     553        {
     554            return base.Channel.GetUsersInRole(roleId);
     555        }
     556       
    576557        public bool RemoveUserFromRole(System.Guid roleId, System.Guid userId)
    577558        {
     
    579560        }
    580561       
    581         public HeuristicLab.Services.Authentication.Role[] GetRolesForUser(System.Guid userId)
     562        public bool IsUserInRole(System.Guid userId, System.Guid roleId)
     563        {
     564            return base.Channel.IsUserInRole(userId, roleId);
     565        }
     566       
     567        public HeuristicLab.Services.Authentication.Role GetRole(System.Guid id)
     568        {
     569            return base.Channel.GetRole(id);
     570        }
     571       
     572        public HeuristicLab.Services.Authentication.Role[] GetAllRoles()
     573        {
     574            return base.Channel.GetAllRoles();
     575        }
     576       
     577        public HeuristicLab.Services.Authentication.Role[] GetRoles(System.Guid applicationId)
     578        {
     579            return base.Channel.GetRoles(applicationId);
     580        }
     581       
     582        public System.Guid AddRole(HeuristicLab.Services.Authentication.Role role)
     583        {
     584            return base.Channel.AddRole(role);
     585        }
     586       
     587        public bool UpdateRole(HeuristicLab.Services.Authentication.Role role)
     588        {
     589            return base.Channel.UpdateRole(role);
     590        }
     591       
     592        public bool DeleteRole(System.Guid id)
     593        {
     594            return base.Channel.DeleteRole(id);
     595        }
     596       
     597        public System.Guid[] GetRolesForUser(System.Guid userId)
    582598        {
    583599            return base.Channel.GetRolesForUser(userId);
    584600        }
    585601       
    586         public HeuristicLab.Services.Authentication.Role GetRole(System.Guid id)
    587         {
    588             return base.Channel.GetRole(id);
    589         }
    590        
    591         public HeuristicLab.Services.Authentication.Role[] GetRoles(System.Guid applicationId)
    592         {
    593             return base.Channel.GetRoles(applicationId);
    594         }
    595        
    596         public System.Guid InsertRole(HeuristicLab.Services.Authentication.Role role)
    597         {
    598             return base.Channel.InsertRole(role);
    599         }
    600        
    601         public bool UpdateRole(HeuristicLab.Services.Authentication.Role role)
    602         {
    603             return base.Channel.UpdateRole(role);
    604         }
    605        
    606         public bool DeleteRole(System.Guid id)
    607         {
    608             return base.Channel.DeleteRole(id);
    609         }
    610        
    611         public HeuristicLab.Services.Authentication.User[] GetUsersInRole(System.Guid roleId)
    612         {
    613             return base.Channel.GetUsersInRole(roleId);
    614         }
    615        
    616602        public HeuristicLab.Services.Authentication.Application GetApplication(System.Guid id)
    617603        {
     
    619605        }
    620606       
    621         public System.Guid InsertApplication(HeuristicLab.Services.Authentication.Application application)
    622         {
    623             return base.Channel.InsertApplication(application);
     607        public System.Guid AddApplication(HeuristicLab.Services.Authentication.Application application)
     608        {
     609            return base.Channel.AddApplication(application);
    624610        }
    625611       
Note: See TracChangeset for help on using the changeset viewer.