Class ReportEvaluationHandler
java.lang.Object
io.camunda.optimize.service.db.report.ReportEvaluationHandler
- Direct Known Subclasses:
AuthorizationCheckReportEvaluationHandler,PlainReportEvaluationHandler
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionReportEvaluationHandler(ReportService reportService, SingleReportEvaluator singleReportEvaluator, CombinedReportEvaluator combinedReportEvaluator, ProcessVariableService processVariableService, DefinitionService definitionService, CollapsedSubprocessNodesService collapsedSubprocessNodesService) -
Method Summary
Modifier and TypeMethodDescriptionevaluateReport(ReportEvaluationInfo evaluationInfo) getAuthorizedRole(String userId, ReportDefinitionDto<?> report) Checks if the user is allowed to see the given report.
-
Field Details
-
logger
protected final org.slf4j.Logger logger
-
-
Constructor Details
-
ReportEvaluationHandler
public ReportEvaluationHandler(ReportService reportService, SingleReportEvaluator singleReportEvaluator, CombinedReportEvaluator combinedReportEvaluator, ProcessVariableService processVariableService, DefinitionService definitionService, CollapsedSubprocessNodesService collapsedSubprocessNodesService)
-
-
Method Details
-
evaluateReport
-
getAuthorizedRole
protected abstract Optional<RoleType> getAuthorizedRole(String userId, ReportDefinitionDto<?> report) Checks if the user is allowed to see the given report.
-