Class RestoreContentPagePopulator
java.lang.Object
de.hybris.platform.cmsfacades.cmsitems.populators.RestoreContentPagePopulator
public class RestoreContentPagePopulator
extends Object
implements Populator<Map<String,Object>,ItemModel>
RestoreContentPagePopulator populator for cmsfacades used to replace a category page with same label while page
restore with replace set to true.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PageVariationResolver<ContentPageModel>protected booleanpageBeReplaced(Map<String, Object> source) voidPopulate the target instance with values from the source instance.voidsetPageVariationResolver(PageVariationResolver<ContentPageModel> pageVariationResolver) voidsetPrimaryPageWithLabelExistsPredicate(Predicate<String> primaryPageWithLabelExistsPredicate) protected voidswapHomePage(ContentPageModel contentPageModel)
-
Constructor Details
-
RestoreContentPagePopulator
public RestoreContentPagePopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance. -
swapHomePage
-
pageBeReplaced
-
getPrimaryPageWithLabelExistsPredicate
-
setPrimaryPageWithLabelExistsPredicate
-
getPageVariationResolver
-
setPageVariationResolver
-