@SystemSetup(extension="chinesestoreaddon") public class ChineseStoreAddonSystemSetup extends AbstractSystemSetup
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELECTRONICS |
static java.lang.String |
POWERTOOLS |
BOOLEAN_FALSE, BOOLEAN_TRUE| Constructor and Description |
|---|
ChineseStoreAddonSystemSetup() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addImportData(java.util.List<ImportData> importDataList,
java.lang.String site)
add importData to importDatalist
|
void |
createProjectData(SystemSetupContext context)
This method will be called during the system initialization.
|
BaseSiteService |
getBaseSiteService() |
java.util.List<SystemSetupParameter> |
getInitializationOptions()
This method will be used for initialization.
|
protected void |
importCoreData(SystemSetupContext context,
java.util.List<ImportData> importData)
this method will import that impex files in coredata.
|
protected void |
importCoreDataCommon(java.lang.String extensionName)
this method will import that impex files in common folder.
|
protected void |
importCoreDataProductCatalog(java.lang.String extensionName)
this method will import that impex files in productCatalogs folder.
|
protected void |
importCoreDataStore(java.lang.String extensionName,
java.lang.String storeName)
this method will import that impex files in stores folder.
|
protected void |
importSampleData(SystemSetupContext context,
java.util.List<ImportData> importData)
this method will import that impex files in sampledata.
|
protected void |
importSampleDataProductCatalog(java.lang.String extensionName,
java.lang.String productCatalogName)
this method will import that impex files in ProductCatalog folder.
|
protected void |
importSampleDataSolrIndex(java.lang.String extensionName,
java.lang.String storeName)
this method will import that impex files in solr folder.
|
protected void |
importSampleDataStore(java.lang.String extensionName,
java.lang.String storeName)
this method will import that impex files in stores folder.
|
protected void |
runSolrIndex(java.lang.String storeName)
this method will synchronizing solr.
|
void |
setBaseSiteService(BaseSiteService baseSiteService) |
protected void |
synchronizeProductCatalog(SystemSetupContext context,
ImportData importData)
this method will synchronizing productCatalog.
|
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, setSetupSyncJobServicepublic static final java.lang.String ELECTRONICS
public static final java.lang.String POWERTOOLS
@SystemSetupParameterMethod public java.util.List<SystemSetupParameter> getInitializationOptions()
getInitializationOptions in class AbstractSystemSetup@SystemSetup(type=PROJECT, process=ALL) public void createProjectData(SystemSetupContext context)
context - the context provides the selected parameters and valuesprotected void importCoreData(SystemSetupContext context, java.util.List<ImportData> importData)
context - the context provides the selected parameters and valuesimportData - it provide parameters of
ProductCatalogName,ContentCatalogName,StoreName.protected void importSampleData(SystemSetupContext context, java.util.List<ImportData> importData)
context - the context provides the selected parameters and valuesimportData - it provide parameters of
ProductCatalogName,ContentCatalogName,StoreName.protected void importCoreDataCommon(java.lang.String extensionName)
extensionName - which extension should be importprotected void importCoreDataProductCatalog(java.lang.String extensionName)
extensionName - which extension should be importprotected void importCoreDataStore(java.lang.String extensionName,
java.lang.String storeName)
extensionName - which extension should be importstoreName - which store should be importprotected void importSampleDataProductCatalog(java.lang.String extensionName,
java.lang.String productCatalogName)
extensionName - which extension should be importprotected void importSampleDataStore(java.lang.String extensionName,
java.lang.String storeName)
extensionName - which extension should be importprotected void importSampleDataSolrIndex(java.lang.String extensionName,
java.lang.String storeName)
extensionName - protected void synchronizeProductCatalog(SystemSetupContext context, ImportData importData)
context - System setup contextimportData - it provide parameters of
ProductCatalogName,ContentCatalogName,StoreName.protected void runSolrIndex(java.lang.String storeName)
storeName - which store should be run solr.public BaseSiteService getBaseSiteService()
public void setBaseSiteService(BaseSiteService baseSiteService)
protected void addImportData(java.util.List<ImportData> importDataList, java.lang.String site)
importDataList - is used for setting parameter of
ProductCatalogName,ContentCatalogName,StoreName. That is used
for import data.site - is parameter for chose which site's data should be import.Copyright © 2017 SAP SE. All Rights Reserved.