Class CheckedSheetImporter

    • Constructor Detail

      • CheckedSheetImporter

        public CheckedSheetImporter()
    • Method Detail

      • checkStatus

        protected void checkStatus​(ImpExStatus expected)
      • beginSheetImport

        public void beginSheetImport​(String systemId,
                                     String sheetName,
                                     SheetTemplate template,
                                     cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler)
        Description copied from interface: SheetImporter
        Invoked to notify the beginning of the import of a sheet.
        Specified by:
        beginSheetImport in interface SheetImporter
        Parameters:
        systemId - The system if of the imported data.
        sheetName - The sheet name.
        template - The sheet template associated to this import.
        issuesHandler - The issues handler that should be used by the application to generate new issues.
      • importRow

        public void importRow​(ImportRow row,
                              cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler)
        Description copied from interface: SheetImporter
        Invoked to notify the import a row.
        Specified by:
        importRow in interface SheetImporter
        Parameters:
        row - The imported row.
        issuesHandler - The issues handler that should be used by the application to generate new issues.
      • endSheetImport

        public void endSheetImport​(String systemId,
                                   String sheetName,
                                   SheetTemplate template,
                                   cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler)
        Description copied from interface: SheetImporter
        Invoked to notify the end of the import of a sheet.
        Specified by:
        endSheetImport in interface SheetImporter
        Parameters:
        systemId - The system if of the imported data.
        sheetName - The sheet name.
        template - The sheet template associated to this import.
        issuesHandler - The issues handler that should be used by the application to generate new issues.