Class CMS2SystemSetup
java.lang.Object
de.hybris.platform.cms2.systemsetup.CMS2SystemSetup
The Class CMS2SystemSetup - responsible for creating essential data for CMS2 extension.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateNumberSeries(String key) voidCreates the number series for CMS2 related types.voidCreate searchRestrictions for syncprotected CMSSyncSearchRestrictionServiceprotected FlexibleSearchServiceAccessor for aFlexibleSearchServicewhich might be helpful on higher levels of the class hierarchy.protected ModelServiceprotected TypeServiceprotected UserServicevoidSets a defaultCmsPageStatus#ACTIVEpageStatus value for Abstract pagesvoidMigrates old CMSNavigationvoidsetCmsSyncSearchRestrictionService(CMSSyncSearchRestrictionService cmsSyncSearchRestrictionService) voidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService) voidsetModelService(ModelService modelService) voidsetTypeService(TypeService typeService) voidsetUserService(UserService userService)
-
Constructor Details
-
CMS2SystemSetup
public CMS2SystemSetup()
-
-
Method Details
-
createNumberSeriesForTypes
Creates the number series for CMS2 related types. -
initializeDefaultPageStatus
Sets a defaultCmsPageStatus#ACTIVEpageStatus value for Abstract pages -
createSyncSearchRestrictions
@SystemSetup(type=ESSENTIAL, process=ALL, patch=true, required=true) public void createSyncSearchRestrictions()Create searchRestrictions for sync -
createNumberSeries
-
setFlexibleSearchService
-
getFlexibleSearchService
Accessor for aFlexibleSearchServicewhich might be helpful on higher levels of the class hierarchy.- Returns:
- the flexibleSearchService
-
setModelService
-
getModelService
-
getUserService
-
setUserService
-
getTypeService
-
setTypeService
-
getCmsSyncSearchRestrictionService
-
setCmsSyncSearchRestrictionService
public void setCmsSyncSearchRestrictionService(CMSSyncSearchRestrictionService cmsSyncSearchRestrictionService)
-