Class PropertyValueFilter
- java.lang.Object
-
- org.alfresco.event.sdk.handling.filter.AbstractEventFilter
-
- org.alfresco.event.sdk.handling.filter.PropertyValueFilter
-
- All Implemented Interfaces:
EventFilter
- Direct Known Subclasses:
PropertyCurrentValueFilter,PropertyPreviousValueFilter
public abstract class PropertyValueFilter extends AbstractEventFilter
AbstractEventFilterclass that has the common functionality that checks if an event represents a node with a specific property with a specific value.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringpropertyNameprotected SerializablepropertyValue
-
Constructor Summary
Constructors Constructor Description PropertyValueFilter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract booleancheckPropertyValue(RepoEvent<DataAttributes<Resource>> event)booleantest(RepoEvent<DataAttributes<Resource>> event)Evaluates this predicate on the given argument.-
Methods inherited from class org.alfresco.event.sdk.handling.filter.AbstractEventFilter
hasAspectAfter, hasAspectBefore, hasPropertyAfter, hasPropertyBefore, hasResourceBefore, isAssocEvent, isContentEvent, isEventWellFormed, isNodeEvent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.alfresco.event.sdk.handling.filter.EventFilter
and, negate, or
-
-
-
-
Field Detail
-
propertyName
protected String propertyName
-
propertyValue
protected Serializable propertyValue
-
-
Method Detail
-
test
public boolean test(RepoEvent<DataAttributes<Resource>> event)
Description copied from interface:EventFilterEvaluates this predicate on the given argument.- Parameters:
event- the input argument- Returns:
trueif the input argument matches the predicate, otherwisefalse
-
checkPropertyValue
protected abstract boolean checkPropertyValue(RepoEvent<DataAttributes<Resource>> event)
-
-