Class DefaultExportDataHistoryService

    • Constructor Detail

      • DefaultExportDataHistoryService

        public DefaultExportDataHistoryService()
    • Method Detail

      • getModelService

        protected ModelService getModelService()
      • setModelService

        public void setModelService​(ModelService modelService)
      • getCronJobDao

        protected CronJobDao getCronJobDao()
      • setCronJobDao

        public void setCronJobDao​(CronJobDao cronJobDao)
      • recordExportEnd

        public void recordExportEnd​(org.springframework.messaging.Message<?> message,
                                    @Header("event")
                                    ExportDataEvent ede,
                                    @Header("processedCount")
                                    java.lang.Integer count)
        Description copied from interface: ExportDataHistoryService
        Recording the end of the generation of data.
        Specified by:
        recordExportEnd in interface ExportDataHistoryService
        ede - Export data event that contains the cronjobs code
        count - The size of the list of generated items
      • handleError

        public void handleError​(java.lang.Throwable payload)
        Saves a historical entry for the error in case it is a MessagingException
        Parameters:
        payload - the error payload
      • prepareExportDataHistory

        protected void prepareExportDataHistory​(org.springframework.messaging.MessagingException handlingException,
                                                java.lang.Object event)