Rev | Line | |
---|
[792] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Linq;
|
---|
| 4 | using System.Text;
|
---|
| 5 | using System.ServiceModel;
|
---|
| 6 | using HeuristicLab.Hive.Contracts.BusinessObjects;
|
---|
| 7 |
|
---|
| 8 | namespace HeuristicLab.Hive.Contracts.Interfaces {
|
---|
| 9 | /// <summary>
|
---|
| 10 | /// This is the facade for the User/Role Manager used by the Management Console
|
---|
| 11 | /// </summary>
|
---|
| 12 | [ServiceContract]
|
---|
[796] | 13 | public interface IUserRoleManager {
|
---|
[792] | 14 | [OperationContract]
|
---|
[902] | 15 | ResponseList<User> GetAllUsers();
|
---|
[792] | 16 | [OperationContract]
|
---|
[952] | 17 | ResponseObject<User> AddNewUser(User user);
|
---|
[842] | 18 | [OperationContract]
|
---|
[902] | 19 | Response RemoveUser(long userId);
|
---|
| 20 | [OperationContract]
|
---|
[952] | 21 | ResponseObject<UserGroup> AddNewUserGroup(UserGroup userGroup);
|
---|
[902] | 22 | [OperationContract]
|
---|
| 23 | Response RemoveUserGroup(long groupId);
|
---|
| 24 | [OperationContract]
|
---|
[955] | 25 | [ServiceKnownType(typeof(PermissionOwner))]
|
---|
| 26 | [ServiceKnownType(typeof(User))]
|
---|
[902] | 27 | ResponseList<UserGroup> GetAllUserGroups();
|
---|
| 28 | [OperationContract]
|
---|
[945] | 29 | Response AddUserToGroup(long groupId, long userId);
|
---|
[902] | 30 | [OperationContract]
|
---|
[945] | 31 | Response AddUserGroupToGroup(long groupId, long groupToAddId);
|
---|
| 32 | [OperationContract]
|
---|
[934] | 33 | Response RemovePermissionOwnerFromGroup(long groupId, long userId);
|
---|
[792] | 34 | }
|
---|
| 35 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.