Package cdc.impex.api
Class DefaultImportHandler
- java.lang.Object
-
- cdc.impex.api.DefaultImportHandler
-
- All Implemented Interfaces:
ImportHandler
public class DefaultImportHandler extends Object implements ImportHandler
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultImportHandlerQUIETstatic DefaultImportHandlerVERBOSE
-
Constructor Summary
Constructors Modifier Constructor Description protectedDefaultImportHandler(boolean verbose)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeginImport(String systemId, cdc.issues.api.IssuesHandler<ImportIssueType> issuesHandler)Invoked to notify the beginning of import.voidbeginSheetImport(String systemId, String sheetName, SheetTemplate template, cdc.issues.api.IssuesHandler<ImportIssueType> issuesHandler)Invoked to notify the beginning of the import of a sheet.voidendImport(String systemId, cdc.issues.api.IssuesHandler<ImportIssueType> issuesHandler)Invoked to notify the end of import.voidendSheetImport(String systemId, String sheetName, SheetTemplate template, cdc.issues.api.IssuesHandler<ImportIssueType> issuesHandler)Invoked to notify the end of the import of a sheet.voidimportRow(ImportRow row, cdc.issues.api.IssuesHandler<ImportIssueType> issuesHandler)Invoked to notify the import a row.
-
-
-
Field Detail
-
VERBOSE
public static final DefaultImportHandler VERBOSE
-
QUIET
public static final DefaultImportHandler QUIET
-
-
Method Detail
-
beginImport
public void beginImport(String systemId, cdc.issues.api.IssuesHandler<ImportIssueType> issuesHandler)
Description copied from interface:ImportHandlerInvoked to notify the beginning of import.- Specified by:
beginImportin interfaceImportHandler- Parameters:
systemId- The system if of the imported data.issuesHandler- The issues handler that should be used by the application to generate new issues.
-
beginSheetImport
public void beginSheetImport(String systemId, String sheetName, SheetTemplate template, cdc.issues.api.IssuesHandler<ImportIssueType> issuesHandler)
Description copied from interface:ImportHandlerInvoked to notify the beginning of the import of a sheet.- Specified by:
beginSheetImportin interfaceImportHandler- 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.api.IssuesHandler<ImportIssueType> issuesHandler)
Description copied from interface:ImportHandlerInvoked to notify the import a row.- Specified by:
importRowin interfaceImportHandler- 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.api.IssuesHandler<ImportIssueType> issuesHandler)
Description copied from interface:ImportHandlerInvoked to notify the end of the import of a sheet.- Specified by:
endSheetImportin interfaceImportHandler- 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.
-
endImport
public void endImport(String systemId, cdc.issues.api.IssuesHandler<ImportIssueType> issuesHandler)
Description copied from interface:ImportHandlerInvoked to notify the end of import.- Specified by:
endImportin interfaceImportHandler- Parameters:
systemId- The system if of the imported data.issuesHandler- The issues handler that should be used by the application to generate new issues.
-
-