Am Dienstag, 10. Oktober 2006 16:44 schrieb Harold CAPITAINE:
> Hi list,
>
> I'd like to know if it's possible to differentiate event concerning a
> change on nodeData and event concerning change on property of a node
> like mgnl:creationdate.

Based on the documentation for javax.jcr.observation.ObservationManager, I 
guess the answer is no.  You can restrict the observations to the node 
references by the given path though (isDeep=false).  That way you don't get 
observations for changes to subnodes. This would exclude properties like 
mgnl:creationdate which is a property of a page's MetaData.

>
> For example is it possible to do an action only when the name of a node
> data is changed and not when its mgnl:creation date is changed.
>
> I already tried to use ObservationUtil.registerChangeListener(); But the
> ObservationUtil doesn't differentiate the two event described previously.
>
> So if you have some ideas, I will listen to them.
>
> Thanks for your replies.
>
> CAPITAINE Harold
>
> ----------------------------------------------------------------
> for list details see
> http://www.magnolia.info/en/magnolia/developer.html
> ----------------------------------------------------------------

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to