eu.etaxonomy.cdm.api.service
Interface ILocationService

All Superinterfaces:
IService<DefinedTermBase>
All Known Implementing Classes:
LocationServiceImpl

public interface ILocationService
extends IService<DefinedTermBase>

Version:
1.0
Author:
n.hoffman

Nested Class Summary
static class ILocationService.NamedAreaVocabularyType
           
 
Method Summary
 OrderedTermVocabulary<AbsenceTerm> getAbsenceTermVocabulary()
          Deprecated. use TermService#getVocabulary(VocabularyType) instead
 OrderedTermVocabulary<NamedAreaLevel> getNamedAreaLevelVocabulary()
          Deprecated. use TermService#getVocabulary(VocabularyType) instead
 TermVocabulary<NamedAreaType> getNamedAreaTypeVocabulary()
          Deprecated. use TermService#getVocabulary(VocabularyType) instead
 OrderedTermVocabulary<NamedArea> getNamedAreaVocabulary(ILocationService.NamedAreaVocabularyType vocabularyType)
          Deprecated. use TermService#getVocabulary(VocabularyType) instead
 List<ILocationService.NamedAreaVocabularyType> getNamedAreaVocabularyTypes()
          Returns a list of NamedArea Types "TDWG Areas", "ISO Country Codes"
 OrderedTermVocabulary<PresenceTerm> getPresenceTermVocabulary()
          Deprecated. use TermService#getVocabulary(VocabularyType) instead
 List<NamedArea> getTopLevelNamedAreasByVocabularyType(ILocationService.NamedAreaVocabularyType vocabularyType)
           
 
Methods inherited from interface eu.etaxonomy.cdm.api.service.IService
clear, count, delete, exists, find, find, find, findById, getSession, group, list, list, load, load, lock, merge, page, refresh, refresh, rows, save, save, saveOrUpdate, saveOrUpdate, update
 

Method Detail

getNamedAreaVocabularyTypes

List<ILocationService.NamedAreaVocabularyType> getNamedAreaVocabularyTypes()
Returns a list of NamedArea Types "TDWG Areas", "ISO Country Codes"

Returns:

getNamedAreaVocabulary

OrderedTermVocabulary<NamedArea> getNamedAreaVocabulary(ILocationService.NamedAreaVocabularyType vocabularyType)
Deprecated. use TermService#getVocabulary(VocabularyType) instead

- these would be top-level areas for nested area vocabularies, e.g. North America and Europe, but NOT USA, Germany - alternatively:

Parameters:
vocabularyType -
Returns:

getNamedAreaTypeVocabulary

TermVocabulary<NamedAreaType> getNamedAreaTypeVocabulary()
Deprecated. use TermService#getVocabulary(VocabularyType) instead

Returns:

getNamedAreaLevelVocabulary

OrderedTermVocabulary<NamedAreaLevel> getNamedAreaLevelVocabulary()
Deprecated. use TermService#getVocabulary(VocabularyType) instead

Returns:

getPresenceTermVocabulary

OrderedTermVocabulary<PresenceTerm> getPresenceTermVocabulary()
Deprecated. use TermService#getVocabulary(VocabularyType) instead

Returns:

getAbsenceTermVocabulary

OrderedTermVocabulary<AbsenceTerm> getAbsenceTermVocabulary()
Deprecated. use TermService#getVocabulary(VocabularyType) instead

Returns:

getTopLevelNamedAreasByVocabularyType

List<NamedArea> getTopLevelNamedAreasByVocabularyType(ILocationService.NamedAreaVocabularyType vocabularyType)


Copyright © 2007-2013 EDIT. All Rights Reserved.