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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addPlanCourse(PlanCourse planCourse, CoursePlan plan)
    添加培养计划中的课程
    如果所在组是必修,并且自己是必修则
    1.重算课程组学分
    2.重算完课程组学分后,级联重算整个父课程组树学分
    3.重算计划的总学分
    如果组非必修,或自己不是必修则不重算课程组学分
     
    void
    删除培养计划中的课程
    如果所在组是必修,并且自己是必修则
    1.重算课程组学分
    2.重算完课程组学分后,级联重算整个父课程组树学分
    3.重算计划的总学分
    如果组非必修,或自己不是必修则不重算课程组学分
    void
     
    void
     
    void
    更新培养计划中的课程
    如果所在组是必修,并且自己是必修则
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PlanCourseCommonDaoHibernate

      public PlanCourseCommonDaoHibernate()
  • Method Details

    • addPlanCourse

      public void addPlanCourse(PlanCourse planCourse, CoursePlan plan)
      Description copied from interface: PlanCourseCommonDao
      添加培养计划中的课程
      如果所在组是必修,并且自己是必修则
      1.重算课程组学分
      2.重算完课程组学分后,级联重算整个父课程组树学分
      3.重算计划的总学分
      如果组非必修,或自己不是必修则不重算课程组学分
      Specified by:
      addPlanCourse in interface PlanCourseCommonDao
    • removePlanCourse

      public void removePlanCourse(PlanCourse planCourse, CoursePlan plan)
      Description copied from interface: PlanCourseCommonDao
      删除培养计划中的课程
      如果所在组是必修,并且自己是必修则
      1.重算课程组学分
      2.重算完课程组学分后,级联重算整个父课程组树学分
      3.重算计划的总学分
      如果组非必修,或自己不是必修则不重算课程组学分
      Specified by:
      removePlanCourse in interface PlanCourseCommonDao
    • updatePlanCourse

      public void updatePlanCourse(PlanCourse planCourse, CoursePlan plan)
      Description copied from interface: PlanCourseCommonDao
      更新培养计划中的课程
      如果所在组是必修,并且自己是必修则
      1.重算课程组学分
      2.重算完课程组学分后,级联重算整个父课程组树学分
      3.重算计划的总学分
      如果组非必修,或自己不是必修则不重算课程组学分
      Specified by:
      updatePlanCourse in interface PlanCourseCommonDao
    • getExecutionPlanCourseByCourse

      public ExecutionPlanCourse getExecutionPlanCourseByCourse(ExecutionPlan executePlan, Course course)
      Specified by:
      getExecutionPlanCourseByCourse in interface PlanCourseCommonDao
    • setPlanCourseGroupCommonDao

      public void setPlanCourseGroupCommonDao(PlanCourseGroupCommonDao planCourseGroupCommonDao)
    • setPlanCommonDao

      public void setPlanCommonDao(PlanCommonDao planCommonDao)