Class PropertyPreviousValueFilter
- java.lang.Object
-
- org.alfresco.event.sdk.handling.filter.AbstractEventFilter
-
- org.alfresco.event.sdk.handling.filter.PropertyValueFilter
-
- org.alfresco.event.sdk.handling.filter.PropertyPreviousValueFilter
-
- All Implemented Interfaces:
EventFilter
public class PropertyPreviousValueFilter extends PropertyValueFilter
EventFilterthat checks if an event represents a node with a specific property with a specific previous value.
-
-
Field Summary
-
Fields inherited from class org.alfresco.event.sdk.handling.filter.PropertyValueFilter
propertyName, propertyValue
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancheckPropertyValue(RepoEvent<DataAttributes<Resource>> event)static PropertyPreviousValueFilterof(String propertyName, Serializable propertyValue)Obtain aPropertyPreviousValueFilterfor a specific property and value.-
Methods inherited from class org.alfresco.event.sdk.handling.filter.PropertyValueFilter
test
-
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
-
-
-
-
Method Detail
-
of
public static PropertyPreviousValueFilter of(String propertyName, Serializable propertyValue)
Obtain aPropertyPreviousValueFilterfor a specific property and value.- Parameters:
propertyName- given name of the propertypropertyValue- given value for the property- Returns:
- created
PropertyPreviousValueFilter
-
checkPropertyValue
protected boolean checkPropertyValue(RepoEvent<DataAttributes<Resource>> event)
- Specified by:
checkPropertyValuein classPropertyValueFilter
-
-