Interface ReportService
public interface ReportService
-
Method Summary
Modifier and TypeMethodDescriptionbooleancheckAccessAllowByReport(String reportId) Проверка возможности просмотра отчета для пользователяbooleancheckReportExists(String reportFileName) getAccessRulesByReportId(String reportId) List<ru.bitel.bgbilling.common.model.KeyValue> getModuleReportList(String reportModule) getReportData(String reportModule, String reportId) List<ru.bitel.bgbilling.modules.reports.common.dto.ReportModule> voidvoidsaveReport(String reportFileName, String xmlData) Сохранение xml описания отчета на сервере в папке reports после редактирования в конструктореvoidupdateAccessRulesByReport(ReportAccessRule reportAccessRule) Обновление/добавление правила доступа видимости отчета
-
Method Details
-
saveReport
Сохранение xml описания отчета на сервере в папке reports после редактирования в конструкторе- Parameters:
xmlData-- Throws:
ru.bitel.bgbilling.common.BGException
-
checkReportExists
- Throws:
ru.bitel.bgbilling.common.BGException
-
getAccessRulesByReportId
ReportAccessRule getAccessRulesByReportId(String reportId) throws ru.bitel.bgbilling.common.BGException - Parameters:
reportId- ID отчета(строковое название файла отчета без расширения)- Throws:
ru.bitel.bgbilling.common.BGException
-
reportModules
List<ru.bitel.bgbilling.modules.reports.common.dto.ReportModule> reportModules() throws ru.bitel.bgbilling.common.BGException- Returns:
- Throws:
ru.bitel.bgbilling.common.BGException
-
updateAccessRulesByReport
void updateAccessRulesByReport(ReportAccessRule reportAccessRule) throws ru.bitel.bgbilling.common.BGException Обновление/добавление правила доступа видимости отчета- Parameters:
reportAccessRule- правила доступа видимости отчета- Throws:
ru.bitel.bgbilling.common.BGException
-
checkAccessAllowByReport
Проверка возможности просмотра отчета для пользователя- Parameters:
reportId- ID отчета(строковое название файла отчета без расширения)- Throws:
ru.bitel.bgbilling.common.BGException
-
getModuleReportList
List<ru.bitel.bgbilling.common.model.KeyValue> getModuleReportList(String reportModule) throws ru.bitel.bgbilling.common.BGException - Parameters:
reportModule-- Returns:
- Throws:
ru.bitel.bgbilling.common.BGException
-
getReportData
String getReportData(String reportModule, String reportId) throws ru.bitel.bgbilling.common.BGException - Parameters:
reportId-- Returns:
- Throws:
ru.bitel.bgbilling.common.BGException
-
resetReportCache
void resetReportCache() throws ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGException
-