using System; using System.Collections.Generic; using System.Linq; using System.Text; using HeuristicLab.Hive.Contracts.Interfaces; using HeuristicLab.Hive.Contracts.BusinessObjects; namespace HeuristicLab.Hive.Server.Core { public class ServerConsoleFacade: IServerConsoleFacade { private IClientManager clientManager = new ClientManager(); private IJobManager jobManager = new JobManager(); private IUserRoleManager userRoleManager = new UserRoleManager(); #region IClientManager Members public List GetAllClients() { return clientManager.GetAllClients(); } public List GetAllClientGroups() { return clientManager.GetAllClientGroups(); } public List GetAllUpTimeStatistics() { return clientManager.GetAllUpTimeStatistics(); } #endregion #region IJobManager Members public List GetAllJobs() { return jobManager.GetAllJobs(); } #endregion #region IUserRoleManager Members public List GetAllUsers() { return userRoleManager.GetAllUsers(); } public List GetAllUserGroups() { return userRoleManager.GetAllUserGroups(); } #endregion } }