Class TrashContentPagePopulator

  • All Implemented Interfaces:
    Populator<java.util.Map<java.lang.String,​java.lang.Object>,​ItemModel>

    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).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean isPageInTrash​(ContentPageModel contentPageModel)  
      void populate​(java.util.Map<java.lang.String,​java.lang.Object> source, ItemModel itemModel)
      Populate the target instance with values from the source instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TrashContentPagePopulator

        public TrashContentPagePopulator()
    • Method Detail

      • populate

        public void populate​(java.util.Map<java.lang.String,​java.lang.Object> source,
                             ItemModel itemModel)
                      throws ConversionException
        Description copied from interface: Populator
        Populate the target instance with values from the source instance.
        Specified by:
        populate in interface Populator<java.util.Map<java.lang.String,​java.lang.Object>,​ItemModel>
        Parameters:
        source - the source object
        itemModel - the target to fill
        Throws:
        ConversionException - if an error occurs
      • isPageInTrash

        protected boolean isPageInTrash​(ContentPageModel contentPageModel)