protected Term createTerm(String term, String desc) { Term newTerm = new Term(); newTerm.setTerm(term); newTerm.setDescription(desc); int termid = tmDao.createTerm(newTerm); newTerm.setId(termid); return newTerm; }
protected Term searchTerm(String term) { return tmDao.search(term); }