IAnnouncementServices.cs 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMIS.ViewModel.SystemView;
  6. using EMIS.ViewModel;
  7. using System.ServiceModel;
  8. using System.ServiceModel.Web;
  9. using EMIS.Entities;
  10. namespace EMIS.CommonLogic.SystemServices
  11. {
  12. public interface IAnnouncementServices
  13. {
  14. Bowin.Common.Linq.Entity.IGridResultSet<AnnouncementTypeView> GetAnnouncementTypeViewList(ConfiguretView configuretView, int pageIndex, int pageSize);
  15. IList<AnnouncementTypeView> GetUsableAnnouncementTypeViewList();
  16. IList<AnnouncementTypeView> GetAnnouncementTypeViewHaveSourseList();
  17. Bowin.Common.Linq.Entity.IGridResultSet<AnnouncementView> GetAnnouncementViewList(ConfiguretView configuretView, int pageIndex, int pageSize, Guid? typeID = null);
  18. AnnouncementTypeView GetAnnouncementTypeViewInfo(Guid? announcementTypeID);
  19. AnnouncementView GetAnnouncementViewInfo(Guid? announcementID);
  20. void SaveType(AnnouncementTypeView announcementType);
  21. Sys_Announcement Save(AnnouncementView announcement, IList<Guid?> roleIDList , List<Guid?> userIDList);
  22. Sys_Announcement UserAnnouncementSave(AnnouncementView announcement, List<Guid?> userIDList);
  23. void DeleteType(IList<Guid?> announcementTypeID);
  24. void Delete(IList<Guid?> announcementID);
  25. IList<RoleView> GetAnnouncementRoleViewList(Guid announcementID);
  26. Bowin.Common.Linq.Entity.IGridResultSet<AnnouncementView> GetUserAnnouncementView(Guid userID, int pageIndex, int pageSize, Guid? type = null);
  27. IList<StudentUserView> GetAnnouncementUserViewList(Guid announcementID);
  28. void SetTop(List<Guid?> announcementIDList, bool? isTop);
  29. bool CheckAnnouncementID(string announcementID);
  30. }
  31. }