2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.cdm
.persistence
.dao
.common
;
12 import java
.util
.Enumeration
;
13 import java
.util
.List
;
14 import java
.util
.Locale
;
16 import eu
.etaxonomy
.cdm
.model
.common
.DefinedTermBase
;
17 import eu
.etaxonomy
.cdm
.model
.common
.Language
;
20 public interface IDefinedTermDao
extends ICdmEntityDao
<DefinedTermBase
>, ITitledDao
<DefinedTermBase
>{
23 * @param iso639 a two or three letter language code according to iso639-1 or iso639-2
24 * @return the Language or null
26 public Language
getLangaugeByIso(String iso639
);
28 public List
<Language
> getLangaugesByIso(List
<String
> iso639List
);
30 public List
<Language
> getLangaugesByLocale(Enumeration
<Locale
> locales
);