Package org.alfresco.repo.transfer
Class AbstractNodeFilter
- java.lang.Object
-
- org.alfresco.repo.transfer.AbstractNodeFilter
-
- All Implemented Interfaces:
NodeFilter
- Direct Known Subclasses:
CompositeNodeFilter,ContentClassFilter
public abstract class AbstractNodeFilter extends java.lang.Object implements NodeFilter
A utility base class that simplifies the creation of new node filters. When used in conjunction with the standard node crawler (StandardNodeCrawlerImpl), node filters that extend this base class will automatically have the service registry injected into them and theirinitoperations invoked at the appropriate time.- Since:
- 3.4
- Author:
- Brian
-
-
Field Summary
Fields Modifier and Type Field Description protected ServiceRegistryserviceRegistry
-
Constructor Summary
Constructors Constructor Description AbstractNodeFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit()voidsetServiceRegistry(ServiceRegistry serviceRegistry)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.alfresco.service.cmr.transfer.NodeFilter
accept
-
-
-
-
Field Detail
-
serviceRegistry
protected ServiceRegistry serviceRegistry
-
-
Method Detail
-
init
public void init()
-
setServiceRegistry
public void setServiceRegistry(ServiceRegistry serviceRegistry)
-
-