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.
|
ReportsTableWrapper |
getReport(String id)
Pobiera raport
|
List<ReportsTableWrapper> |
getReports(String username,
String type)
Pobiera listę raportów dla użytkownika z podanym typem
|
List<ReportsTableWrapper> |
getReportsBasedOnView(Long viewId)
Zwraca listę raportów opartych o podany widok
|
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.
|
List<ReportVariableTableWrapper> |
getVariablesInReport(Long id)
Zwraca listę zmiennych w raporcie
|
void |
updateReportTranslation(Long id,
String newValue)
Aktualizuje tekst tłumaczenia raportu
|
List<ReportsTableWrapper> getAll()
ReportsTableWrapper
List<ReportsTableWrapper> getReports(String username, String type)
username
- login użytkownikatype
- typ raportuList<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ęzykList<ReportsTableWrapper> getReportsBasedOnView(Long viewId)
viewId
- Id widokuReportsTableWrapper getReport(String id)
id
- id raportuList<ReportVariableTableWrapper> getVariablesInReport(Long id)
id
- Id raportuCopyright © 2025 Suncode. All rights reserved.