Package cdc.impex.imports
Class CheckedSheetImporter
java.lang.Object
cdc.impex.imports.CheckedSheetImporter
- All Implemented Interfaces:
SheetImporter
- Direct Known Subclasses:
CheckedWorkbookImporter
-
Field Summary
FieldsFields inherited from interface cdc.impex.imports.SheetImporter
QUIET_VOID, VERBOSE_VOID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeginSheetImport(String systemId, String sheetName, SheetTemplate template, cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler) Invoked to notify the beginning of the import of a sheet.protected voidcheckStatus(ImpExStatus expected) voidendSheetImport(String systemId, String sheetName, SheetTemplateInstance templateInstance, cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler) Invoked to notify the end of the import of a sheet.voidimportHeader(SheetTemplateInstance templateInstance, cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler) voidInvoked to notify the import a row.
-
Field Details
-
status
-
-
Constructor Details
-
CheckedSheetImporter
public CheckedSheetImporter()
-
-
Method Details
-
checkStatus
-
beginSheetImport
public void beginSheetImport(String systemId, String sheetName, SheetTemplate template, cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler) Description copied from interface:SheetImporterInvoked to notify the beginning of the import of a sheet.- Specified by:
beginSheetImportin interfaceSheetImporter- 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.
-
importHeader
public void importHeader(SheetTemplateInstance templateInstance, cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler) - Specified by:
importHeaderin interfaceSheetImporter
-
importRow
Description copied from interface:SheetImporterInvoked to notify the import a row.- Specified by:
importRowin interfaceSheetImporter- 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, SheetTemplateInstance templateInstance, cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler) Description copied from interface:SheetImporterInvoked to notify the end of the import of a sheet.- Specified by:
endSheetImportin interfaceSheetImporter- Parameters:
systemId- The system if of the imported data.sheetName- The sheet name.templateInstance- The sheet template instance associated to this import.issuesHandler- The issues handler that should be used by the application to generate new issues.
-