Class ReportReaderES
java.lang.Object
io.camunda.optimize.service.db.es.reader.ReportReaderES
- All Implemented Interfaces:
ReportReader
@Component
@Conditional(io.camunda.optimize.service.util.configuration.condition.ElasticSearchCondition.class)
public class ReportReaderES
extends Object
implements ReportReader
-
Field Summary
Fields inherited from interface io.camunda.optimize.service.db.reader.ReportReader
ALL_REPORT_INDICES, REPORT_DATA_XML_PROPERTY, REPORT_LIST_EXCLUDES -
Constructor Summary
ConstructorsConstructorDescriptionReportReaderES(OptimizeElasticsearchClient esClient, ConfigurationService configurationService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptiongetAllReportsForIdsOmitXml(List<String> reportIds) getAllReportsForProcessDefinitionKeyOmitXml(String definitionKey) getAllSingleProcessReportsForIdsOmitXml(List<String> reportIds) getCombinedReportsForSimpleReport(String simpleReportId) longgetReportCount(ReportType reportType) getReportsForCollectionIncludingXml(String collectionId) getReportsForCollectionOmitXml(String collectionId) getSingleDecisionReportOmitXml(String reportId) getSingleProcessReportOmitXml(String reportId) long
-
Constructor Details
-
ReportReaderES
public ReportReaderES(OptimizeElasticsearchClient esClient, ConfigurationService configurationService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getReport
- Specified by:
getReportin interfaceReportReader
-
getSingleProcessReportOmitXml
public Optional<SingleProcessReportDefinitionRequestDto> getSingleProcessReportOmitXml(String reportId) - Specified by:
getSingleProcessReportOmitXmlin interfaceReportReader
-
getSingleDecisionReportOmitXml
public Optional<SingleDecisionReportDefinitionRequestDto> getSingleDecisionReportOmitXml(String reportId) - Specified by:
getSingleDecisionReportOmitXmlin interfaceReportReader
-
getAllReportsForIdsOmitXml
- Specified by:
getAllReportsForIdsOmitXmlin interfaceReportReader
-
getAllReportsForProcessDefinitionKeyOmitXml
- Specified by:
getAllReportsForProcessDefinitionKeyOmitXmlin interfaceReportReader
-
getAllPrivateReportsOmitXml
- Specified by:
getAllPrivateReportsOmitXmlin interfaceReportReader
-
getAllSingleProcessReportsForIdsOmitXml
public List<SingleProcessReportDefinitionRequestDto> getAllSingleProcessReportsForIdsOmitXml(List<String> reportIds) - Specified by:
getAllSingleProcessReportsForIdsOmitXmlin interfaceReportReader
-
getReportsForCollectionOmitXml
- Specified by:
getReportsForCollectionOmitXmlin interfaceReportReader
-
getReportsForCollectionIncludingXml
- Specified by:
getReportsForCollectionIncludingXmlin interfaceReportReader
-
getCombinedReportsForSimpleReport
public List<CombinedReportDefinitionRequestDto> getCombinedReportsForSimpleReport(String simpleReportId) - Specified by:
getCombinedReportsForSimpleReportin interfaceReportReader
-
getReportCount
- Specified by:
getReportCountin interfaceReportReader
-
getUserTaskReportCount
public long getUserTaskReportCount()- Specified by:
getUserTaskReportCountin interfaceReportReader
-