|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.orm.hibernate.support.HibernateDaoSupport
org.appfuse.persistence.hibernate.ResumeDAOHibernate
| Field Summary |
| Fields inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
logger |
| Constructor Summary | |
ResumeDAOHibernate()
|
|
| Method Summary | |
Education |
getEducation(Long id)
Gets a specific education experience based on its id. |
Experience |
getExperience(Long id)
Gets a specific work experience based on its id. |
Membership |
getMembership(Long id)
Gets a specific membership based on its id. |
List |
getMemberships(Long resumeId)
Gets a list of memberships based on the passed in resumeId. |
Reference |
getReference(Long id)
Gets a specific reference based on its id. |
List |
getReferences(Long resumeId)
Gets a list of references based on the passed in resumeId. |
Resume |
getResume(Long id)
Gets a resume based on a resume's id |
List |
getResumesByUserId(Long userId)
Get resume by name, create new one if necessary. |
List |
getSchools(Long resumeId)
Gets a list of education experiences based on the passed in resumeId. |
List |
getWorkHistory(Long resumeId)
Gets a list of work experiences based on the passed in resumeId. |
void |
removeObject(Object o)
Generic method to delete an object |
void |
removeResume(Object o)
Deletes a resume. |
Object |
saveObject(Object o)
Generic method to save an object - handles both update and insert. |
| 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 |
public ResumeDAOHibernate()
| Method Detail |
public List getResumesByUserId(Long userId)
throws DAOException
getResumesByUserId in interface ResumeDAOuserId - the current user's id
DAOException
public Resume getResume(Long id)
throws DAOException
ResumeDAO
getResume in interface ResumeDAOid -
DAOExceptionResumeDAO.getResume(java.lang.Long)
public Object saveObject(Object o)
throws DAOException
ResumeDAO
saveObject in interface ResumeDAOo - the object to save
DAOExceptionResumeDAO.saveObject(java.lang.Object)
public void removeObject(Object o)
throws Exception
ResumeDAO
removeObject in interface ResumeDAOo - the object to delete
ExceptionResumeDAO.removeObject(java.lang.Object)
public void removeResume(Object o)
throws DAOException
ResumeDAO
removeResume in interface ResumeDAOo - the object to remove
DAOExceptionResumeDAO.removeResume(java.lang.Object)
public Education getEducation(Long id)
throws DAOException
ResumeDAO
getEducation in interface ResumeDAOid -
DAOExceptionResumeDAO.getEducation(java.lang.Long)
public List getSchools(Long resumeId)
throws DAOException
ResumeDAO
getSchools in interface ResumeDAOresumeId -
DAOExceptionResumeDAO.getSchools(java.lang.Long)
public Experience getExperience(Long id)
throws DAOException
ResumeDAO
getExperience in interface ResumeDAOid -
DAOExceptionResumeDAO.getExperience(java.lang.Long)
public List getWorkHistory(Long resumeId)
throws DAOException
ResumeDAO
getWorkHistory in interface ResumeDAOresumeId -
DAOExceptionResumeDAO.getWorkHistory(java.lang.Long)
public List getReferences(Long resumeId)
throws DAOException
ResumeDAO
getReferences in interface ResumeDAOresumeId -
DAOExceptionResumeDAO.getReferences(java.lang.Long)
public Reference getReference(Long id)
throws DAOException
ResumeDAO
getReference in interface ResumeDAOid -
DAOExceptionResumeDAO.getReference(java.lang.Long)
public List getMemberships(Long resumeId)
throws DAOException
ResumeDAO
getMemberships in interface ResumeDAOresumeId -
DAOExceptionResumeDAO.getMemberships(java.lang.Long)
public Membership getMembership(Long id)
throws DAOException
ResumeDAO
getMembership in interface ResumeDAOid -
DAOExceptionResumeDAO.getMembership(java.lang.Long)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||