public interface ImportResultHandler
Modifier and Type | Method and Description |
---|---|
boolean |
handleErrorResult(DataImportService.ImportResult lastResult,
I18nHelper i18n,
ErrorCollection errorCollection)
Given an import result this method will take the appropriate actions to deal with errors such as throwing
up JohnsonEvents or populating the passed in errorcollection with the appropriate errors.
|
boolean handleErrorResult(DataImportService.ImportResult lastResult, I18nHelper i18n, ErrorCollection errorCollection)
context
- The servlet context needed to throw up a JohnsonEvent.lastResult
- The import result with validation errors.i18n
- I18n bean needed to i18nize any error messageserrorCollection
- The error collection to populate with specific error messagesCopyright © 2002-2015 Atlassian. All Rights Reserved.