2 * Copyright (C) 2008 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
7 package eu
.etaxonomy
.cdm
.persistence
.dao
.hibernate
.common
;
11 import org
.apache
.log4j
.Logger
;
12 import org
.hibernate
.Criteria
;
13 import org
.springframework
.stereotype
.Repository
;
15 import eu
.etaxonomy
.cdm
.model
.common
.Representation
;
16 import eu
.etaxonomy
.cdm
.persistence
.dao
.common
.IRepresentationDao
;
19 * @author a.babadshanjan
23 public class RepresentationDaoImpl
24 extends LanguageStringBaseDaoImpl
<Representation
> implements IRepresentationDao
{
25 @SuppressWarnings("unused")
26 private static final Logger logger
= Logger
.getLogger(RepresentationDaoImpl
.class);
28 public RepresentationDaoImpl() {
29 super(Representation
.class);
32 public List
<Representation
> getAllRepresentations(Integer limit
, Integer start
) {
33 Criteria crit
= getSession().createCriteria(Representation
.class);
34 List
<Representation
> results
= crit
.list();