Revision f37ac392
Added by Ben Clark over 15 years ago
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/media/IMediaDao.java | ||
---|---|---|
21 | 21 |
*/ |
22 | 22 |
public interface IMediaDao extends ICdmEntityDao<Media> { |
23 | 23 |
|
24 |
/** |
|
25 |
* Return a count of IdentificationKeys, optionally filtered by the parameters passed. |
|
26 |
* |
|
27 |
* @param taxonomicScope a Set of Taxon instances that define the taxonomic scope of the key (can be null) |
|
28 |
* @param geoScopes a Set of NamedArea instances that define the geospatial scope of the key (can be null) |
|
29 |
* @return a count of IdentificationKey instances |
|
30 |
*/ |
|
24 | 31 |
public int countIdentificationKeys(Set<Taxon> taxonomicScope, Set<NamedArea> geoScopes); |
25 | 32 |
|
33 |
/** |
|
34 |
* Return a List of IdentificationKeys, optionally filtered by the parameters passed. |
|
35 |
* |
|
36 |
* @param taxonomicScope a Set of Taxon instances that define the taxonomic scope of the key (can be null) |
|
37 |
* @param geoScopes a Set of NamedArea instances that define the geospatial scope of the key (can be null) |
|
38 |
* @param pageSize The maximum number of keys returned (can be null for all keys) |
|
39 |
* @param pageNumber The offset (in pageSize chunks) from the start of the result set (0 - based) |
|
40 |
* @return a List of IdentificationKey instances |
|
41 |
*/ |
|
26 | 42 |
public List<IdentificationKey> getIdentificationKeys(Set<Taxon> taxonomicScope, Set<NamedArea> geoScopes, Integer pageSize, Integer pageNumber); |
27 | 43 |
|
28 | 44 |
} |
Also available in: Unified diff
Added IAnnotationDao & implementation, and IAnnotatableDao & implementation, as part of #466