using System; using System.Collections.Generic; using System.Linq; using System.Text; using EMIS.ViewModel; using EMIS.ViewModel.SystemView; namespace EMIS.CommonLogic.SystemServices { public interface IRoleServices { Bowin.Common.Linq.Entity.IGridResultSet GetRoleViewList(ConfiguretView roleView, int? dataRange, int pageIndex, int pageSize); IList GetRoleViewList(ConfiguretView roleView, int? dataRange); Bowin.Common.Linq.Entity.IGridResultSet GetStudentRoleViewList(int pageIndex, int pageSize); IList GetStudentRoleViewList(); IList GetEnabledTeacherRoleViewList(); IList GetEnabledRoleViewList(); RoleView GetRoleViewInfo(Guid? roleID); void Save(RoleView role); void Delete(IList roleID); IList GetRoleDataRange(Guid roleID); void SaveDataRange(Guid roleID, IList dataRangeList); void StudentVerification(Guid roleID, int studentTypeID, string roleName); int GetDataRange(); Guid? GetLoginCollegeID(int DataRange,Guid UserID); Guid? GetLoginClassmajorID(int DataRange, Guid UserID); Guid? GetLoginCampusID(int DataRange, Guid UserID); } }