Class ClazzPlanRelationHibernateDao
java.lang.Object
org.beangle.orm.hibernate.HibernateEntityDao
org.openurp.edu.clazz.dao.hibernate.internal.ClazzPlanRelationHibernateDao
- All Implemented Interfaces:
org.beangle.commons.dao.EntityDao,ClazzPlanRelationDao
public class ClazzPlanRelationHibernateDao
extends org.beangle.orm.hibernate.HibernateEntityDao
implements ClazzPlanRelationDao
-
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 TypeMethodDescriptionpossibleRelatePlans(Clazz clazz) 可能会和这个课程有关联的培养计划(也就是说不是直接查询数据库中已有的关联关系)relatedClazzes(ExecutionPlan plan) 获得和计划关联的教学任务relatedClazzes(ExecutionPlan plan, Semester semester) 获得和计划关联的教学任务relatedPlans(Clazz clazz) 获得和教学任务关联的培养计划获得某个教学任务关联的ClazzPlanRelationrelations(ExecutionPlan plan) 获得某个专业培养计划关联的ClazzPlanRelationrelations(ExecutionPlan plan, Semester semester) 获得某个专业培养计划关联的某个学期的ClazzPlanRelationvoidremoveRelation(Clazz clazz) 删除和本教学任务有关的ClazzPlanRelation,一般配合教学任务删除使用voidremoveRelation(ExecutionPlan plan, Semester semester) 删除某个学期的,某个培养计划的所有ClazzPlanRelationvoidsaveRelation(ExecutionPlan plan, Clazz clazz) 不应该在其他地方使用
直接把教学任务和专业计划关联,这个只在生成任务的时候用voidsetCourseLimitService(CourseLimitService courseLimitService) voidupdateRelation(Clazz clazz) 自动根据教学任务的CourseLimit属性,匹配和本任务相关的培养计划,并且关联之
不论是save/update教学任务的时候都应该使用这个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
-
ClazzPlanRelationHibernateDao
public ClazzPlanRelationHibernateDao()
-
-
Method Details
-
possibleRelatePlans
Description copied from interface:ClazzPlanRelationDao可能会和这个课程有关联的培养计划(也就是说不是直接查询数据库中已有的关联关系)- Specified by:
possibleRelatePlansin interfaceClazzPlanRelationDao- Returns:
-
relations
Description copied from interface:ClazzPlanRelationDao获得某个教学任务关联的ClazzPlanRelation- Specified by:
relationsin interfaceClazzPlanRelationDao- Returns:
-
relations
Description copied from interface:ClazzPlanRelationDao获得某个专业培养计划关联的ClazzPlanRelation- Specified by:
relationsin interfaceClazzPlanRelationDao- Returns:
-
relations
Description copied from interface:ClazzPlanRelationDao获得某个专业培养计划关联的某个学期的ClazzPlanRelation- Specified by:
relationsin interfaceClazzPlanRelationDao- Returns:
-
saveRelation
Description copied from interface:ClazzPlanRelationDao不应该在其他地方使用
直接把教学任务和专业计划关联,这个只在生成任务的时候用- Specified by:
saveRelationin interfaceClazzPlanRelationDao
-
removeRelation
Description copied from interface:ClazzPlanRelationDao删除和本教学任务有关的ClazzPlanRelation,一般配合教学任务删除使用- Specified by:
removeRelationin interfaceClazzPlanRelationDao
-
removeRelation
Description copied from interface:ClazzPlanRelationDao删除某个学期的,某个培养计划的所有ClazzPlanRelation- Specified by:
removeRelationin interfaceClazzPlanRelationDao
-
updateRelation
Description copied from interface:ClazzPlanRelationDao自动根据教学任务的CourseLimit属性,匹配和本任务相关的培养计划,并且关联之
不论是save/update教学任务的时候都应该使用这个- Specified by:
updateRelationin interfaceClazzPlanRelationDao
-
setCourseLimitService