Esempio n. 1
0
 /**
  * Setup
  *
  * @param factory The DAOFactory used to create the DAOs used in this action.
  * @param loggedInMID UAP who is logged in
  */
 public LabProcUAPAction(DAOFactory factory, long loggedInMID) {
   transDAO = factory.getTransactionDAO();
   lpDAO = factory.getLabProcedureDAO();
   this.loggedInMID = loggedInMID;
   validator = new LabProcedureValidator();
   this.factory = factory;
 }
Esempio n. 2
0
 /**
  * Sets up the defaults for the class
  *
  * @param factory factory for creating the defaults.
  * @param loggedInMID person currently logged in
  * @author Andy Meneely
  */
 public AddERespAction(DAOFactory factory, long loggedInMID) {
   this.personnelDAO = factory.getPersonnelDAO();
   this.authDAO = factory.getAuthDAO();
   this.transDAO = factory.getTransactionDAO();
   this.loggedInMID = loggedInMID;
 }
 /**
  * Set up defaults
  *
  * @param factory The DAOFactory used to create the DAOs used in this action.
  * @param loggedInMID The MID of the person retrieving personnel beans.
  */
 public ViewPersonnelAction(DAOFactory factory, long loggedInMID) {
   this.emailDAO = factory.getFakeEmailDAO();
   this.personnelDAO = factory.getPersonnelDAO();
   this.transDAO = factory.getTransactionDAO();
   this.loggedInMID = loggedInMID;
 }
 /**
  * Set up
  *
  * @param factory The DAOFactory used to create the DAOs used in this action.
  * @param loggedInMID The MID of the person retrieving the logs.
  */
 public ViewMyAccessLogAction(DAOFactory factory, long loggedInMID) {
   this.loggedInMID = loggedInMID;
   this.transDAO = factory.getTransactionDAO();
   this.patientDAO = factory.getPatientDAO();
 }