Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/27/11 17:13:54 (13 years ago)
Author:
ascheibe
Message:

#1648 started implementing the web service

Location:
branches/ClientUserManagement
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/ClientUserManagement

    • Property svn:ignore
      •  

        old new  
        22*.testsettings
        33HeuristicLab.Services.Access.vsmdi
         4TestResults
  • branches/ClientUserManagement/HeuristicLab.Services.Access/3.3/IAccessService.cs

    r6825 r6840  
    3838
    3939    [OperationContract]
    40     IEnumerable<Client> GetClients();
     40    IEnumerable<Client> GetClients(IEnumerable<Guid> ids);
     41
     42    [OperationContract]
     43    IEnumerable<Client> GetAllClients();
    4144
    4245    [OperationContract]
     
    4851    [OperationContract]
    4952    void DeleteClient(Client client);
     53    #endregion
     54
     55    #region Client Group
     56    [OperationContract]
     57    IEnumerable<ClientGroup> GetAllClientGroups();
     58
     59    [OperationContract]
     60    IEnumerable<ClientGroup> GetClientGroups(IEnumerable<Guid> ids);
     61
     62    [OperationContract]
     63    Guid AddClientGroup(ClientGroup group);
     64
     65    [OperationContract]
     66    void UpdateClientGroup(ClientGroup group);
     67
     68    [OperationContract]
     69    void DeleteClientGroup(ClientGroup group);
     70
     71    [OperationContract]
     72    void AddResourceToGroup(Resource resource, UserGroup group);
     73
     74    [OperationContract]
     75    void RemoveResourceFromGroup(Resource resource, UserGroup group);
     76    #endregion
     77
     78    #region ClientGroupMapping
     79    [OperationContract]
     80    IEnumerable<ClientGroupMapping> GetClientGroupMapping();
     81    #endregion
     82
     83    #region Resource
     84    [OperationContract]
     85    IEnumerable<Resource> GetResources();
    5086    #endregion
    5187
     
    6197
    6298    [OperationContract]
    63     void AddClientLogEntry(ClientLog log);
     99    void AddClientLog(ClientLog log);
    64100
    65101    [OperationContract]
    66     void DeleteClientLogEntry(ClientLog log);
    67     #endregion
    68 
    69     #region Client Group
    70     [OperationContract]
    71     IEnumerable<ClientGroup> GetClientGroups();
    72 
    73     [OperationContract]
    74     IEnumerable<ClientGroup> GetParentGroups(Guid id);
    75 
    76     [OperationContract]
    77     Guid AddClientGroup(ClientGroup group);
    78 
    79     [OperationContract]
    80     void UpdateClientGroup(ClientGroup group);
    81 
    82     [OperationContract]
    83     void DeleteClientGroup(ClientGroup group);
     102    void DeleteClientLog(ClientLog log);
    84103    #endregion
    85104
    86105    #region User
    87106    [OperationContract]
    88     void Login();
     107    User Login();
    89108
    90109    [OperationContract]
    91     IEnumerable<User> GetUsers();
     110    IEnumerable<User> GetAllUsers();
     111
     112    [OperationContract]
     113    IEnumerable<User> GetUsers(IEnumerable<User> ids);
    92114
    93115    [OperationContract]
     
    110132    #endregion
    111133
     134    #region UserGroup
     135    [OperationContract]
     136    IEnumerable<UserGroup> GetAllUserGroups();
     137
     138    [OperationContract]
     139    IEnumerable<UserGroup> GetUserGroups(IEnumerable<Guid> ids);
     140
     141    [OperationContract]
     142    UserGroup AddUserGroup(UserGroup group);
     143
     144    [OperationContract]
     145    void UpdateUserGroup(UserGroup group);
     146
     147    [OperationContract]
     148    void DeleteUserGroup(UserGroup group);
     149
     150    [OperationContract]
     151    void AddUserGroupBaseToGroup(UserGroupBase resource, UserGroup group);
     152
     153    [OperationContract]
     154    void RemoveUserGroupBaseFromGroup(UserGroupBase resource, UserGroup group);
     155    #endregion
     156
     157    #region UserGroupBase
     158    [OperationContract]
     159    IEnumerable<UserGroupBase> GetUsersAndGroups();
     160    #endregion
     161
     162    #region UserGroupMapping
     163    [OperationContract]
     164    IEnumerable<UserGroupMapping> GetUserGroupMapping();
     165    #endregion
     166
    112167    #region Role
    113168    [OperationContract]
     
    127182    #endregion
    128183
    129     #region UserGroup
     184    #region ClientError
    130185    [OperationContract]
    131     IEnumerable<UserGroup> GetUserGroups();
     186    void ReportError(ClientError error);
    132187
    133188    [OperationContract]
    134     UserGroup AddUserGroup(UserGroup group);
     189    IEnumerable<ClientError> GetClientErrors();
    135190
    136191    [OperationContract]
    137     void UpdateUserGroup(UserGroup group);
     192    IEnumerable<ClientError> GetLastClientErrors(DateTime startDate);
    138193
    139194    [OperationContract]
    140     void DeleteUserGroup(UserGroup group);
     195    void DeleteError(ClientError error);
    141196    #endregion
    142197  }
Note: See TracChangeset for help on using the changeset viewer.