Class TrashContentPagePopulator
- java.lang.Object
-
- de.hybris.platform.cmsfacades.cmsitems.populators.TrashContentPagePopulator
-
public class TrashContentPagePopulator extends java.lang.Object implements Populator<java.util.Map<java.lang.String,java.lang.Object>,ItemModel>
TrashContentPagePopulator populator for cmsfacades is used to ensure that a page that is being moved to the trash bin contains the right information (e.g., cannot have a homepage flag).
-
-
Constructor Summary
Constructors Constructor Description TrashContentPagePopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisPageInTrash(ContentPageModel contentPageModel)voidpopulate(java.util.Map<java.lang.String,java.lang.Object> source, ItemModel itemModel)Populate the target instance with values from the source instance.
-
-
-
Method Detail
-
populate
public void populate(java.util.Map<java.lang.String,java.lang.Object> source, ItemModel itemModel) throws ConversionExceptionDescription copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<java.util.Map<java.lang.String,java.lang.Object>,ItemModel>- Parameters:
source- the source objectitemModel- the target to fill- Throws:
ConversionException- if an error occurs
-
isPageInTrash
protected boolean isPageInTrash(ContentPageModel contentPageModel)
-
-