Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/10/08 09:43:58 (16 years ago)
Author:
msteinbi
Message:

Implementation of UserRoleManager (#417)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.Core/ClientManager.cs

    r907 r929  
    2727using HeuristicLab.Hive.Contracts.BusinessObjects;
    2828using HeuristicLab.Hive.Contracts;
     29using HeuristicLab.Hive.Server.Core.InternalInterfaces.DataAccess;
    2930
    3031namespace HeuristicLab.Hive.Server.Core {
    3132  class ClientManager: IClientManager {
     33
     34    IClientAdapter clientAdapter;
    3235
    3336    List<ClientInfo> clients;
     
    3538
    3639    public ClientManager() {
     40      clientAdapter = ServiceLocator.GetClientAdapter();
     41
    3742      clients = new List<ClientInfo>();
    3843      clientGroups = new List<ClientGroup>();
     
    5964    public ResponseList<ClientInfo> GetAllClients() {
    6065      ResponseList<ClientInfo> response = new ResponseList<ClientInfo>();
    61       response.List = clients;
     66
     67      response.List = new List<ClientInfo>(clientAdapter.GetAllClients());
     68      response.StatusMessage = ApplicationConstants.RESPONSE_CLIENT_GET_ALL_CLIENTS;
    6269      response.Success = true;
     70
    6371      return response;
    6472    }
Note: See TracChangeset for help on using the changeset viewer.