public interface ReportService
Modifier and Type | Method and Description |
---|---|
Long |
addReportTranslation(Long reportId,
ReportTranslationWrapper reportTranslation)
Zapisuje tłumaczenie raportu w bazie danych
|
void |
deleteReportTranslation(Long id)
Usuwa tłumaczenie raportu o podanym id
|
void |
deleteReportTranslationsForLocale(Locale locale)
Usuwa wszystkie nadpisane tłumaczenia raportów w podanym języku
|
List<ReportsTableWrapper> |
getAll()
Pobiera listę raportów.
|
String |
getReportTranslation(Long entityId,
TranslatedFieldType fieldType)
Zwraca tłumaczenie dla konkretnego pola raportu o podanym id
|
String |
getReportTranslation(Long entityId,
TranslatedFieldType fieldType,
Locale locale)
Zwraca tłumaczenie dla konkretnego pola raportu o podanym id
|
List<ReportTranslationWrapper> |
getReportTranslationsForLocale(Locale locale)
Pobiera listę tłumaczeń powiązanych z raportami w podanym języku.
|
void |
updateReportTranslation(Long id,
String newValue)
Aktualizuje tekst tłumaczenia raportu
|
List<ReportsTableWrapper> getAll()
ReportsTableWrapper
List<ReportTranslationWrapper> getReportTranslationsForLocale(Locale locale)
locale
- Językvoid deleteReportTranslationsForLocale(Locale locale)
locale
- JęzykLong addReportTranslation(Long reportId, ReportTranslationWrapper reportTranslation)
reportId
- Id tłumaczonego raportureportTranslation
- Tłumaczenie do dodaniavoid updateReportTranslation(Long id, String newValue)
id
- Id tłumaczenia raportunewValue
- Nowy tekst tłumaczeniavoid deleteReportTranslation(Long id)
id
- Id tłumaczeniaString getReportTranslation(Long entityId, TranslatedFieldType fieldType)
entityId
- Id elementufieldType
- Typ polaString getReportTranslation(Long entityId, TranslatedFieldType fieldType, Locale locale)
entityId
- Id elementufieldType
- Typ polalocale
- JęzykCopyright © 2023 Suncode. All rights reserved.