Class EntryCollector

    • Field Detail

      • systemSession

        protected final SessionImpl systemSession
        The system session used to register an event listener and process the events as well as collect AC entries.
      • rootID

        protected final NodeId rootID
        The root id.
    • Method Detail

      • close

        protected void close()
        Release all resources contained by this instance. It will no longer be used. This implementation only stops listening to ac modification events.
        Overrides:
        close in class AccessControlObserver
      • collectEntries

        protected List<org.apache.jackrabbit.core.security.authorization.acl.Entry> collectEntries​(NodeImpl node,
                                                                                                   EntryFilter filter)
                                                                                            throws RepositoryException
        Collect the ACEs effective at the given node applying the specified filter.
        Parameters:
        node -
        filter -
        Returns:
        Throws:
        RepositoryException
      • getEntries

        protected org.apache.jackrabbit.core.security.authorization.acl.EntryCollector.Entries getEntries​(NodeImpl node)
                                                                                                   throws RepositoryException
        Retrieve the access control entries defined for the given node. If the node is not access controlled or if the ACL is empty this method returns an empty list.
        Parameters:
        node -
        Returns:
        Throws:
        RepositoryException
      • onEvent

        public void onEvent​(EventIterator events)
        Collects access controlled nodes that are effected by access control changes together with the corresponding modification types, and notifies access control listeners about the modifications.
        Specified by:
        onEvent in interface EventListener
        Parameters:
        events -