Project

General

Profile

Download (1.51 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2008 EDIT
3
* European Distributed Institute of Taxonomy 
4
* http://www.e-taxonomy.eu
5
*/
6

    
7
package eu.etaxonomy.cdm.persistence.dao.name;
8

    
9
import java.util.List;
10

    
11
import eu.etaxonomy.cdm.model.name.HomotypicalGroup;
12
import eu.etaxonomy.cdm.model.name.TypeDesignationBase;
13
import eu.etaxonomy.cdm.model.name.TypeDesignationStatusBase;
14
import eu.etaxonomy.cdm.persistence.dao.common.ICdmEntityDao;
15

    
16
/**
17
 * @author a.babadshanjan
18
 * @created 24.09.2008
19
 */
20
public interface IHomotypicalGroupDao extends ICdmEntityDao<HomotypicalGroup> {
21
	
22
	/**
23
	 * Return a List of types related to the given HomotypicalGroup
24
	 * , optionally filtered by type designation status
25
	 * 
26
	 * @param homotypicalGroup
27
	 *            the homotypicalGroup
28
	 * @param type
29
	 * 			  limit the result set to a specific subtype of TypeDesignationBase, may be null
30
	 * @param status
31
	 *            the type designation status (or null to return all types)
32
	 * @param pageSize
33
	 *            The maximum number of types returned (can be null for all
34
	 *            types)
35
	 * @param pageNumber
36
	 *            The offset (in pageSize chunks) from the start of the result
37
	 *            set (0 - based)
38
	 * @param propertyPaths
39
	 * @return a List of TypeDesignationBase instances
40
	 */
41
	public <T extends TypeDesignationBase> List<T> getTypeDesignations(HomotypicalGroup homotypicalGroup, 
42
			Class<T> type,
43
			TypeDesignationStatusBase status, Integer pageSize, Integer pageNumber,
44
			List<String> propertyPaths);
45

    
46
}
(1-1/4)