|
Nicolas, Jahia currently does not fire a specific event
for page deletions. All the supported events are listed in org.jahia.data.events.JahiaEventListenerInterface.
You could try instead to capture the event fired when any content is deleted i.e. public void contentObjectDelete
(ContentObjectDeleteEvent theEvent); if the deleted event comes from a JahiaPage
deletion, then you could email your customer there. You would do this by
checking that theEvent.getObjectKey().getType().equals("ContentPage")
and you’d know the pid by doing theEvent.getObjectKey().getIDInType(). Another way would be to declare a new
event pageDeleted in Jahia which is fired from the page engine when a page is
deleted. Hope this helps, Marc From: Nicolas Lafaury
[mailto:[EMAIL PROTECTED] Hello I tried to catch an event when a page is deleted and
send an email to customer. But I don't find the Event. Do you know how I can know when this page is deleted? thanks for your help Nicolas Nicolas LAFAURY Ingénieur étude et dévelopement. Smile- Motoriste Internet 01-41-40-11-05 |
- EventListener Nicolas Lafaury
- RE: EventListener Marc Cardle
- RE: EventListener Nicolas Lafaury
