Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Hive.Contracts/Interfaces/IClientManager.cs @ 939

Last change on this file since 939 was 934, checked in by msteinbi, 16 years ago

Implementation of UserRoleManager (#417)

File size: 983 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.ServiceModel;
6using HeuristicLab.Hive.Contracts.BusinessObjects;
7
8namespace HeuristicLab.Hive.Contracts.Interfaces {
9  /// <summary>
10  /// This is the faced for the management console
11  /// </summary>
12  [ServiceContract]
13  public interface IClientManager {
14    [OperationContract]
15    ResponseList<ClientInfo> GetAllClients();
16    [OperationContract]
17    [ServiceKnownType(typeof (Resource))]
18    [ServiceKnownType(typeof(ClientInfo))]
19    ResponseList<ClientGroup> GetAllClientGroups();
20    [OperationContract]
21    Response AddClientGroup(ClientGroup clientGroup);
22    [OperationContract]
23    Response AddResourceToGroup(long clientGroupId, Resource resource);
24    [OperationContract]
25    Response DeleteResourceFromGroup(long clientGroupId, long resourceId);
26    [OperationContract]
27    ResponseList<UpTimeStatistics> GetAllUpTimeStatistics();
28  }
29}
Note: See TracBrowser for help on using the repository browser.