Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/16/08 17:26:43 (16 years ago)
Author:
svonolfe
Message:

Refactored DAL, Improved Caching (#372)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.Core/InternalInterfaces/DataAccess/IUserGroupAdapter.cs

    r971 r995  
    3030  /// The user group database adapter
    3131  /// </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> {
    4633    /// <summary>
    4734    /// Get the user group with the specified name
     
    4936    /// <param name="clientId"></param>
    5037    /// <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);
    5839
    5940    /// <summary>
     
    6344    /// <returns></returns>
    6445    ICollection<UserGroup> MemberOf(PermissionOwner permOwner);
    65 
    66     /// <summary>
    67     /// Deletes the user group
    68     /// </summary>
    69     /// <param name="client"></param>
    70     bool DeleteUserGroup(UserGroup group);
    7146  }
    7247}
Note: See TracChangeset for help on using the changeset viewer.