using System.Collections.Generic; using DTS.Common.Base; using DTS.Common.Interface.Groups.GroupTemplateList; using DTS.Common.Interface.Pagination; namespace DTS.Common.Interface.Groups.GroupList { public interface IGroupListViewModel : IBaseViewModel, IFilterableListView { IGroupListView View { get; set; } void Unset(); void Sort(object o, bool columnClick); IGroup [] Groups { get; set; } void OnSetActive(object page, bool groupTile, object currentUser); void MouseDoubleClick(int index); void Filter(string term); IGroup GetGroup(int? id, bool updateTags = true); IGroup GetGroup(string displayName); IGroup [] GetGroups(int[] ids); IGroup[] GetAllGroups(); void DeleteGroups(int[] ids); IGroup CreateGroup(); IGroup CreateGroup(List includedHardwareStringList); IGroup CreateGroup(System.Data.SqlClient.SqlDataReader reader, List includedHardwareStringList, List dasIdList); IGroup CreateGroup(IGroupDbRecord groupRecord, List includedHardwareStringList, List dasIdList); } }