Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/08/10 09:35:24 (14 years ago)
Author:
jwolfing
Message:

#1196 Changed DataTransfer Structure factoring in abstract class. Added new TestClient2 only to test the new method. All other comment lines, are lines they should be changed to the new structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UserManagement/HeuristicLab.Services.Authentication/Interfaces/IAuthenticationService.cs

    r4726 r4740  
    1515        User GetUser(Guid id);
    1616
    17         [OperationContract]
    18         User GetUser(Guid applicationId, string userName);
     17        //[OperationContract]
     18        //User GetUser(Guid applicationId, string userName);
    1919
    20         [OperationContract]
    21         IEnumerable<User> GetUsers(Guid applicationId);
     20        //[OperationContract]
     21        //IEnumerable<User> GetUsers(Guid applicationId);
    2222
    23         [OperationContract]
    24         bool InsertUser(User user);
     23        //[OperationContract]
     24        //bool InsertUser(User user);
    2525
    26         [OperationContract]
    27         bool DeleteUser(Guid id);
     26        //[OperationContract]
     27        //bool DeleteUser(Guid id);
    2828
    29         [OperationContract]
    30         bool UpdateUser(User user);
     29        //[OperationContract]
     30        //bool UpdateUser(User user);
    3131
    32         [OperationContract]
    33         bool AddUserToRole(Guid roleId, Guid userId);
     32        //[OperationContract]
     33        //bool AddUserToRole(Guid roleId, Guid userId);
    3434
    35         [OperationContract]
    36         bool RemoveUserFromRole(Guid roleId, Guid userId);
     35        //[OperationContract]
     36        //bool RemoveUserFromRole(Guid roleId, Guid userId);
    3737
    38         [OperationContract]
    39         IEnumerable<Role> GetRolesForUser(Guid userId);
     38        //[OperationContract]
     39        //IEnumerable<Role> GetRolesForUser(Guid userId);
    4040
    4141        #endregion
     
    4343        #region Role
    4444
    45         [OperationContract]
    46         Role GetRole(Guid id);
     45        //[OperationContract]
     46        //Role GetRole(Guid id);
    4747       
    48         [OperationContract]
    49         Role GetRole(Guid applicationId, string roleName);
     48        //[OperationContract]
     49        //Role GetRole(Guid applicationId, string roleName);
    5050
    51         [OperationContract]
    52         IEnumerable<Role> GetRoles(Guid applicationId);
     51        //[OperationContract]
     52        //IEnumerable<Role> GetRoles(Guid applicationId);
    5353
    54         [OperationContract]
    55         bool RoleExists(Guid roleId);
     54        //[OperationContract]
     55        //bool RoleExists(Guid roleId);
    5656
    57         [OperationContract]
    58         bool IsUserInRole(Guid roleId, Guid userId);
     57        //[OperationContract]
     58        //bool IsUserInRole(Guid roleId, Guid userId);
    5959       
    60         [OperationContract]
    61         bool InsertRole(Role role);
     60        //[OperationContract]
     61        //bool InsertRole(Role role);
    6262
    63         [OperationContract]
    64         bool UpdateRole(Role role);
     63        //[OperationContract]
     64        //bool UpdateRole(Role role);
    6565
    66         [OperationContract]
    67         bool DeleteRole(Guid id);
     66        //[OperationContract]
     67        //bool DeleteRole(Guid id);
    6868
    69         [OperationContract]
    70         IEnumerable<User> GetUsersInRole(Guid roleId);
     69        //[OperationContract]
     70        //IEnumerable<User> GetUsersInRole(Guid roleId);
    7171       
    7272        #endregion
     
    7474        #region Application
    7575
    76         [OperationContract]
    77         Application GetApplication(Guid id);
     76        //[OperationContract]
     77        //Application GetApplication(Guid id);
    7878
    79         [OperationContract]
    80         Application InsertApplication(Application application);
     79        //[OperationContract]
     80        //Application InsertApplication(Application application);
    8181
    82         [OperationContract]
    83         bool DeleteApplication(Application application);
     82        //[OperationContract]
     83        //bool DeleteApplication(Application application);
    8484
    85         [OperationContract]
    86         IEnumerable<DataTransfer.Application> GetApplications();
     85        // [OperationContract]
     86        //IEnumerable<DataTransfer.Application> GetApplications();
    8787
    8888        #endregion
     
    9090        #region Membership
    9191
    92         [OperationContract]
    93         Membership InsertMembership(Membership membership);
     92        //[OperationContract]
     93        //Membership InsertMembership(Membership membership);
    9494
    9595        #endregion
Note: See TracChangeset for help on using the changeset viewer.