org.appfuse.service
Interface ResumeManager

All Known Implementing Classes:
ResumeManagerImpl

public interface ResumeManager

Business Delegate (Proxy) Interface to handle communication between web and persistence layer.

View Source

Version:
$Revision: 1.1 $ $Date: 2004/03/31 13:04:17 $
Author:
Matt Raible

Method Summary
 Object getEducation(String id)
          Gets a specific education experience based on its id.
 Object getExperience(String id)
          Gets a specific work experience based on its id.
 Object getMembership(String id)
          Gets a specific membership based on its id.
 List getMemberships(String resumeId)
          Gets a list of memberships based on the passed in resumeId.
 Object getReference(String id)
          Gets a specific reference based on its id.
 List getReferences(String resumeId)
          Gets a list of references based on the passed in resumeId.
 Object getResume(String resumeId)
          Retrives a single resume object based on a resumeId
 List getResumesForUser(String userId)
          Retrieves resumes based on a userId
 Object getResumeSkill(String id)
          Retrieves a single skill object based on its id
 List getResumeSkills(String resumeId)
          Retrieves multiple skill objects based on a resumeId
 List getSchools(String resumeId)
          Gets a list of education experiences based on the passed in resumeId.
 List getWorkHistory(String resumeId)
          Gets a list of work experiences based on the passed in resumeId.
 void removeObject(Object obj)
          Removes an object from the database by id
 Object saveObject(Object o)
          Generic method to save an object - handles both update and insert.
 Object saveResume(Object resume)
          Saves a resume's information.
 

Method Detail

getResumesForUser

public List getResumesForUser(String userId)
                       throws Exception
Retrieves resumes based on a userId

Parameters:
userId -
Returns:
List of resumes for user
Throws:
Exception

getResume

public Object getResume(String resumeId)
                 throws Exception
Retrives a single resume object based on a resumeId

Parameters:
resumeId -
Returns:
populated Resume object
Throws:
Exception

saveResume

public Object saveResume(Object resume)
                  throws Exception
Saves a resume's information. This method can also be used to add a new resume.

Parameters:
resume - a populated resume object
Returns:
updated resume information
Throws:
Exception

saveObject

public Object saveObject(Object o)
                  throws Exception
Generic method to save an object - handles both update and insert.

Parameters:
o - the object to save
Throws:
Exception

removeObject

public void removeObject(Object obj)
                  throws Exception
Removes an object from the database by id

Parameters:
obj - the object to remove
Throws:
Exception - when something goes wrong

getSchools

public List getSchools(String resumeId)
                throws Exception
Gets a list of education experiences based on the passed in resumeId.

Parameters:
resumeId -
Returns:
Throws:
Exception

getEducation

public Object getEducation(String id)
                    throws Exception
Gets a specific education experience based on its id.

Parameters:
id -
Returns:
Throws:
Exception

getWorkHistory

public List getWorkHistory(String resumeId)
                    throws Exception
Gets a list of work experiences based on the passed in resumeId.

Parameters:
resumeId -
Returns:
Throws:
Exception

getExperience

public Object getExperience(String id)
                     throws Exception
Gets a specific work experience based on its id.

Parameters:
id -
Returns:
Throws:
Exception

getResumeSkill

public Object getResumeSkill(String id)
                      throws Exception
Retrieves a single skill object based on its id

Parameters:
id -
Returns:
populated ResumeSkill object
Throws:
Exception

getResumeSkills

public List getResumeSkills(String resumeId)
                     throws Exception
Retrieves multiple skill objects based on a resumeId

Parameters:
resumeId -
Returns:
List a list of position objects
Throws:
Exception

getReferences

public List getReferences(String resumeId)
                   throws Exception
Gets a list of references based on the passed in resumeId.

Parameters:
resumeId -
Returns:
Throws:
Exception

getReference

public Object getReference(String id)
                    throws Exception
Gets a specific reference based on its id.

Parameters:
id -
Returns:
Throws:
Exception

getMemberships

public List getMemberships(String resumeId)
                    throws Exception
Gets a list of memberships based on the passed in resumeId.

Parameters:
resumeId -
Returns:
Throws:
Exception

getMembership

public Object getMembership(String id)
                     throws Exception
Gets a specific membership based on its id.

Parameters:
id -
Returns:
Throws:
Exception


Copyright © 2002-2004