Class ImportResult

java.lang.Object
com.avoka.fc.core.bean.ImportResult

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

    • 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 Details

    • getImportType

      public ImportResult.ImportType getImportType()
      Return the import type
      Returns:
      the import type
    • 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