Package io.jmix.reportsrest.controller
Class ReportRestControllerManager
java.lang.Object
io.jmix.reportsrest.controller.ReportRestControllerManager
@Component("report_ReportRestControllerManager")
public class ReportRestControllerManager
extends Object
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
protected static class
protected static class
protected static class
protected static class
protected static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected CurrentUserSubstitution
protected DataManager
protected EntityStates
protected FetchPlanRepository
protected FetchPlans
protected Metadata
protected com.haulmont.yarg.util.converter.ObjectToStringConverter
protected ParameterClassResolver
protected PolicyStore
protected ReportRunner
protected ReportSecurityManager
protected SecureOperations
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkCanReadEntity
(MetaClass metaClass) protected void
checkEntityIsNotNull
(String entityName, String entityId, Object entity) protected void
checkReportOutputType
(ReportTemplate reportTemplate) protected com.google.gson.Gson
protected Object
getIdFromString
(String entityId, MetaClass metaClass) protected UUID
getReportIdFromString
(String entityId) loadReport
(String entityId) protected Report
loadReportInternal
(String entityId) mapInputParameterInfo
(ReportInputParameter parameter) protected ReportRestControllerManager.TemplateInfo
mapTemplateInfo
(ReportTemplate template) protected ReportRestControllerManager.ReportInfo
mapToReportInfo
(Report report) protected Object
prepareValue
(ReportInputParameter inputParam, ReportRestControllerManager.ParameterValueInfo paramValue) prepareValues
(Report report, List<ReportRestControllerManager.ParameterValueInfo> paramValues) protected Class
resolveDatatypeActualClass
(ReportInputParameter inputParam) protected String
transformDefaultValue
(ReportInputParameter parameter)
-
Field Details
-
dataManager
-
reportRunner
-
objectToStringConverter
@Autowired protected com.haulmont.yarg.util.converter.ObjectToStringConverter objectToStringConverter -
metadata
-
entityStates
-
secureOperations
-
reportSecurityManager
-
parameterClassResolver
-
policyStore
-
fetchPlans
-
fetchPlanRepository
-
currentUserSubstitution
-
-
Constructor Details
-
ReportRestControllerManager
public ReportRestControllerManager()
-
-
Method Details
-
loadGroup
-
loadReportsList
-
loadReport
-
runReport
-
loadReportInternal
-
prepareValues
-
createGson
protected com.google.gson.Gson createGson() -
prepareValue
@Nullable protected Object prepareValue(ReportInputParameter inputParam, ReportRestControllerManager.ParameterValueInfo paramValue) -
resolveDatatypeActualClass
-
mapToReportInfo
-
mapTemplateInfo
-
mapInputParameterInfo
protected ReportRestControllerManager.InputParameterInfo mapInputParameterInfo(ReportInputParameter parameter) -
transformDefaultValue
-
getReportIdFromString
-
getIdFromString
-
checkCanReadEntity
-
checkEntityIsNotNull
-
checkReportOutputType
-