Package org.alfresco.repo.event2.filter
Class AbstractNodeEventFilter
- java.lang.Object
-
- org.alfresco.repo.event2.filter.AbstractNodeEventFilter
-
- All Implemented Interfaces:
EventFilter<QName>
- Direct Known Subclasses:
ChildAssociationTypeFilter,NodeAspectFilter,NodePropertyFilter,NodeTypeFilter
public abstract class AbstractNodeEventFilter extends Object implements EventFilter<QName>
AbstractEventFilterimplementation, containing common event filtering functionality for theQNametype.- Author:
- Jamal Kaabi-Mofrad
-
-
Field Summary
Fields Modifier and Type Field Description protected DictionaryServicedictionaryServiceprotected NamespaceServicenamespaceService
-
Constructor Summary
Constructors Constructor Description AbstractNodeEventFilter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected Collection<QName>expandTypeDef(String typeDef)protected abstract Set<QName>getExcludedTypes()voidinit()booleanisExcluded(QName qName)Indicates whether the given object should be excluded or not.protected List<String>parseFilterList(String unparsedFilterList)voidsetDictionaryService(DictionaryService dictionaryService)voidsetNamespaceService(NamespaceService namespaceService)
-
-
-
Field Detail
-
dictionaryService
protected DictionaryService dictionaryService
-
namespaceService
protected NamespaceService namespaceService
-
-
Method Detail
-
init
public final void init()
-
setDictionaryService
public void setDictionaryService(DictionaryService dictionaryService)
-
setNamespaceService
public void setNamespaceService(NamespaceService namespaceService)
-
isExcluded
public boolean isExcluded(QName qName)
Description copied from interface:EventFilterIndicates whether the given object should be excluded or not.- Specified by:
isExcludedin interfaceEventFilter<QName>- Parameters:
qName- the object to be checked against filters- Returns:
- true if it is excluded, otherwise false
-
expandTypeDef
protected Collection<QName> expandTypeDef(String typeDef)
-
-