org.appfuse.persistence.hibernate
Class SkillDAOHibernate

java.lang.Object
  extended byorg.springframework.orm.hibernate.support.HibernateDaoSupport
      extended byorg.appfuse.persistence.hibernate.SkillDAOHibernate
All Implemented Interfaces:
DAO, InitializingBean, SkillDAO

public class SkillDAOHibernate
extends HibernateDaoSupport
implements SkillDAO


Field Summary
 
Fields inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport
logger
 
Constructor Summary
SkillDAOHibernate()
           
 
Method Summary
 ResumeSkill getResumeSkill(Long skillId)
          Gets a resumeSkill based on a skill's id
 List getResumeSkills(Long resumeId)
          Gets a list of resume skills based on a resumeId
 void removeResumeSkill(ResumeSkill skill)
          Deletes a skill.
 ResumeSkill saveResumeSkill(ResumeSkill skill)
          Saves a skill's information.
 
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport
afterPropertiesSet, closeSessionIfNecessary, convertHibernateAccessException, getHibernateTemplate, getSession, getSession, getSessionFactory, initDao, setHibernateTemplate, setSessionFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SkillDAOHibernate

public SkillDAOHibernate()
Method Detail

getResumeSkill

public ResumeSkill getResumeSkill(Long skillId)
                           throws DAOException
Description copied from interface: SkillDAO
Gets a resumeSkill based on a skill's id

Specified by:
getResumeSkill in interface SkillDAO
Parameters:
skillId -
Returns:
Skill
Throws:
DAOException
See Also:
SkillDAO.getResumeSkill(java.lang.Long)

getResumeSkills

public List getResumeSkills(Long resumeId)
                     throws DAOException
Description copied from interface: SkillDAO
Gets a list of resume skills based on a resumeId

Specified by:
getResumeSkills in interface SkillDAO
Parameters:
resumeId -
Returns:
List of resume's skills
Throws:
DAOException
See Also:
SkillDAO.getResumeSkills(java.lang.Long)

removeResumeSkill

public void removeResumeSkill(ResumeSkill skill)
                       throws DAOException
Description copied from interface: SkillDAO
Deletes a skill.

Specified by:
removeResumeSkill in interface SkillDAO
Parameters:
skill -
Throws:
DAOException
See Also:
SkillDAO.removeResumeSkill(org.appfuse.model.ResumeSkill)

saveResumeSkill

public ResumeSkill saveResumeSkill(ResumeSkill skill)
                            throws DAOException
Description copied from interface: SkillDAO
Saves a skill's information. This method is used for both adding and for saving a skill object.

Specified by:
saveResumeSkill in interface SkillDAO
Parameters:
skill - the skill persistable object
Throws:
DAOException
See Also:
SkillDAO.saveResumeSkill(org.appfuse.model.ResumeSkill)


Copyright © 2002-2004