Class ImportResult


  • public class ImportResult
    extends Object
    Provides an import bean containing information about a successfully completed import action.
    • Constructor Detail

      • ImportResult

        public ImportResult​(ImportResult.ImportType importType,
                            String importMessage,
                            List<String> warnings)
        Creates an ImportResult object using the specified parameters
        Parameters:
        importType - the import type
        importMessage - a message describing the outcome of the import entity (e.g. "Organization 'Test Import' was imported successfully.")
        warnings - a list of warnings arising during the import process that may be of interest to the user
    • Method Detail

      • getImportMessage

        public String getImportMessage()
        Return the import message
        Returns:
        the import message
      • getWarnings

        public List<String> getWarnings()
        Return the list of warnings
        Returns:
        the list of warnings