IQuestionService.java
上传用户:nbxinmin
上传日期:2021-10-09
资源大小:46k
文件大小:1k
源码类别:

Internet/IE编程

开发平台:

Java

  1. package com.xdf.exams.bo;
  2. import java.util.List;
  3. import com.xdf.exams.bean.Question;
  4. import com.xdf.exams.bean.Subject;
  5. public interface IQuestionService {
  6. public List findAllSubjects();
  7. public List findAllSubjects(int pageno,int pagesize);
  8. public int findAllSubjectsnum();
  9. public List findQuestionBySubjects(Long subjectid);
  10. public List findQuestionBySubjects(Long subjectid,int pageno,int pagesize);
  11. public int findQuestionnumBySubjects(Long subjectid);
  12. public void addSubject(Subject sub);
  13. public void deleteSubject(Subject sub);
  14. public void updateSubject(Subject sub);
  15. public Subject findSubject(Long id);
  16. public void addQuestion(Question que,List options);
  17. public void deleteQuestion(Question que);
  18. public void updateQuestion(Question que,List options);
  19. public Question findQuestion(Long id);
  20.  
  21. }