Package com.day.cq.wcm.api
Class PageEvent
java.lang.Object
com.day.cq.wcm.api.PageEvent
- All Implemented Interfaces:
Serializable
This event is fired for each page change.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPageEvent(List<PageModification> mods) PageEvent(List<PageModification> mods, boolean isLocal) -
Method Summary
-
Field Details
-
EVENT_TOPIC
Event topic for page modification events.- See Also:
-
-
Constructor Details
-
PageEvent
-
PageEvent
-
PageEvent
-
-
Method Details
-
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:
trueif this is a local event
-
fromEvent
Convert an OSGi event to a page event if possible.- Parameters:
evt- The OSGi event.- Returns:
- The page even or null.
-
toEvent
Create a distributable event.- Returns:
- An event.
-
toNonDistributableEvent
Create a non distributable event.- Returns:
- An event.
-