Class PlatformDefaultReportRunner
java.lang.Object
com.flowable.core.service.reporting.impl.runner.AbstractReportRunner
com.flowable.platform.service.reports.PlatformDefaultReportRunner
- All Implemented Interfaces:
ReportRunner
,Ordered
- Direct Known Subclasses:
PlatformHeatmapReportRunner
-
Field Summary
Modifier and TypeFieldDescriptionprotected CmmnRepositoryService
protected ElasticsearchCompatibility
static final int
protected static final String
protected static final String
protected RepositoryService
protected SearchService
protected WorkDefinitionService
Fields inherited from class com.flowable.core.service.reporting.impl.runner.AbstractReportRunner
REPORT_TEMPLATE_QUERY_EXTENSION, REPORT_TEMPLATE_QUERY_PREFIX, templateLoader
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionPlatformDefaultReportRunner
(TemplateLoader templateLoader, SearchService searchService, ElasticsearchCompatibility elasticsearchCompatibility, RepositoryService repositoryService, CmmnRepositoryService cmmnRepositoryService, WorkDefinitionService workDefinitionService) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAllAccessibleDefinitions
(Map<String, Object> defaultParameters) protected void
addDefaultsIfNoDefinitionValuesPresent
(ReportRequest request, Map<String, Object> defaultParameters, List<String> scopeDefinitionIds, List<String> scopeDefinitionKeys) protected void
addDefinitionParameters
(ReportRequest request, Map<String, Object> defaultParameters) boolean
canRun
(ReportRequest reportRequest, ReportConfiguration report) protected String
getDefinitionType
(ReportRequest reportRequest) int
getOrder()
protected String
getScopeType
(ReportRequest reportRequest) protected boolean
hasDefinitions
(List<String> scopeDefinitionIds, List<String> scopeDefinitionKeys) protected boolean
hasDefinitions
(Map<String, Object> params) protected boolean
isFinished
(ReportRequest request) protected boolean
isMultipleDefinitions
(Map<String, Object> defaultParameters) run
(ReportRequest request, ReportConfiguration report) swapDefinitionIdsWithKeys
(Map<String, Object> defaultParameters, List<String> scopeDefinitionIds, String scopeType) Methods inherited from class com.flowable.core.service.reporting.impl.runner.AbstractReportRunner
collectBuckets, collectBuckets, collectBuckets, convertBucketToDataPoint, getGroupByFromBucket, getQueryTemplate, getTemplate, mapAggregateToCalendarInterval, processJsonWithBucketAggregations
-
Field Details
-
ORDER
public static final int ORDER- See Also:
-
PARAM_SCOPE_DEFINITION_IDS
- See Also:
-
PARAM_SCOPE_DEFINITION_KEYS
- See Also:
-
searchService
-
elasticsearchCompatibility
-
repositoryService
-
cmmnRepositoryService
-
workDefinitionService
-
-
Constructor Details
-
PlatformDefaultReportRunner
public PlatformDefaultReportRunner(TemplateLoader templateLoader, SearchService searchService, ElasticsearchCompatibility elasticsearchCompatibility, RepositoryService repositoryService, CmmnRepositoryService cmmnRepositoryService, WorkDefinitionService workDefinitionService)
-
-
Method Details
-
run
- Specified by:
run
in interfaceReportRunner
-
getDefinitionType
-
isFinished
-
addDefinitionParameters
-
getScopeType
-
swapDefinitionIdsWithKeys
-
addDefaultsIfNoDefinitionValuesPresent
-
addAllAccessibleDefinitions
-
hasDefinitions
-
hasDefinitions
-
isMultipleDefinitions
-
canRun
- Specified by:
canRun
in interfaceReportRunner
-
getOrder
public int getOrder()
-