Class CoreSystemSetup
- java.lang.Object
-
- de.hybris.platform.commerceservices.setup.AbstractSystemSetup
-
- de.hybris.platform.yacceleratorcore.setup.CoreSystemSetup
-
@SystemSetup(extension="yacceleratorcore") public class CoreSystemSetup extends AbstractSystemSetup
This class provides hooks into the system's initialization and update processes.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringIMPORT_ACCESS_RIGHTS-
Fields inherited from class de.hybris.platform.commerceservices.setup.AbstractSystemSetup
BOOLEAN_FALSE, BOOLEAN_TRUE
-
-
Constructor Summary
Constructors Constructor Description CoreSystemSetup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateEssentialData(SystemSetupContext context)This method will be called by system creator during initialization and system update.voidcreateProjectData(SystemSetupContext context)This method will be called during the system initialization.protected java.util.List<java.lang.String>getExtensionNames()java.util.List<SystemSetupParameter>getInitializationOptions()Generates the Dropdown and Multi-select boxes for the project data importprotected voidprocessCockpit(SystemSetupContext context, boolean importAccessRights, java.util.List<java.lang.String> extensionNames, java.lang.String cockpit, java.lang.String... files)-
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
-
-
-
-
Field Detail
-
IMPORT_ACCESS_RIGHTS
public static final java.lang.String IMPORT_ACCESS_RIGHTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
createEssentialData
@SystemSetup(type=ESSENTIAL, process=ALL) public void createEssentialData(SystemSetupContext context)
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
-
getInitializationOptions
@SystemSetupParameterMethod public java.util.List<SystemSetupParameter> getInitializationOptions()
Generates the Dropdown and Multi-select boxes for the project data import- Specified by:
getInitializationOptionsin classAbstractSystemSetup- Returns:
- the list of SystemSetupParameters for the SystemSetup class.
-
createProjectData
@SystemSetup(type=PROJECT, process=ALL) public void createProjectData(SystemSetupContext context)
This method will be called during the system initialization.- Parameters:
context- the context provides the selected parameters and values
-
processCockpit
protected void processCockpit(SystemSetupContext context, boolean importAccessRights, java.util.List<java.lang.String> extensionNames, java.lang.String cockpit, java.lang.String... files)
-
getExtensionNames
protected java.util.List<java.lang.String> getExtensionNames()
-
-