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