updated to trunk
[cdmlib.git] / cdmlib-persistence / src / main / java / eu / etaxonomy / cdm / persistence / dao / occurrence / ICollectionDao.java
1 /**
2 * Copyright (C) 2009 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
8 */
9
10 package eu.etaxonomy.cdm.persistence.dao.occurrence;
11
12 import java.util.List;
13
14 import eu.etaxonomy.cdm.model.occurrence.Collection;
15 import eu.etaxonomy.cdm.persistence.dao.common.IIdentifiableDao;
16
17 public interface ICollectionDao extends IIdentifiableDao<Collection> {
18
19 /**
20 * Returns a list of Collection instances matching the code supplied
21 *
22 * @param code The code
23 * @return a List of Collection instances
24 */
25 public List<Collection> getCollectionByCode(String code);
26 }