Class ExportService

    • Constructor Detail

      • ExportService

        public ExportService()
    • Method Detail

      • fillCsvCaseData

        public java.io.OutputStream fillCsvCaseData​(com.querydsl.core.types.Predicate predicate,
                                                    java.io.File outFile)
                                             throws java.io.FileNotFoundException
        Specified by:
        fillCsvCaseData in interface IExportService
        Throws:
        java.io.FileNotFoundException
      • fillCsvCaseData

        public java.io.OutputStream fillCsvCaseData​(com.querydsl.core.types.Predicate predicate,
                                                    java.io.File outFile,
                                                    ExportDataConfig config)
                                             throws java.io.FileNotFoundException
        Specified by:
        fillCsvCaseData in interface IExportService
        Throws:
        java.io.FileNotFoundException
      • fillCsvCaseData

        public java.io.OutputStream fillCsvCaseData​(com.querydsl.core.types.Predicate predicate,
                                                    java.io.File outFile,
                                                    ExportDataConfig config,
                                                    int pageSize)
                                             throws java.io.FileNotFoundException
        Specified by:
        fillCsvCaseData in interface IExportService
        Throws:
        java.io.FileNotFoundException
      • fillCsvCaseData

        public java.io.OutputStream fillCsvCaseData​(java.util.List<CaseSearchRequest> requests,
                                                    java.io.File outFile)
                                             throws java.io.FileNotFoundException
        Specified by:
        fillCsvCaseData in interface IExportService
        Throws:
        java.io.FileNotFoundException
      • fillCsvCaseData

        public java.io.OutputStream fillCsvCaseData​(java.util.List<CaseSearchRequest> requests,
                                                    java.io.File outFile,
                                                    ExportDataConfig config,
                                                    LoggedUser user,
                                                    int pageSize,
                                                    java.util.Locale locale,
                                                    java.lang.Boolean isIntersection)
                                             throws java.io.FileNotFoundException
        Specified by:
        fillCsvCaseData in interface IExportService
        Throws:
        java.io.FileNotFoundException
      • buildCaseCsv

        public java.io.OutputStream buildCaseCsv​(java.util.List<Case> exportCases,
                                                 ExportDataConfig config,
                                                 java.io.File outFile)
                                          throws java.io.FileNotFoundException
        Specified by:
        buildCaseCsv in interface IExportService
        Throws:
        java.io.FileNotFoundException
      • fillCsvTaskData

        public java.io.OutputStream fillCsvTaskData​(java.util.List<ElasticTaskSearchRequest> requests,
                                                    java.io.File outFile)
                                             throws java.io.FileNotFoundException
        Specified by:
        fillCsvTaskData in interface IExportService
        Throws:
        java.io.FileNotFoundException
      • fillCsvTaskData

        public java.io.OutputStream fillCsvTaskData​(java.util.List<ElasticTaskSearchRequest> requests,
                                                    java.io.File outFile,
                                                    ExportDataConfig config,
                                                    LoggedUser user,
                                                    int pageSize,
                                                    java.util.Locale locale,
                                                    java.lang.Boolean isIntersection)
                                             throws java.io.FileNotFoundException
        Specified by:
        fillCsvTaskData in interface IExportService
        Throws:
        java.io.FileNotFoundException
      • fillCsvTaskData

        public java.io.OutputStream fillCsvTaskData​(com.querydsl.core.types.Predicate predicate,
                                                    java.io.File outFile)
                                             throws java.io.FileNotFoundException
        Specified by:
        fillCsvTaskData in interface IExportService
        Throws:
        java.io.FileNotFoundException
      • fillCsvTaskData

        public java.io.OutputStream fillCsvTaskData​(com.querydsl.core.types.Predicate predicate,
                                                    java.io.File outFile,
                                                    ExportDataConfig config)
                                             throws java.io.FileNotFoundException
        Specified by:
        fillCsvTaskData in interface IExportService
        Throws:
        java.io.FileNotFoundException
      • fillCsvTaskData

        public java.io.OutputStream fillCsvTaskData​(com.querydsl.core.types.Predicate predicate,
                                                    java.io.File outFile,
                                                    ExportDataConfig config,
                                                    int pageSize)
                                             throws java.io.FileNotFoundException
        Specified by:
        fillCsvTaskData in interface IExportService
        Throws:
        java.io.FileNotFoundException
      • buildTaskCsv

        public java.io.OutputStream buildTaskCsv​(java.util.List<Task> exportTasks,
                                                 ExportDataConfig config,
                                                 java.io.File outFile)
                                          throws java.io.FileNotFoundException
        Specified by:
        buildTaskCsv in interface IExportService
        Throws:
        java.io.FileNotFoundException
      • buildRecord

        public java.util.List<java.lang.String> buildRecord​(java.util.Set<java.lang.String> csvHeader,
                                                            Case exportCase)
        Specified by:
        buildRecord in interface IExportService
      • resolveFieldValue

        public java.lang.String resolveFieldValue​(Case exportCase,
                                                  java.lang.String exportFieldId)
        Specified by:
        resolveFieldValue in interface IExportService