package com.qxueyou.scc.school.service; import java.util.Date; import java.util.List; import org.springframework.web.servlet.ModelAndView; import com.qxueyou.scc.admin.classes.model.ClsClass; import com.qxueyou.scc.base.model.Pager; import com.qxueyou.scc.base.model.Result; import com.qxueyou.scc.media.model.MediaVideo; import com.qxueyou.scc.school.model.SchClassSchedule; /** * ¿Î³ÌÏà¹Ø·þÎñ * @author µÂ»¢ * */ public interface ILessonService { /** * Ìí¼ÓÊÓÆµ * @param video * @param lessonId * @return */ Result insertVideo(MediaVideo video,String lessonId, boolean isCopy); /** * »ú¹¹Ö¸¶¨ÊÓÆµ * * **/ Result insertAppointOrgVideo(String videoIds[],String orgIds[],String classIds[]); /** * »ú¹¹Ìí¼ÓÊÓÆµ * @param video * @param lessonId * @return */ Result insertOrgVideo(MediaVideo video,String collegeCourseId, boolean isCopy); /** * ɾ³ýÊÓÆµ * @param videoIds * @return */ Result deleteVideos(String videoIds); /** * ±à¼­ÊÓÆµ * @param video * @return */ Result updateMediaVideo(MediaVideo video); /** * ɾ³ý»ú¹¹ÊÓÆµ * @param videoIds * @return */ Result deleteOrgVideo(String videoId,Integer delAll,String orgIds[],String classIds[]); /** * ¿Î³Ì±íÁбí * @return */ List queryLessonList(Date monthFirst,Date monthLast); /** * ¿Î³Ì±íÁбí * @param classId ¿Î³ÌID * @return */ List queryLessonList(String classId,Date monthFirst,Date monthLast); /** * ²éѯ¿Î³Ì±í¼Ç¼ * @param hql * @param args * @return */ List queryAppLessonList(final String hql, final Pager page, final List args); /** * ¸ù¾Ý * @param orgTeacher * @return */ List queryClassesByTeacher(String orgTeacherId); /** * ·ÖÏí¿Î³ÌÒ³ÃæµÄÈ«²¿¿Î³Ì±í * @param classId * @return */ Result queryScheduleList(String classId,ModelAndView mv,ClsClass cls); /** * ·¢²¼ÊÓÆµ * @param videoId * @return */ Result doStartVideos(String videoIds); /** * Í£ÓÃÊÓÆµ * @param videoId * @return */ Result doStopVideos(String videoIds); /** * ¶¨Ê±·¢²¼¡¢Í£Óà */ Result doVideoIssueStop(); /** * µ¥¸ö´¦ÀíÊÓÆµ·¢²¼ÓëÉÏ´« */ Result doSingleVideoIssueStop(String videoId, String operateType); /** * Ìí¼ÓÊÓÆµ£¬²»µ÷ÓÃתÂë */ Result insertVideoSingle(MediaVideo video, String lessonId, boolean isCopy); /** * ¸ù¾ÝÖ±²¥²éѯ½²Ê¦ * * @param orgTeacherId * @return */ List queryClassesByLive(String orgTeacherId); }