예제 #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);
 }