public interface ExampleTemplateService
Modifier and Type | Method and Description |
---|---|
ExampleTemplate[] |
getExampleTemplates(String language,
String text,
String matchingMethod,
String[] categoryIds) |
ExampleTemplate[] |
getExampleTemplatesByExampled(String language,
String[] exampleIds) |
ParallelText[] |
getParallelTexts(String sourceLang,
String targetLang,
String source,
String matchingMethod,
String exampleId,
FilledBlank[] filledBlanks) |
ParallelText[] getParallelTexts(String sourceLang, String targetLang, String source, String matchingMethod, String exampleId, FilledBlank[] filledBlanks) throws AccessLimitExceededException, InvalidParameterException, LanguagePairNotUniquelyDecidedException, NoAccessPermissionException, NoValidEndpointsException, ProcessFailedException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguagePairException, UnsupportedMatchingMethodException
AccessLimitExceededException
InvalidParameterException
LanguagePairNotUniquelyDecidedException
NoAccessPermissionException
NoValidEndpointsException
ProcessFailedException
ServerBusyException
ServiceNotActiveException
ServiceNotFoundException
UnsupportedLanguagePairException
UnsupportedMatchingMethodException
ExampleTemplate[] getExampleTemplates(String language, String text, String matchingMethod, String[] categoryIds) throws AccessLimitExceededException, InvalidParameterException, LanguagePairNotUniquelyDecidedException, NoAccessPermissionException, NoValidEndpointsException, ProcessFailedException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguagePairException, UnsupportedMatchingMethodException
AccessLimitExceededException
InvalidParameterException
LanguagePairNotUniquelyDecidedException
NoAccessPermissionException
NoValidEndpointsException
ProcessFailedException
ServerBusyException
ServiceNotActiveException
ServiceNotFoundException
UnsupportedLanguagePairException
UnsupportedMatchingMethodException
ExampleTemplate[] getExampleTemplatesByExampled(String language, String[] exampleIds) throws AccessLimitExceededException, InvalidParameterException, LanguagePairNotUniquelyDecidedException, NoAccessPermissionException, NoValidEndpointsException, ProcessFailedException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguagePairException, UnsupportedMatchingMethodException
AccessLimitExceededException
InvalidParameterException
LanguagePairNotUniquelyDecidedException
NoAccessPermissionException
NoValidEndpointsException
ProcessFailedException
ServerBusyException
ServiceNotActiveException
ServiceNotFoundException
UnsupportedLanguagePairException
UnsupportedMatchingMethodException