IRoleServices.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMIS.ViewModel;
  6. using EMIS.ViewModel.SystemView;
  7. namespace EMIS.CommonLogic.SystemServices
  8. {
  9. public interface IRoleServices
  10. {
  11. Bowin.Common.Linq.Entity.IGridResultSet<RoleView> GetRoleViewList(ConfiguretView roleView, int? dataRange, int pageIndex, int pageSize);
  12. IList<RoleView> GetRoleViewList(ConfiguretView roleView, int? dataRange);
  13. Bowin.Common.Linq.Entity.IGridResultSet<RoleView> GetStudentRoleViewList(int pageIndex, int pageSize);
  14. IList<RoleView> GetStudentRoleViewList();
  15. IList<RoleView> GetEnabledTeacherRoleViewList();
  16. IList<RoleView> GetEnabledRoleViewList();
  17. RoleView GetRoleViewInfo(Guid? roleID);
  18. void Save(RoleView role);
  19. void Delete(IList<Guid?> roleID);
  20. IList<RoleDataRangeView> GetRoleDataRange(Guid roleID);
  21. void SaveDataRange(Guid roleID, IList<RoleDataRangeView> dataRangeList);
  22. void StudentVerification(Guid roleID, int studentTypeID, string roleName);
  23. int GetDataRange();
  24. Guid? GetLoginCollegeID(int DataRange,Guid UserID);
  25. Guid? GetLoginClassmajorID(int DataRange, Guid UserID);
  26. Guid? GetLoginCampusID(int DataRange, Guid UserID);
  27. List<Guid?> GetRoleUserIDList(IList<Guid?> roleIDList);
  28. }
  29. }