Free cookie consent management tool by TermsFeed Policy Generator

source: branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication/Interfaces/IClientService.cs @ 4802

Last change on this file since 4802 was 4802, checked in by fruehrli, 14 years ago

#1197
Update ClientService

File size: 1.4 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Runtime.Serialization;
5using System.ServiceModel;
6using System.ServiceModel.Web;
7using System.Text;
8using HeuristicLab.Services.Authentication.DataTransfer;
9
10namespace HeuristicLab.Services.Authentication
11{
12    [ServiceContract]
13    public interface IClientService
14    {
15        #region Client Methods
16        [OperationContract]
17        Client GetClient(Guid id);
18        [OperationContract]
19        IEnumerable<Client> GetClients();
20        [OperationContract]
21        Guid AddClient(Client dto);
22        [OperationContract]
23        bool UpdateClient(Client dto);
24        [OperationContract]
25        bool DeleteClient(Client dto);
26        #endregion
27
28        #region ResourceGroup Methods
29        [OperationContract]
30        ResourceGroup GetResourceGroup(Guid id);
31        [OperationContract]
32        IEnumerable<ResourceGroup> GetResourceGroups();
33        [OperationContract]
34        Guid AddResourceGroup(ResourceGroup dto);
35        [OperationContract]
36        bool UpdateResourceGroup(ResourceGroup dto);
37        [OperationContract]
38        bool DeleteResourceGroup(ResourceGroup id);
39        #endregion
40
41        #region Additional Methods
42        [OperationContract]
43        IEnumerable<Resource> GetMembers(Guid id);
44        [OperationContract]
45        IEnumerable<Resource> GetRootResources();
46        #endregion
47    }
48}
Note: See TracBrowser for help on using the repository browser.