class HibernateTemplateDAO extends HibernatePersistentObjectDAO<Template> implements TemplateDAO {

	@Override
	public List<Template> findAll() {
		try {
			return findByWhere(" 1=1", "order by _entity.name", null);
		} catch (PersistenceException e) {
			log.error(e.getMessage(), e);
			return new ArrayList<Template>();
		}
	}

	public  HibernateTemplateDAO();

}