Class PlatformTranslationService
java.lang.Object
com.flowable.platform.service.translation.PlatformTranslationService
- Author:
- Filip Hrisafov
-
Field Summary
Modifier and TypeFieldDescriptionprotected Integer
protected final com.fasterxml.jackson.databind.ObjectMapper
protected final TranslationService
-
Constructor Summary
ConstructorDescriptionPlatformTranslationService
(TranslationService translationService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionasScopedRepresentation
(Translation translation) asScopedRepresentationList
(List<Translation> translations) com.fasterxml.jackson.databind.node.ObjectNode
convertToTranslationsMap
(Collection<Translation> translations) com.fasterxml.jackson.databind.node.ObjectNode
fetchTranslations
(String scopeId, String scopeType) mapToQuery
(TranslationQueryRequest request)
-
Field Details
-
defaultListResponseSize
-
translationService
-
objectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
PlatformTranslationService
public PlatformTranslationService(TranslationService translationService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
queryScopedTranslations
public DataResponse<ScopedTranslationRepresentation> queryScopedTranslations(TranslationQueryRequest request) -
mapToQuery
-
asScopedRepresentation
-
asScopedRepresentationList
public List<ScopedTranslationRepresentation> asScopedRepresentationList(List<Translation> translations) -
fetchTranslations
-
convertToTranslationsMap
public com.fasterxml.jackson.databind.node.ObjectNode convertToTranslationsMap(Collection<Translation> translations)
-