Class PageInitializerPopulator
java.lang.Object
de.hybris.platform.cmsfacades.cmsitems.populators.PageInitializerPopulator
public class PageInitializerPopulator
extends Object
implements Populator<Map<String,Object>,ItemModel>
performs the necessary initialization that a newly created
AbstractPageModel may require before saving.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ItemModelPrepareInterceptorServiceprotected ModelServiceprotected PageInitializerprotected RelatedPageRejectionServiceprotected booleanisPageBeingCloned(Map<String, Object> source) Verifies if the page is being cloned or not.voidPopulate the target instance with values from the source instance.voidsetItemModelPrepareInterceptorService(ItemModelPrepareInterceptorService itemModelPrepareInterceptorService) voidsetModelService(ModelService modelService) voidsetPageInitializer(PageInitializer pageInitializer) voidsetRelatedPageRejectionService(RelatedPageRejectionService relatedPageRejectionService)
-
Constructor Details
-
PageInitializerPopulator
public PageInitializerPopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance. -
isPageBeingCloned
Verifies if the page is being cloned or not.- Parameters:
source- the map containing page cloning context information- Returns:
- TRUE if the page is being clone, FALSE otherwise
-
setPageInitializer
-
getPageInitializer
-
setModelService
-
getModelService
-
getRelatedPageRejectionService
-
getItemModelPrepareInterceptorService
-
setItemModelPrepareInterceptorService
public void setItemModelPrepareInterceptorService(ItemModelPrepareInterceptorService itemModelPrepareInterceptorService)
-