[ 
https://issues.apache.org/jira/browse/JCR-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Egli updated JCR-4037:
-----------------------------
    Attachment: JCR-4037.patch

Attaching [^JCR-4037.patch] which suggests the introduction of a new property 
to the JackrabbitEventFilter:
* {{includeSubtreeOnRemove}}

If this property is set to true it would apply the filter also on all nodes of 
the entire subtree that was removed with a node.

> add includeSubtreeOnDelete flag to JackrabbitEventFilter
> --------------------------------------------------------
>
>                 Key: JCR-4037
>                 URL: https://issues.apache.org/jira/browse/JCR-4037
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: observation
>    Affects Versions: 2.13.3
>            Reporter: Stefan Egli
>         Attachments: JCR-4037.patch
>
>
> In some cases of observation it would be useful to receive events of child 
> node or properties of a parent/grandparent that was deleted. Currently (in 
> Oak at least) one only receives a deleted event for the node that was deleted 
> and none of the children.
> Suggesting to (re)introduce a flag, eg as follows to the 
> JackrabbitEventFilter:
> {code}
> boolean includeSubtreeOnDelete;
> {code}
> (Open for any better name of course)
> /cc [~mduerig], [~mreutegg]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to