org.appfuse.persistence
Interface SkillDAO

All Superinterfaces:
DAO
All Known Implementing Classes:
SkillDAOHibernate

public interface SkillDAO
extends DAO

Skill Data Access Object (DAO) interface.


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.
 

Method Detail

getResumeSkills

public List getResumeSkills(Long resumeId)
                     throws DAOException
Gets a list of resume skills based on a resumeId

Parameters:
resumeId -
Returns:
List of resume's skills
Throws:
Exception
DAOException

getResumeSkill

public ResumeSkill getResumeSkill(Long skillId)
                           throws DAOException
Gets a resumeSkill based on a skill's id

Parameters:
skillId -
Returns:
Skill
Throws:
Exception
DAOException

saveResumeSkill

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

Parameters:
skill - the skill persistable object
Throws:
Exception
DAOException

removeResumeSkill

public void removeResumeSkill(ResumeSkill skill)
                       throws DAOException
Deletes a skill.

Parameters:
skill -
Throws:
Exception
DAOException


Copyright © 2002-2004