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

Stefan Egli resolved OAK-5023.
------------------------------
    Resolution: Fixed

Introduced new switch on OakEventFilter 
[here|http://svn.apache.org/viewvc?rev=1767266&view=rev]:
{code}
public abstract OakEventFilter withApplyNodeTypeOnSelf();
{code}

> add applyNoteTypeOnSelf property to OakEventFilter
> --------------------------------------------------
>
>                 Key: OAK-5023
>                 URL: https://issues.apache.org/jira/browse/OAK-5023
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: jcr
>    Affects Versions: 1.5.12
>            Reporter: Stefan Egli
>            Assignee: Stefan Egli
>
> (Originally reported as JCR-4048, but moved to Oak as a result of introducing 
> the OakEventFilter in OAK-5013. From the original description: )
> There seems to be a rather frequent use case of observation around which 
> would like to create a filter on a _child_ rather than on a _parent_: 
> consider the case when you'd like to filter for the removal of a node that 
> has a particular nodeType. This can't be achieved atm as the nodeType is 
> applicable to the parent of the node that changes, not the node itself (ie 
> child).
> Therefore suggesting the introduction of a flag similar to the following:
> {code}
> boolean applyOnOwnNode;
> {code}



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

Reply via email to