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
  • Constructor Details

  • Method Details

    • getInitializationOptions

      public List<SystemSetupParameter> getInitializationOptions()
      Description copied from class: AbstractSystemSetup
      Abstract method to be implemented in subclasses.
      Specified by:
      getInitializationOptions in class AbstractSystemSetup
      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

      protected CMSSyncSearchRestrictionService getCmsSyncSearchRestrictionService()