1
|
package eu.dnetlib.data.search.utils.vocabulary;
|
2
|
|
3
|
import java.util.List;
|
4
|
import java.util.Locale;
|
5
|
import java.util.Set;
|
6
|
|
7
|
import eu.dnetlib.domain.enabling.Vocabulary;
|
8
|
|
9
|
public interface VocabularyManager {
|
10
|
|
11
|
/**
|
12
|
* Returns the path where the requested vocabulary is
|
13
|
* @param vocabularyName
|
14
|
* @param locale
|
15
|
* @return
|
16
|
*/
|
17
|
public Vocabulary getVocabulary(String vocabularyName, Locale locale);
|
18
|
public Vocabulary getVocabulary(String vocabularyName, Locale locale, boolean loadanyway);
|
19
|
public String translate(String n, String l, String e, String d);
|
20
|
public Set<String> getVocabularyNames();
|
21
|
public List<Locale> getLocales();
|
22
|
}
|