public abstract class AbstractMetadataForParallelTextService extends AbstractLanguagePairService implements MetadataForParallelTextService
ALL_MATCHINGMETHODS, EMPTY_LANGUAGEPAIRS, EMPTY_LANGUAGEPATHS, EMPTY_LANGUAGES, MINIMUM_MATCHINGMETHODS| Constructor and Description |
|---|
AbstractMetadataForParallelTextService() |
AbstractMetadataForParallelTextService(Collection<LanguagePair> supportedPairs) |
AbstractMetadataForParallelTextService(ServiceContext serviceContext,
Collection<LanguagePair> supportedPairs) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String[] |
doGetMetadata(String Id) |
protected abstract String[] |
doGetMetadataSchema() |
protected abstract String[] |
doSearchCandidatesWithMetadata(String query,
MatchingMethod matchingMethod) |
String[] |
getMetadata(String Id) |
String[] |
getMetadataSchema() |
String[] |
searchCandidatesWithMetadata(String query,
String matchingMethod) |
protected void |
setSupportedMatchingMethods(Set<MatchingMethod> supportedMatchingMethods) |
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 AbstractMetadataForParallelTextService()
public AbstractMetadataForParallelTextService(Collection<LanguagePair> supportedPairs)
public AbstractMetadataForParallelTextService(ServiceContext serviceContext, Collection<LanguagePair> supportedPairs)
public String[] getMetadata(String Id) throws AccessLimitExceededException, InvalidParameterException, LanguagePairNotUniquelyDecidedException, NoAccessPermissionException, NoValidEndpointsException, ProcessFailedException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguagePairException
getMetadata in interface MetadataForParallelTextServiceAccessLimitExceededExceptionInvalidParameterExceptionLanguagePairNotUniquelyDecidedExceptionNoAccessPermissionExceptionNoValidEndpointsExceptionProcessFailedExceptionServerBusyExceptionServiceNotActiveExceptionServiceNotFoundExceptionUnsupportedLanguagePairExceptionpublic String[] getMetadataSchema() throws AccessLimitExceededException, InvalidParameterException, LanguagePairNotUniquelyDecidedException, NoAccessPermissionException, NoValidEndpointsException, ProcessFailedException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguagePairException
getMetadataSchema in interface MetadataForParallelTextServiceAccessLimitExceededExceptionInvalidParameterExceptionLanguagePairNotUniquelyDecidedExceptionNoAccessPermissionExceptionNoValidEndpointsExceptionProcessFailedExceptionServerBusyExceptionServiceNotActiveExceptionServiceNotFoundExceptionUnsupportedLanguagePairExceptionpublic String[] searchCandidatesWithMetadata(String query, String matchingMethod) throws AccessLimitExceededException, InvalidParameterException, LanguagePairNotUniquelyDecidedException, NoAccessPermissionException, NoValidEndpointsException, ProcessFailedException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguagePairException
searchCandidatesWithMetadata in interface MetadataForParallelTextServiceAccessLimitExceededExceptionInvalidParameterExceptionLanguagePairNotUniquelyDecidedExceptionNoAccessPermissionExceptionNoValidEndpointsExceptionProcessFailedExceptionServerBusyExceptionServiceNotActiveExceptionServiceNotFoundExceptionUnsupportedLanguagePairExceptionprotected abstract String[] doGetMetadata(String Id) throws InvalidParameterException, ProcessFailedException
protected abstract String[] doGetMetadataSchema() throws ProcessFailedException
ProcessFailedExceptionprotected abstract String[] doSearchCandidatesWithMetadata(String query, MatchingMethod matchingMethod) throws InvalidParameterException, ProcessFailedException
protected void setSupportedMatchingMethods(Set<MatchingMethod> supportedMatchingMethods)