Exemplo n.º 1
0
 /** @return Returns the sampleTypes. */
 public List getSampleTypes() {
   if (sampleTypes == null || refresh == true) {
     sampleTypes = sampleTypeDAO.getSampleTypes();
     refresh = false;
   }
   return sampleTypes;
 }
Exemplo n.º 2
0
 public SampleType getSampleTypeBySuffix(String suffix) {
   return sampleTypeDAO.getSampleTypeBySuffix(suffix);
 }
Exemplo n.º 3
0
 public void saveSampleType(SampleType stock) throws Exception {
   sampleTypeDAO.saveSampleType(stock);
   refresh = true;
 }
Exemplo n.º 4
0
 /** public SampleType getSampleType(String name){ return sampleTypeDAO.getSampleType(name); } */
 public SampleType getSampleType(Integer SampleTypeID) {
   return sampleTypeDAO.getSampleType(SampleTypeID);
 }