Class PlanCourseCommonDaoHibernate
java.lang.Object
org.beangle.orm.hibernate.HibernateEntityDao
org.openurp.edu.program.plan.dao.impl.PlanCourseCommonDaoHibernate
- All Implemented Interfaces:
org.beangle.commons.dao.EntityDao,PlanCourseCommonDao
public class PlanCourseCommonDaoHibernate
extends org.beangle.orm.hibernate.HibernateEntityDao
implements PlanCourseCommonDao
-
Nested Class Summary
Nested classes/interfaces inherited from class org.beangle.orm.hibernate.HibernateEntityDao
org.beangle.orm.hibernate.HibernateEntityDao.QuerySupport -
Field Summary
Fields inherited from class org.beangle.orm.hibernate.HibernateEntityDao
logger, modelMeta, sessionFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlanCourse(PlanCourse planCourse, CoursePlan plan) 添加培养计划中的课程
如果所在组是必修,并且自己是必修则
1.重算课程组学分
2.重算完课程组学分后,级联重算整个父课程组树学分
3.重算计划的总学分
如果组非必修,或自己不是必修则不重算课程组学分getExecutivePlanCourseByCourse(ExecutivePlan executePlan, Course course) voidremovePlanCourse(PlanCourse planCourse, CoursePlan plan) 删除培养计划中的课程
如果所在组是必修,并且自己是必修则
1.重算课程组学分
2.重算完课程组学分后,级联重算整个父课程组树学分
3.重算计划的总学分
如果组非必修,或自己不是必修则不重算课程组学分voidsetPlanCommonDao(PlanCommonDao planCommonDao) voidsetPlanCourseGroupCommonDao(PlanCourseGroupCommonDao planCourseGroupCommonDao) voidupdatePlanCourse(PlanCourse planCourse, CoursePlan plan) 更新培养计划中的课程
如果所在组是必修,并且自己是必修则
1.重算课程组学分
2.重算完课程组学分后,级联重算整个父课程组树学分
3.重算计划的总学分
如果组非必修,或自己不是必修则不重算课程组学分Methods inherited from class org.beangle.orm.hibernate.HibernateEntityDao
count, count, count, createBlob, createBlob, createClob, duplicate, duplicate, evict, execute, execute, executeUpdate, executeUpdate, executeUpdateRepeatly, exist, exist, exist, get, get, get, get, get, get, get, get, get, getAll, getSession, initialize, refresh, remove, remove, remove, remove, remove, save, saveOrUpdate, saveOrUpdate, saveOrUpdate, saveOrUpdate, search, search, search, search, search, setModelMeta, setSessionFactory, uniqueResult, update, update
-
Constructor Details
-
PlanCourseCommonDaoHibernate
public PlanCourseCommonDaoHibernate()
-
-
Method Details
-
addPlanCourse
Description copied from interface:PlanCourseCommonDao添加培养计划中的课程
如果所在组是必修,并且自己是必修则
1.重算课程组学分
2.重算完课程组学分后,级联重算整个父课程组树学分
3.重算计划的总学分
如果组非必修,或自己不是必修则不重算课程组学分- Specified by:
addPlanCoursein interfacePlanCourseCommonDao
-
removePlanCourse
Description copied from interface:PlanCourseCommonDao删除培养计划中的课程
如果所在组是必修,并且自己是必修则
1.重算课程组学分
2.重算完课程组学分后,级联重算整个父课程组树学分
3.重算计划的总学分
如果组非必修,或自己不是必修则不重算课程组学分- Specified by:
removePlanCoursein interfacePlanCourseCommonDao
-
updatePlanCourse
Description copied from interface:PlanCourseCommonDao更新培养计划中的课程
如果所在组是必修,并且自己是必修则
1.重算课程组学分
2.重算完课程组学分后,级联重算整个父课程组树学分
3.重算计划的总学分
如果组非必修,或自己不是必修则不重算课程组学分- Specified by:
updatePlanCoursein interfacePlanCourseCommonDao
-
getExecutivePlanCourseByCourse
- Specified by:
getExecutivePlanCourseByCoursein interfacePlanCourseCommonDao
-
setPlanCourseGroupCommonDao
-
setPlanCommonDao
-