01: package auction.dao.hibernate;
02:
03: import auction.dao.LanguageDAO;
04: import auction.model.Language;
05: import java.util.List;
06:
07: public class LanguageDAOHibernate extends
08: GenericHibernateDAO<Language, Long> implements LanguageDAO {
09: public List<Language> findAllWithAny() {
10: List<Language> list = findAll();
11: list.add(0, new Language("Any language"));
12: return list;
13: }
14: }
|