Class TestDataSystemSetup
- java.lang.Object
-
- de.hybris.platform.commerceservices.setup.AbstractSystemSetup
-
- de.hybris.platform.yacceleratortest.setup.TestDataSystemSetup
-
@SystemSetup(extension="yacceleratortest") public class TestDataSystemSetup extends AbstractSystemSetup
This class provides hooks into the system's initialization and update processes.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.commerceservices.setup.AbstractSystemSetup
BOOLEAN_FALSE, BOOLEAN_TRUE
-
-
Constructor Summary
Constructors Constructor Description TestDataSystemSetup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateEssentialData(SystemSetupContext context)Implement this method to create initial objects.voidcreateProjectData(SystemSetupContext context)Implement this method to create data that is used in your project.protected AcceleratorTestOrderDatagetAcceleratorTestOrderData()java.util.List<SystemSetupParameter>getInitializationOptions()Generates the Dropdown and Multi-select boxes for the projectdata importvoidsetAcceleratorTestOrderData(AcceleratorTestOrderData acceleratorTestOrderData)-
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
-
getAcceleratorTestOrderData
protected AcceleratorTestOrderData getAcceleratorTestOrderData()
-
setAcceleratorTestOrderData
public void setAcceleratorTestOrderData(AcceleratorTestOrderData acceleratorTestOrderData)
-
getInitializationOptions
@SystemSetupParameterMethod public java.util.List<SystemSetupParameter> getInitializationOptions()
Generates the Dropdown and Multi-select boxes for the projectdata import- Specified by:
getInitializationOptionsin classAbstractSystemSetup- Returns:
- the list of SystemSetupParameters for the SystemSetup class.
-
createEssentialData
@SystemSetup(type=ESSENTIAL, process=ALL) public void createEssentialData(SystemSetupContext context)
Implement this method to create initial objects. This method will be called by system creator during initialization and system update. Be sure that this method can be called repeatedly.- Parameters:
context- the context provides the selected parameters and values
-
createProjectData
@SystemSetup(type=PROJECT, process=ALL) public void createProjectData(SystemSetupContext context)
Implement this method to create data that is used in your project. This method will be called during the system initialization.- Parameters:
context- the context provides the selected parameters and values
-
-