com.germinus.merlin.dao
Class CourseDaoJpa
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
com.germinus.merlin.dao.GenericDaoHibernate<Course,java.io.Serializable>
com.germinus.merlin.dao.CourseDaoJpa
- All Implemented Interfaces:
- ICourseDao, IGenericDao<Course,java.io.Serializable>, org.springframework.beans.factory.InitializingBean
public class CourseDaoJpa
- extends GenericDaoHibernate<Course,java.io.Serializable>
- implements ICourseDao
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport |
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CourseDaoJpa
public CourseDaoJpa(java.lang.Class<Course> persistentClass)
getCourseByName
public Course getCourseByName(java.lang.String coursename)
- Description copied from interface:
ICourseDao
- Gets role information based on rolename
- Specified by:
getCourseByName
in interface ICourseDao
- Returns:
- populated role object
removeCourse
public void removeCourse(long groupId)
- Description copied from interface:
ICourseDao
- Removes a role from the database by name
- Specified by:
removeCourse
in interface ICourseDao
removeAssignment
public void removeAssignment(long assignmentid)
- Specified by:
removeAssignment
in interface ICourseDao
deleteObject
public void deleteObject(java.lang.Object object)
- Specified by:
deleteObject
in interface ICourseDao
update
public void update(java.lang.Object obj)
- Specified by:
update
in interface ICourseDao
Copyright © 2008. All Rights Reserved.