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)
Return a
Predicate with which to filter JCR Event s. |
public DefaultFilter()
public com.google.common.base.Predicate<javax.jcr.observation.Event> getFilter(javax.jcr.Session session)
EventFilter
Predicate
with which to filter JCR Event
s.getFilter
in interface EventFilter
public boolean apply(javax.jcr.observation.Event event)
apply
in interface com.google.common.base.Predicate<javax.jcr.observation.Event>
Copyright © 2013-2015 DuraSpace, Inc.. All Rights Reserved.