com.elasticpath.service.dataimport
Interface ImportJobRunner

All Superinterfaces:
EpPersistenceService, EpService, java.lang.Runnable
All Known Implementing Classes:
ImportJobRunnerCategoryImpl, ImportJobRunnerCustomerImpl, ImportJobRunnerProductImpl, ImportJobRunnerProductSkuImpl

public interface ImportJobRunner
extends EpPersistenceService, java.lang.Runnable

Represents an import job runner.


Method Summary
 void setImportJob(ImportJob importJob)
          Sets the import job.
 java.util.List validate()
          Validate the import job.
 
Methods inherited from interface com.elasticpath.service.EpPersistenceService
getObject, getPersistenceEngine, setPersistenceEngine
 
Methods inherited from interface com.elasticpath.service.EpService
getElasticPath, setElasticPath
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

setImportJob

void setImportJob(ImportJob importJob)
Sets the import job.

Parameters:
importJob - the import job to set.

validate

java.util.List validate()
Validate the import job.

Returns:
a list of ImportBadRow, or a empty list if there is no errors.