Package io.jmix.reports.util
Class ReportsUtils
java.lang.Object
io.jmix.reports.util.ReportsUtils
-
Field Summary
Modifier and TypeFieldDescriptionprotected DataManager
protected javax.persistence.EntityManager
protected EntityStates
protected static final int
protected TimeSource
protected org.springframework.transaction.support.TransactionTemplate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncurrentDateOrTime
(ParameterType parameterType) generateReportName
(String sourceName) protected String
generateReportName
(String sourceName, int iteration) reloadReportIfNeeded
(Report report, String fetchPlanName) protected Date
truncateToDay
(Date date) protected Date
truncateToTime
(Date date)
-
Field Details
-
MAX_REPORT_NAME_LENGTH
protected static final int MAX_REPORT_NAME_LENGTH- See Also:
-
timeSource
-
transaction
@Autowired protected org.springframework.transaction.support.TransactionTemplate transaction -
em
protected javax.persistence.EntityManager em -
dataManager
-
entityStates
-
-
Constructor Details
-
ReportsUtils
public ReportsUtils()
-
-
Method Details
-
generateReportName
-
reloadReportIfNeeded
-
currentDateOrTime
-
truncateToDay
-
truncateToTime
-
generateReportName
-