Class PlanCommonDaoHibernate

java.lang.Object
org.beangle.orm.hibernate.HibernateEntityDao
org.openurp.edu.program.plan.dao.impl.PlanCommonDaoHibernate
All Implemented Interfaces:
org.beangle.commons.dao.EntityDao, PlanCommonDao

public class PlanCommonDaoHibernate extends org.beangle.orm.hibernate.HibernateEntityDao implements PlanCommonDao
  • 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
    getCreditByTerm(ExecutionPlan plan, int term)
    查找对于固定学期培养计划中要求的学分值.
     
    列出某个培养计划还未使用的课程类别
    列出某个培养计划所使用的课程类别
    boolean
    hasCourse(CourseGroup cgroup, Course course)
     
    boolean
    hasCourse(CourseGroup cgroup, Course course, PlanCourse planCourse)
     
    boolean
     
    final void
    删除一个计划,这个计划可能是专业计划也可能是个人计划
    final void
    保存或更新计划
    调用saveSetting
    protected void
    用于在保存的时候对Plan的属性进行一些设置,可以重载这个方法以提供额外的设置
    void
     
    float
    统计计划的总学分,总学分的值来自于顶级课程组的学分的累加,不保存,不采用递归统计
    不递归统计的原因是,程序完全信赖计划中各个层级的课程组的学分要求的正确性

    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