Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5023

add applyNoteTypeOnSelf property to OakEventFilter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.12
    • 1.5.13, 1.6.0
    • jcr
    • None

    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:

      boolean applyOnOwnNode;
      

      Attachments

        Issue Links

          Activity

            People

              stefanegli Stefan Egli
              stefanegli Stefan Egli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: