Class PageEvent

java.lang.Object
com.day.cq.wcm.api.PageEvent
All Implemented Interfaces:
Serializable

public final class PageEvent extends Object implements Serializable
This event is fired for each page change.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getModifications

      public Iterator<PageModification> getModifications()
      Get the list of modifications.
      Returns:
      An iterator for the modifications.
    • isLocal

      public boolean isLocal()
      Is this a local or a cluster event?
      Returns:
      true if this is a local event
    • fromEvent

      public static PageEvent fromEvent(Event evt)
      Convert an OSGi event to a page event if possible.
      Parameters:
      evt - The OSGi event.
      Returns:
      The page even or null.
    • toEvent

      public Event toEvent()
      Create a distributable event.
      Returns:
      An event.
    • toNonDistributableEvent

      public Event toNonDistributableEvent()
      Create a non distributable event.
      Returns:
      An event.