Class DataSetup
- java.lang.Object
-
- de.hybris.platform.commerceservices.setup.AbstractSystemSetup
-
- de.hybris.platform.c4ccustomer.datasetup.DataSetup
-
@SystemSetup(extension="c4ccustomer") public class DataSetup extends AbstractSystemSetup
Essential data creator.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.commerceservices.setup.AbstractSystemSetup
BOOLEAN_FALSE, BOOLEAN_TRUE
-
-
Constructor Summary
Constructors Constructor Description DataSetup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateEssentialData()Create essential data.voidcreateProjectData(SystemSetupContext context)This method will be called during the system initialization.protected voidcreateScript(java.lang.String modelId, java.lang.String scriptResource)java.util.List<SystemSetupParameter>getInitializationOptions()Abstract method to be implemented in subclasses.protected java.lang.StringreadFromResource(java.lang.String resource)voidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService)voidsetModelService(ModelService modelService)-
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
-
createEssentialData
@SystemSetup(type=ESSENTIAL, process=ALL) public void createEssentialData()
Create essential data.
-
createProjectData
@SystemSetup(type=PROJECT, process=ALL) public void createProjectData(SystemSetupContext context)
This method will be called during the system initialization.- Parameters:
context- the context providing selected parameters and values
-
createScript
protected void createScript(java.lang.String modelId, java.lang.String scriptResource)
-
readFromResource
protected java.lang.String readFromResource(java.lang.String resource)
-
setModelService
public void setModelService(ModelService modelService)
-
setFlexibleSearchService
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
-
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.
-
-