Class AbstractTranslationService
java.lang.Object
com.adobe.granite.translation.core.common.AbstractTranslationService
- All Implemented Interfaces:
TranslationService
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.adobe.granite.translation.api.TranslationService
TranslationService.TranslationServiceInfo -
Method Summary
Modifier and TypeMethodDescriptionGets the default category.Gets information on a translation service.voidsetDefaultCategory(String defaultCategory) Sets the default category.voidupdateDueDate(String strTranslationJobID, Date date) Update translation job due-dateMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.adobe.granite.translation.api.TranslationService
addTranslationJobComment, addTranslationObjectComment, createTranslationJob, detectLanguage, getAllStoredTranslations, getFinalScope, getTranslatedObject, getTranslationJobCommentCollection, getTranslationJobStatus, getTranslationObjectCommentCollection, getTranslationObjectsStatus, getTranslationObjectStatus, isDirectionSupported, storeTranslation, storeTranslation, supportedLanguages, translateArray, translateString, updateTranslationJobMetadata, updateTranslationJobState, updateTranslationObjectsState, updateTranslationObjectState, uploadTranslationObject
-
Method Details
-
getTranslationServiceInfo
Description copied from interface:TranslationServiceGets information on a translation service.- Specified by:
getTranslationServiceInfoin interfaceTranslationService- Returns:
- Returns a TranslationInfo object which contains the Name, Label, and Attribution Strings for this specific TranslationService implementation
-
getDefaultCategory
Description copied from interface:TranslationServiceGets the default category.- Specified by:
getDefaultCategoryin interfaceTranslationService- Returns:
- Returns a the configured Default Category for this TranslationService instance
-
setDefaultCategory
Description copied from interface:TranslationServiceSets the default category.- Specified by:
setDefaultCategoryin interfaceTranslationService- Parameters:
defaultCategory- The string representing the category which will be set as the default. This is the value the TranslationService will use if no category is specified elsewhere.
-
updateDueDate
Description copied from interface:TranslationServiceUpdate translation job due-date- Specified by:
updateDueDatein interfaceTranslationService- Parameters:
strTranslationJobID- Translation Job IDdate- Due date- Throws:
TranslationException
-