Class AcceleratorCmsSystemSetup
java.lang.Object
de.hybris.platform.commerceservices.setup.AbstractSystemSetup
de.hybris.platform.acceleratorcms.setup.AcceleratorCmsSystemSetup
@SystemSetup(extension="acceleratorcms")
public class AcceleratorCmsSystemSetup
extends AbstractSystemSetup
-
Field Summary
Fields inherited from class de.hybris.platform.commerceservices.setup.AbstractSystemSetup
BOOLEAN_FALSE, BOOLEAN_TRUE -
Constructor Summary
ConstructorsConstructorDescriptionAcceleratorCmsSystemSetup(CMSSyncSearchRestrictionService cmsSyncSearchRestrictionService) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateEssentialData(SystemSetupContext context) voidIn CMS ContentCatalog synchronization, some changes which are not approved by mananger will not allowed to sync to online.protected CMSSyncSearchRestrictionServiceAbstract method to be implemented in subclasses.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
-
Constructor Details
-
AcceleratorCmsSystemSetup
-
-
Method Details
-
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.
-
createEssentialData
@SystemSetup(type=ESSENTIAL, process=ALL) public void createEssentialData(SystemSetupContext context) -
createSyncSearchRestrictions
@SystemSetup(type=ESSENTIAL, process=ALL, patch=true, required=true) public void createSyncSearchRestrictions()In CMS ContentCatalog synchronization, some changes which are not approved by mananger will not allowed to sync to online. It use SearchRestrictin to stop the unapproved change to sync to online. This function will create searchRestrictions on MediaContainer and Media, others like searchRestriction of AbstractCMSComponent are created in cms2. Those SearchRestrictions' principal is 'cmssyncuser' which only be used as session user of cms content catalog synchronization. -
getCmsSyncSearchRestrictionService
-