Class GetJobProfiles

java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.GetJobProfiles

public class GetJobProfiles extends DAO
A Data Access Object to read Job applications and profiles from the database.
Since:
3.4
Version:
9.0
Author:
Luke
  • Constructor Details

    • GetJobProfiles

      public GetJobProfiles(Connection c)
      Initializes the Data Access Object
      Parameters:
      c - the JDBC connection to use
  • Method Details

    • getProfile

      public Profile getProfile(int id) throws DAOException
      Loads an applicant profile.
      Parameters:
      id - the auhtor ID
      Returns:
      a Profile bean, or null if not found
      Throws:
      DAOException - if a JDBC error occurs
    • getProfiles

      public Collection<Profile> getProfiles() throws DAOException
      Loads all applicant profile.
      Returns:
      a Collection of Profile beans
      Throws:
      DAOException - if a JDBC error occurs