Exemple #1
0
 /** Returns the Employee object */
 public Employee getEmployee() throws DataException {
   return BusinessObjectDAO.getInstance().read(empId);
 }
Exemple #2
0
 /** Returns the Rental object */
 public Rental getRental() throws DataException {
   return BusinessObjectDAO.getInstance().read(rentalId);
 }
 /** Returns the ConceptualProduct object */
 public ConceptualProduct getConceptualProduct() throws DataException {
   return BusinessObjectDAO.getInstance().read(conceptualProductId);
 }
 /** Returns the store object */
 public Store getStore() throws DataException {
   return BusinessObjectDAO.getInstance().read(storeId);
 }
 public List<CreditDebit> getCDs() throws DataException {
   return BusinessObjectDAO.getInstance()
       .searchForList("CreditDebit", new SearchCriteria("journalid", id));
 }
 public Transaction getTran() throws DataException {
   return BusinessObjectDAO.getInstance().read(tranId);
 }