Interface DataTranslationService
-
- All Superinterfaces:
Service
- All Known Subinterfaces:
DataTranslationServiceLocal
- All Known Implementing Classes:
DataTranslationServiceImpl,DataTranslationServiceSecurity
public interface DataTranslationService extends Service
Service used to translate data
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataTranslationDatagetData(@NotNull LanguageVO language, @NotNull DataTranslationType type)Returns data for translating data of the given language and type.DataTranslationTypeDatagetTypeData(@NotNull LanguageVO language)Returns information about available types for data translationvoidtranslate(@NotNull LanguageVO language, @NotNull List<DataTranslationDTO> translations)Bulk saves translations.
-
-
-
Method Detail
-
getData
DataTranslationData getData(@NotNull @NotNull LanguageVO language, @NotNull @NotNull DataTranslationType type) throws FrameworkException
Returns data for translating data of the given language and type.- Throws:
FrameworkException
-
getTypeData
DataTranslationTypeData getTypeData(@NotNull @NotNull LanguageVO language) throws FrameworkException
Returns information about available types for data translation- Throws:
FrameworkException
-
translate
void translate(@NotNull @NotNull LanguageVO language, @NotNull @NotNull List<DataTranslationDTO> translations) throws FrameworkExceptionBulk saves translations. Translations for types / entities not passed in won't be modified- Throws:
FrameworkException
-
-