org.alfresco.repo.bulkimport
Interface ImportFilter

All Known Implementing Classes:
AndImportFilter, DirectoryImportFilter, FileImportFilter, FileNameRegexImportFilter, HiddenFileFilter, NonExistentContentFileImportFilter, NotImportFilter

public interface ImportFilter

Definition of a source filter - a class that filters out importable items idenfitied from the source directory from the import. Note that source filters can be "chained", in which case each source filter effectively has "veto" power - if any single filter requests that a given importable item be filtered, it will be filtered.

Since:
4.0

Method Summary
 boolean shouldFilter(ImportableItem importableItem)
          Method that checks whether the given file or folder should be filtered.
 

Method Detail

shouldFilter

boolean shouldFilter(ImportableItem importableItem)
Method that checks whether the given file or folder should be filtered.

Parameters:
importableItem - The source importable item to check for filtering (will not be null).
Returns:
True if the given importable item should be filtered, false otherwise.


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