- Timestamp:
- 12/16/08 17:26:43 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Hive.Server.Core/InternalInterfaces/DataAccess
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/sources/HeuristicLab.Hive.Server.Core/InternalInterfaces/DataAccess/IClientAdapter.cs ¶
r971 r995 30 30 /// The client database adapter 31 31 /// </summary> 32 public interface IClientAdapter { 33 /// <summary> 34 /// Save or update the client 35 /// </summary> 36 /// <param name="client"></param> 37 void UpdateClient(ClientInfo client); 38 39 /// <summary> 40 /// Get the client with the specified ID 41 /// </summary> 42 /// <param name="clientId"></param> 43 /// <returns></returns> 44 ClientInfo GetClientById(Guid clientId); 45 32 public interface IClientAdapter : IDataAdapter<ClientInfo> { 46 33 /// <summary> 47 34 /// Get the client with the specified name … … 49 36 /// <param name="clientId"></param> 50 37 /// <returns></returns> 51 ClientInfo Get ClientByName(string name);38 ClientInfo GetByName(string name); 52 39 53 40 /// <summary> 54 /// Get the client with the specified ID41 /// Get the client with the specified id 55 42 /// </summary> 56 43 /// <param name="clientId"></param> 57 44 /// <returns></returns> 58 ClientInfo GetClientById(long id); 59 60 /// <summary> 61 /// Get all clients 62 /// </summary> 63 /// <returns></returns> 64 ICollection<ClientInfo> GetAllClients(); 65 66 /// <summary> 67 /// Deletes the client 68 /// </summary> 69 /// <param name="client"></param> 70 bool DeleteClient(ClientInfo client); 45 ClientInfo GetById(Guid id); 71 46 } 72 47 } -
TabularUnified trunk/sources/HeuristicLab.Hive.Server.Core/InternalInterfaces/DataAccess/IClientGroupAdapter.cs ¶
r971 r995 30 30 /// The client group database adapter 31 31 /// </summary> 32 public interface IClientGroupAdapter { 33 /// <summary> 34 /// Save or update the client group 35 /// </summary> 36 /// <param name="client"></param> 37 void UpdateClientGroup(ClientGroup group); 38 39 /// <summary> 40 /// Get the client group with the specified ID 41 /// </summary> 42 /// <param name="clientId"></param> 43 /// <returns></returns> 44 ClientGroup GetClientGroupById(long clientGroupId); 45 32 public interface IClientGroupAdapter: IDataAdapter<ClientGroup> { 46 33 /// <summary> 47 34 /// Get the client group with the specified name … … 49 36 /// <param name="clientId"></param> 50 37 /// <returns></returns> 51 ClientGroup GetClientGroupByName(string name); 52 53 /// <summary> 54 /// Get all client groups 55 /// </summary> 56 /// <returns></returns> 57 ICollection<ClientGroup> GetAllClientGroups(); 38 ClientGroup GetByName(string name); 58 39 59 40 /// <summary> … … 63 44 /// <returns></returns> 64 45 ICollection<ClientGroup> MemberOf(Resource resource); 65 66 /// <summary>67 /// Deletes the client group68 /// </summary>69 /// <param name="client"></param>70 bool DeleteClientGroup(ClientGroup group);71 46 } 72 47 } -
TabularUnified trunk/sources/HeuristicLab.Hive.Server.Core/InternalInterfaces/DataAccess/IJobAdapter.cs ¶
r971 r995 27 27 28 28 namespace HeuristicLab.Hive.Server.Core.InternalInterfaces.DataAccess { 29 public interface IJobAdapter { 30 /// <summary> 31 /// Save or update the job 32 /// </summary> 33 /// <param name="client"></param> 34 void UpdateJob(Job job); 35 36 /// <summary> 37 /// Get the job with the specified ID 38 /// </summary> 39 /// <param name="clientId"></param> 40 /// <returns></returns> 41 Job GetJobById(long id); 42 43 /// <summary> 44 /// Get all jobs 45 /// </summary> 46 /// <returns></returns> 47 ICollection<Job> GetAllJobs(); 48 29 public interface IJobAdapter: IDataAdapter<Job> { 49 30 /// <summary> 50 31 /// Gets all subjobs of the specified job … … 73 54 /// <returns></returns> 74 55 ICollection<Job> GetJobsOf(User user); 75 76 /// <summary>77 /// Deletes the job78 /// </summary>79 /// <param name="client"></param>80 bool DeleteJob(Job job);81 56 } 82 57 } -
TabularUnified trunk/sources/HeuristicLab.Hive.Server.Core/InternalInterfaces/DataAccess/IPermissionOwnerAdapter.cs ¶
r925 r995 30 30 /// The permission owner database adapter 31 31 /// </summary> 32 public interface IPermissionOwnerAdapter { 33 /// <summary> 34 /// Save or update the permission owner 35 /// </summary> 36 /// <param name="client"></param> 37 void UpdatePermissionOwner(PermissionOwner permOwner); 38 32 public interface IPermissionOwnerAdapter: IDataAdapter<PermissionOwner> { 39 33 /// <summary> 40 34 /// Gets the permission owner and updates the values of the object … … 42 36 /// <param name="resource"></param> 43 37 /// <returns></returns> 44 bool GetPermissionOwnerById(PermissionOwner permOwner); 45 46 /// <summary> 47 /// Get the permission owner with the specified ID 48 /// </summary> 49 /// <param name="clientId"></param> 50 /// <returns></returns> 51 PermissionOwner GetPermissionOwnerById(long permOwnerId); 38 bool GetById(PermissionOwner permOwner); 52 39 53 40 /// <summary> … … 56 43 /// <param name="clientId"></param> 57 44 /// <returns></returns> 58 PermissionOwner GetPermissionOwnerByName(String name); 59 60 /// <summary> 61 /// Get all permission owners 62 /// </summary> 63 /// <returns></returns> 64 ICollection<PermissionOwner> GetAllPermissionOwners(); 65 66 /// <summary> 67 /// Deletes the permission owner 68 /// </summary> 69 /// <param name="permOwner"></param> 70 bool DeletePermissionOwner(PermissionOwner permOwner); 45 PermissionOwner GetByName(String name); 71 46 } 72 47 } -
TabularUnified trunk/sources/HeuristicLab.Hive.Server.Core/InternalInterfaces/DataAccess/IResourceAdapter.cs ¶
r971 r995 30 30 /// The resource database adapter 31 31 /// </summary> 32 public interface IResourceAdapter {32 public interface IResourceAdapter: IDataAdapter<Resource> { 33 33 /// <summary> 34 /// Save or update the resource34 /// Gets the resource and updates the values of the object 35 35 /// </summary> 36 /// <param name="client"></param> 37 void UpdateResource(Resource resource); 38 39 /// <summary> 40 /// Get the resource with the specified ID 41 /// </summary> 42 /// <param name="clientId"></param> 36 /// <param name="resource"></param> 43 37 /// <returns></returns> 44 Resource GetResourceById(long resourceId);38 bool GetById(Resource resource); 45 39 46 40 /// <summary> … … 49 43 /// <param name="clientId"></param> 50 44 /// <returns></returns> 51 Resource GetResourceByName(string name); 52 53 /// <summary> 54 /// Gets the resource and updates the values of the object 55 /// </summary> 56 /// <param name="resource"></param> 57 /// <returns></returns> 58 bool GetResourceById(Resource resource); 59 60 /// <summary> 61 /// Get all resuorces 62 /// </summary> 63 /// <returns></returns> 64 ICollection<Resource> GetAllResources(); 65 66 /// <summary> 67 /// Deletes the resource 68 /// </summary> 69 /// <param name="client"></param> 70 bool DeleteResource(Resource resource); 45 Resource GetByName(string name); 71 46 } 72 47 } -
TabularUnified trunk/sources/HeuristicLab.Hive.Server.Core/InternalInterfaces/DataAccess/IUserAdapter.cs ¶
r899 r995 30 30 /// The user database adapter 31 31 /// </summary> 32 public interface IUserAdapter { 33 /// <summary> 34 /// Save or update the user 35 /// </summary> 36 /// <param name="user"></param> 37 void UpdateUser(User user); 38 39 /// <summary> 40 /// Get the user with the specified ID 41 /// </summary> 42 /// <param name="userId"></param> 43 /// <returns></returns> 44 User GetUserById(long userId); 45 32 public interface IUserAdapter: IDataAdapter<User> { 46 33 /// <summary> 47 34 /// Get the user with the specified name … … 49 36 /// <param name="userId"></param> 50 37 /// <returns></returns> 51 User GetUserByName(string name); 52 53 /// <summary> 54 /// Get all users 55 /// </summary> 56 /// <returns></returns> 57 ICollection<User> GetAllUsers(); 58 59 /// <summary> 60 /// Deletes the user 61 /// </summary> 62 /// <param name="user"></param> 63 bool DeleteUser(User user); 38 User GetByName(string name); 64 39 } 65 40 } -
TabularUnified trunk/sources/HeuristicLab.Hive.Server.Core/InternalInterfaces/DataAccess/IUserGroupAdapter.cs ¶
r971 r995 30 30 /// The user group database adapter 31 31 /// </summary> 32 public interface IUserGroupAdapter { 33 /// <summary> 34 /// Save or update the user group 35 /// </summary> 36 /// <param name="client"></param> 37 void UpdateUserGroup(UserGroup group); 38 39 /// <summary> 40 /// Get the user group with the specified ID 41 /// </summary> 42 /// <param name="clientId"></param> 43 /// <returns></returns> 44 UserGroup GetUserGroupById(long userGroupId); 45 32 public interface IUserGroupAdapter: IDataAdapter<UserGroup> { 46 33 /// <summary> 47 34 /// Get the user group with the specified name … … 49 36 /// <param name="clientId"></param> 50 37 /// <returns></returns> 51 UserGroup GetUserGroupByName(string name); 52 53 /// <summary> 54 /// Get all user groups 55 /// </summary> 56 /// <returns></returns> 57 ICollection<UserGroup> GetAllUserGroups(); 38 UserGroup GetByName(String name); 58 39 59 40 /// <summary> … … 63 44 /// <returns></returns> 64 45 ICollection<UserGroup> MemberOf(PermissionOwner permOwner); 65 66 /// <summary>67 /// Deletes the user group68 /// </summary>69 /// <param name="client"></param>70 bool DeleteUserGroup(UserGroup group);71 46 } 72 47 }
Note: See TracChangeset
for help on using the changeset viewer.