org.alfresco.repo.transfer
Class AbstractNodeFilter

java.lang.Object
  extended by 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 their init operations invoked at the appropriate time.

Since:
3.4

Field Summary
protected  ServiceRegistry serviceRegistry
           
 
Constructor Summary
AbstractNodeFilter()
           
 
Method Summary
 void init()
           
 void setServiceRegistry(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
Constructor Detail

AbstractNodeFilter

public AbstractNodeFilter()
Method Detail

init

public void init()

setServiceRegistry

public void setServiceRegistry(ServiceRegistry serviceRegistry)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.