public boolean setStandardPlotProt(ExperimentBean exp) { boolean test = false; List<StandardProteinBean> standardPlotList = db.getStandardProtPlotList(exp.getExpId()); if (standardPlotList.isEmpty()) ; else { test = db.removeStandarPlot(exp.getExpId()); } test = db.setStandardPlotProt(exp); return test; }
public List<StandardProteinBean> getStandardProtPlotList(int expId) { List<StandardProteinBean> standardPlotList = db.getStandardProtPlotList(expId); return standardPlotList; }