Class OndemandSampleDataSystemSetup
- java.lang.Object
-
- de.hybris.platform.commerceservices.setup.AbstractSystemSetup
-
- de.hybris.platform.integration.ondemand.sampledata.event.OndemandSampleDataSystemSetup
-
public class OndemandSampleDataSystemSetup extends AbstractSystemSetup
This class imports the ondemand sample data. It does not hook into the normal system setup processing but instead is triggered by the SampleDataImportedEventListener
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.commerceservices.setup.AbstractSystemSetup
BOOLEAN_FALSE, BOOLEAN_TRUE
-
-
Constructor Summary
Constructors Constructor Description OndemandSampleDataSystemSetup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CoreDataImportServicegetCoreDataImportService()java.util.List<SystemSetupParameter>getInitializationOptions()Abstract method to be implemented in subclasses.protected voidimportCommonIntegrationData(SystemSetupContext context, java.lang.String importDirectory)protected voidimportIntegrationData(SystemSetupContext context, java.lang.String importDirectory, java.lang.String storeName)voidimportSampleData(java.lang.String importDirectory, SystemSetupContext context, java.util.List<ImportData> importData)voidsetCoreDataImportService(CoreDataImportService coreDataImportService)-
Methods inherited from class de.hybris.platform.commerceservices.setup.AbstractSystemSetup
activateSolrIndexerCronJobs, createBooleanSystemSetupParameter, createContentCatalogSyncJob, createProductCatalogSyncJob, createSolrIndexerCronJobs, executeCatalogSyncJob, executeSolrIndexerCronJob, getBooleanSystemSetupParameter, getCatalogSyncJob, getCatalogVersionService, getDefaultValueForBooleanSystemSetupParameter, getEventService, getSetupImpexService, getSetupSolrIndexerService, getSetupSyncJobService, importImpexFile, importImpexFile, importImpexFile, isSyncRerunNeeded, logError, logInfo, setCatalogVersionService, setEventService, setSetupImpexService, setSetupSolrIndexerService, setSetupSyncJobService
-
-
-
-
Method Detail
-
importSampleData
public void importSampleData(java.lang.String importDirectory, SystemSetupContext context, java.util.List<ImportData> importData)
-
importIntegrationData
protected void importIntegrationData(SystemSetupContext context, java.lang.String importDirectory, java.lang.String storeName)
-
importCommonIntegrationData
protected void importCommonIntegrationData(SystemSetupContext context, java.lang.String importDirectory)
-
getInitializationOptions
public java.util.List<SystemSetupParameter> getInitializationOptions()
Description copied from class:AbstractSystemSetupAbstract method to be implemented in subclasses.- Specified by:
getInitializationOptionsin classAbstractSystemSetup- Returns:
- the list of SystemSetupParameters for the SystemSetup class.
-
getCoreDataImportService
protected CoreDataImportService getCoreDataImportService()
-
setCoreDataImportService
public void setCoreDataImportService(CoreDataImportService coreDataImportService)
-
-