public abstract class AbstractDictionaryService extends AbstractLanguagePairService implements DictionaryService
ALL_MATCHINGMETHODS, EMPTY_LANGUAGEPAIRS, EMPTY_LANGUAGEPATHS, EMPTY_LANGUAGES, MINIMUM_MATCHINGMETHODS| Constructor and Description |
|---|
AbstractDictionaryService(Collection<LanguagePair> supportedPairs) |
AbstractDictionaryService(ServiceContext serviceContext,
Collection<LanguagePair> supportedPairs) |
AbstractDictionaryService(String serviceName,
Collection<LanguagePair> supportedPairs) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ConceptNode |
doGetConcept(URI conceptNodeId) |
protected abstract LemmaNode |
doGetLemma(URI lemmaNodeId) |
protected abstract List<URI> |
doSearchLemmaNodes(Language headLang,
Language lemmaLang,
String headWord,
String pronounciation,
PartOfSpeech partOfSpeech,
DictMatchingMethod matchingMethod) |
ConceptNode |
getConcept(String conceptNodeId) |
LemmaNode |
getLemma(String lemmaNodeId) |
String[] |
searchLemmaNodes(String headLang,
String lemmaLang,
String headWord,
String pronounciation,
String partOfSpeech,
String matchingMethod) |
getSupportedLanguagePairCollection, getSupportedLanguagePairs, setSupportedLanguagePairsacquireSemaphore, checkStartupException, convertLanguagePairs, convertLanguages, doGetLastUpdate, getCurrentServiceContext, getDoDoubleSearch, getEliminateDuplicates, getInitParameter, getInitParameterBoolean, getInitParameterInt, getInitParameterLong, getInitParameters, getInitParameterString, getInitParameterUsingTransformer, getLastUpdate, getLogListener, getMaxResults, getMaxWaitMillisForExternalProcess, getRequestMimeHeaders, getServiceContext, getWorkDirectory, getWorkFile, log, parseDateMacro, processEnd, processEnd, processLap, processStart, releaseSemaphore, setCurrentServiceContext, setDoubleSearchResults, setEliminateDuplicates, setLogListener, setMaxResults, setMaxThreads, setMaxWaitMillisForExternalProcess, setMaxWaitMillisForThread, setMeasureProcessTime, setProcessTimeWarningThreasholdMillis, setStartupExceptiongetComponentServiceFactory, getFile, getServiceName, setComponentServiceFactory, setServiceNamepublic AbstractDictionaryService(Collection<LanguagePair> supportedPairs)
public AbstractDictionaryService(String serviceName, Collection<LanguagePair> supportedPairs)
public AbstractDictionaryService(ServiceContext serviceContext, Collection<LanguagePair> supportedPairs)
public final String[] searchLemmaNodes(String headLang, String lemmaLang, String headWord, String pronounciation, String partOfSpeech, String matchingMethod) throws AccessLimitExceededException, InvalidParameterException, LanguagePairNotUniquelyDecidedException, NoAccessPermissionException, NoValidEndpointsException, ProcessFailedException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguagePairException
searchLemmaNodes in interface DictionaryServiceAccessLimitExceededExceptionInvalidParameterExceptionLanguagePairNotUniquelyDecidedExceptionNoAccessPermissionExceptionNoValidEndpointsExceptionProcessFailedExceptionServerBusyExceptionServiceNotActiveExceptionServiceNotFoundExceptionUnsupportedLanguagePairExceptionpublic final LemmaNode getLemma(String lemmaNodeId) throws AccessLimitExceededException, InvalidParameterException, NoAccessPermissionException, NodeNotFoundException, ProcessFailedException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException
public final ConceptNode getConcept(String conceptNodeId) throws AccessLimitExceededException, InvalidParameterException, NoAccessPermissionException, NodeNotFoundException, ProcessFailedException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException
protected abstract List<URI> doSearchLemmaNodes(Language headLang, Language lemmaLang, String headWord, String pronounciation, PartOfSpeech partOfSpeech, DictMatchingMethod matchingMethod) throws InvalidParameterException, ProcessFailedException
protected abstract LemmaNode doGetLemma(URI lemmaNodeId) throws InvalidParameterException, NodeNotFoundException, ProcessFailedException
protected abstract ConceptNode doGetConcept(URI conceptNodeId) throws InvalidParameterException, NodeNotFoundException, ProcessFailedException