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