Package io.jmix.reports.util
Class ReportsUtils
java.lang.Object
io.jmix.reports.util.ReportsUtils
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected DataManagerprotected javax.persistence.EntityManagerprotected EntityStatesprotected static final intprotected TimeSourceprotected org.springframework.transaction.support.TransactionTemplate
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncurrentDateOrTime(ParameterType parameterType) generateReportName(String sourceName) protected StringgenerateReportName(String sourceName, int iteration) reloadReportIfNeeded(Report report, String fetchPlanName) protected DatetruncateToDay(Date date) protected DatetruncateToTime(Date date) 
- 
Field Details- 
MAX_REPORT_NAME_LENGTHprotected static final int MAX_REPORT_NAME_LENGTH- See Also:
 
- 
timeSource
- 
transaction@Autowired protected org.springframework.transaction.support.TransactionTemplate transaction
- 
emprotected javax.persistence.EntityManager em
- 
dataManager
- 
entityStates
 
- 
- 
Constructor Details- 
ReportsUtilspublic ReportsUtils()
 
- 
- 
Method Details- 
generateReportName
- 
reloadReportIfNeeded
- 
currentDateOrTime
- 
truncateToDay
- 
truncateToTime
- 
generateReportName
 
-