Class AbstractEventFilter
- java.lang.Object
-
- org.alfresco.event.sdk.handling.filter.AbstractEventFilter
-
- All Implemented Interfaces:
EventFilter
- Direct Known Subclasses:
AspectAddedFilter,AspectRemovedFilter,AssocTypeFilter,ContentAddedFilter,ContentChangedFilter,EventTypeFilter,IsFileFilter,IsFolderFilter,MimeTypeFilter,NodeAspectFilter,NodeMovedFilter,NodeTypeChangedFilter,NodeTypeFilter,PropertyAddedFilter,PropertyChangedFilter,PropertyRemovedFilter,PropertyValueFilter
public abstract class AbstractEventFilter extends Object implements EventFilter
AbstractEventFilterthat provides common functionality for all events (i.e. common checks about events).
-
-
Constructor Summary
Constructors Constructor Description AbstractEventFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanhasAspectAfter(RepoEvent<DataAttributes<Resource>> event, String aspect)protected booleanhasAspectBefore(RepoEvent<DataAttributes<Resource>> event, String aspect)protected booleanhasPropertyAfter(RepoEvent<DataAttributes<Resource>> event, String property)protected booleanhasPropertyBefore(RepoEvent<DataAttributes<Resource>> event, String property)protected booleanhasResourceBefore(RepoEvent<DataAttributes<Resource>> event)protected booleanisAssocEvent(RepoEvent<DataAttributes<Resource>> event)protected booleanisContentEvent(RepoEvent<DataAttributes<Resource>> event)protected booleanisEventWellFormed(RepoEvent<DataAttributes<Resource>> event)protected booleanisNodeEvent(RepoEvent<DataAttributes<Resource>> event)-
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, test
-
-
-
-
Method Detail
-
isEventWellFormed
protected boolean isEventWellFormed(RepoEvent<DataAttributes<Resource>> event)
-
isNodeEvent
protected boolean isNodeEvent(RepoEvent<DataAttributes<Resource>> event)
-
isContentEvent
protected boolean isContentEvent(RepoEvent<DataAttributes<Resource>> event)
-
isAssocEvent
protected boolean isAssocEvent(RepoEvent<DataAttributes<Resource>> event)
-
hasResourceBefore
protected boolean hasResourceBefore(RepoEvent<DataAttributes<Resource>> event)
-
hasAspectBefore
protected boolean hasAspectBefore(RepoEvent<DataAttributes<Resource>> event, String aspect)
-
hasAspectAfter
protected boolean hasAspectAfter(RepoEvent<DataAttributes<Resource>> event, String aspect)
-
hasPropertyBefore
protected boolean hasPropertyBefore(RepoEvent<DataAttributes<Resource>> event, String property)
-
hasPropertyAfter
protected boolean hasPropertyAfter(RepoEvent<DataAttributes<Resource>> event, String property)
-
-