public class DefaultFilter extends Object implements 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) |
protected static Collection<String> |
getMixinTypes(javax.jcr.observation.Event event) |
public com.google.common.base.Predicate<javax.jcr.observation.Event> getFilter(javax.jcr.Session session)
getFilter in interface EventFilterpublic boolean apply(javax.jcr.observation.Event event)
apply in interface com.google.common.base.Predicate<javax.jcr.observation.Event>protected static Collection<String> getMixinTypes(javax.jcr.observation.Event event) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException
javax.jcr.PathNotFoundExceptionjavax.jcr.RepositoryExceptionCopyright © 2013-2015 DuraSpace, Inc.. All Rights Reserved.