@Test\r
public void testGetWebServiceUrlCountry() throws MalformedURLException, IOException {\r
Set<Distribution> distributions = new HashSet<Distribution>();\r
- Country germany = termService.getDefinedTermByIdInVocabulary("DEU", Country.uuidCountryVocabulary, Country.class, null, null);\r
+ Country germany = termService.findByIdInVocabulary("DEU", Country.uuidCountryVocabulary, Country.class);\r
// germany = (Country)termService.find(665);\r
// germany = (Country)termService.find(UUID.fromString("cbe7ce69-2952-4309-85dd-0d7d4a4830a1"));\r
\r
// germany = Country.GERMANY();\r
\r
distributions.add(Distribution.NewInstance(germany, PresenceTerm.PRESENT()));\r
- distributions.add(Distribution.NewInstance(termService.getDefinedTermByIdInVocabulary("DE", Country.uuidCountryVocabulary, Country.class, null, null), PresenceTerm.INTRODUCED()));\r
+ distributions.add(Distribution.NewInstance(termService.findByIdInVocabulary("DE", Country.uuidCountryVocabulary, Country.class), PresenceTerm.INTRODUCED()));\r
Map<PresenceAbsenceTermBase<?>, Color> presenceAbsenceColorMap = new HashMap<PresenceAbsenceTermBase<?>, Color>();\r
presenceAbsenceColorMap.put(PresenceTerm.PRESENT(), Color.BLUE);\r
presenceAbsenceColorMap.put(PresenceTerm.INTRODUCED(), Color.BLACK);\r