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