You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Stefan Egli (JIRA)" <ji...@apache.org> on 2016/10/27 09:06:01 UTC

[jira] [Updated] (OAK-5023) add applyOnOwnNode property to OakEventFilter

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

Stefan Egli updated OAK-5023:
-----------------------------
    Description: 
(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}

  was:
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}


> add applyOnOwnNode 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)