public class DefaultFilter extends Object implements org.fcrepo.kernel.observer.EventFilter
EventFilter that passes only events emitted from nodes with a Fedora
JCR type, or properties attached to them, except in the case of a node
removal. In that case, since we cannot test the node for its types, we assume
that any non-JCR namespaced node is fair game.| Constructor and Description |
|---|
DefaultFilter()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(javax.jcr.observation.Event event) |
com.google.common.base.Predicate<javax.jcr.observation.Event> |
getFilter(javax.jcr.Session session) |
public com.google.common.base.Predicate<javax.jcr.observation.Event> getFilter(javax.jcr.Session session)
getFilter in interface org.fcrepo.kernel.observer.EventFilterpublic boolean apply(javax.jcr.observation.Event event)
apply in interface com.google.common.base.Predicate<javax.jcr.observation.Event>Copyright © 2013–2014 DuraSpace, Inc.. All rights reserved.