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
void saveReport(String reportFileName, String xmlData) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Сохранение xml описания отчета на сервере в папке reports после редактирования в конструкторе- Parameters:
xmlData-- Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-
checkReportExists
boolean checkReportExists(String reportFileName) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-
getAccessRulesByReportId
ReportAccessRule getAccessRulesByReportId(String reportId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Parameters:
reportId- ID отчета(строковое название файла отчета без расширения)- Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-
reportModules
- Returns:
- Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionException
-
updateAccessRulesByReport
void updateAccessRulesByReport(ReportAccessRule reportAccessRule) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Обновление/добавление правила доступа видимости отчета- Parameters:
reportAccessRule- правила доступа видимости отчета- Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-
checkAccessAllowByReport
boolean checkAccessAllowByReport(String reportId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Проверка возможности просмотра отчета для пользователя- Parameters:
reportId- ID отчета(строковое название файла отчета без расширения)- Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-
getModuleReportList
List<ru.bitel.bgbilling.common.model.KeyValue> getModuleReportList(String reportModule) throws Exception - Parameters:
reportModule-- Returns:
- Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionException
-
getReportData
- Parameters:
reportId-- Returns:
- Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionException
-
resetReportCache
void resetReportCache() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-