类 PlanCommonDaoHibernate
java.lang.Object
org.beangle.orm.hibernate.HibernateEntityDao
org.openurp.edu.program.plan.dao.impl.PlanCommonDaoHibernate
- 所有已实现的接口:
org.beangle.commons.dao.EntityDao,PlanCommonDao
public class PlanCommonDaoHibernate
extends org.beangle.orm.hibernate.HibernateEntityDao
implements PlanCommonDao
-
嵌套类概要
从类继承的嵌套类/接口 org.beangle.orm.hibernate.HibernateEntityDao
org.beangle.orm.hibernate.HibernateEntityDao.QuerySupport -
字段概要
从类继承的字段 org.beangle.orm.hibernate.HibernateEntityDao
logger, modelMeta, sessionFactory -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getCreditByTerm(ExecutionPlan plan, int term) 查找对于固定学期培养计划中要求的学分值.getDuplicatePrograms(Program program) 列出某个培养计划还未使用的课程类别getUsedCourseTypes(CoursePlan plan) 列出某个培养计划所使用的课程类别booleanhasCourse(CourseGroup cgroup, Course course) booleanhasCourse(CourseGroup cgroup, Course course, PlanCourse planCourse) booleanisDuplicate(Program program) final voidremovePlan(CoursePlan plan) 删除一个计划,这个计划可能是专业计划也可能是个人计划final voidsaveOrUpdatePlan(CoursePlan plan) 保存或更新计划
调用saveSettingprotected voidsaveSetting(CoursePlan plan) 用于在保存的时候对Plan的属性进行一些设置,可以重载这个方法以提供额外的设置voidsetCodeService(CodeService codeService) floatstatPlanCredits(CoursePlan plan) 统计计划的总学分,总学分的值来自于顶级课程组的学分的累加,不保存,不采用递归统计
不递归统计的原因是,程序完全信赖计划中各个层级的课程组的学分要求的正确性从类继承的方法 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
-
构造器详细资料
-
PlanCommonDaoHibernate
public PlanCommonDaoHibernate()
-
-
方法详细资料
-
removePlan
从接口复制的说明:PlanCommonDao删除一个计划,这个计划可能是专业计划也可能是个人计划- 指定者:
removePlan在接口中PlanCommonDao
-
saveOrUpdatePlan
从接口复制的说明:PlanCommonDao保存或更新计划
调用saveSetting- 指定者:
saveOrUpdatePlan在接口中PlanCommonDao
-
saveSetting
用于在保存的时候对Plan的属性进行一些设置,可以重载这个方法以提供额外的设置- 参数:
plan-
-
statPlanCredits
从接口复制的说明:PlanCommonDao统计计划的总学分,总学分的值来自于顶级课程组的学分的累加,不保存,不采用递归统计
不递归统计的原因是,程序完全信赖计划中各个层级的课程组的学分要求的正确性- 指定者:
statPlanCredits在接口中PlanCommonDao- 返回:
- 另请参阅:
-
PlanCourseGroupCommonDao.updateGroupTreeCredits
-
hasCourse
- 指定者:
hasCourse在接口中PlanCommonDao
-
hasCourse
- 指定者:
hasCourse在接口中PlanCommonDao
-
getUsedCourseTypes
从接口复制的说明:PlanCommonDao列出某个培养计划所使用的课程类别- 指定者:
getUsedCourseTypes在接口中PlanCommonDao- 返回:
-
getUnusedCourseTypes
从接口复制的说明:PlanCommonDao列出某个培养计划还未使用的课程类别- 指定者:
getUnusedCourseTypes在接口中PlanCommonDao- 返回:
-
getDuplicatePrograms
- 指定者:
getDuplicatePrograms在接口中PlanCommonDao
-
isDuplicate
- 指定者:
isDuplicate在接口中PlanCommonDao
-
getCreditByTerm
从接口复制的说明:PlanCommonDao查找对于固定学期培养计划中要求的学分值.- 指定者:
getCreditByTerm在接口中PlanCommonDaoterm- [1..maxTerm]- 返回:
-
setCodeService
-