Class PropertyCurrentValueFilter
java.lang.Object
org.alfresco.event.sdk.handling.filter.AbstractEventFilter
org.alfresco.event.sdk.handling.filter.PropertyValueFilter
org.alfresco.event.sdk.handling.filter.PropertyCurrentValueFilter
- All Implemented Interfaces:
EventFilter
EventFilter that checks if an event represents a node with a specific property with a specific current value.-
Field Summary
Fields inherited from class org.alfresco.event.sdk.handling.filter.PropertyValueFilter
propertyName, propertyValue -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancheckPropertyValue(org.alfresco.repo.event.v1.model.RepoEvent<org.alfresco.repo.event.v1.model.DataAttributes<org.alfresco.repo.event.v1.model.Resource>> event) static PropertyCurrentValueFilterof(String propertyName, Serializable propertyValue) Obtain aPropertyCurrentValueFilterfor a specific property and value.Methods inherited from class org.alfresco.event.sdk.handling.filter.PropertyValueFilter
testMethods inherited from class org.alfresco.event.sdk.handling.filter.AbstractEventFilter
hasAspectAfter, hasAspectBefore, hasPropertyAfter, hasPropertyBefore, hasResourceBefore, isAssocEvent, isContentEvent, isEventWellFormed, isNodeEventMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.alfresco.event.sdk.handling.filter.EventFilter
and, negate, or
-
Method Details
-
of
Obtain aPropertyCurrentValueFilterfor a specific property and value.- Parameters:
propertyName- given name of the propertypropertyValue- given value for the property- Returns:
- created
PropertyCurrentValueFilter
-
checkPropertyValue
protected boolean checkPropertyValue(org.alfresco.repo.event.v1.model.RepoEvent<org.alfresco.repo.event.v1.model.DataAttributes<org.alfresco.repo.event.v1.model.Resource>> event) - Specified by:
checkPropertyValuein classPropertyValueFilter
-