dekoh.portal.fwk.importer
Class ImportRequestCreator
java.lang.Object
dekoh.portal.fwk.importer.ImportRequestCreator
- All Implemented Interfaces:
- ScanObserver
public class ImportRequestCreator
- extends Object
- implements ScanObserver
- Since:
- Mar 3, 2008
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImportRequestCreator
public ImportRequestCreator(ImportProcessor importProcessor,
ImportContext importContext,
ImportProgressObject importProgressObject,
ImportSubProcess initiatingImportSubProcess)
finishDirectoryScan
public void finishDirectoryScan(File file,
RootFolder rooFolder,
ImportStatus importStatus)
- Specified by:
finishDirectoryScan in interface ScanObserver
beginDirectoryScan
public void beginDirectoryScan(File directory,
RootFolder rootFolder,
ImportStatus importStatus)
- Specified by:
beginDirectoryScan in interface ScanObserver
handleFile
public void handleFile(File file,
RootFolder rootFolder,
ImportStatus importStatus,
boolean isLastInThisDir)
- Specified by:
handleFile in interface ScanObserver
getRootFolder
protected RootFolder getRootFolder(File modifiredOrDeletedDir,
Set rootFolders)
removeNonExistentFilesFromDb
protected void removeNonExistentFilesFromDb()
throws ExecutionException,
InterruptedException
- Throws:
ExecutionException
InterruptedException
scanComplete
public void scanComplete()
- Specified by:
scanComplete in interface ScanObserver
waitForAllExecutorsTofinish
protected void waitForAllExecutorsTofinish()
throws ExecutionException,
InterruptedException
- Throws:
ExecutionException
InterruptedException
waitForAllSuccessors
protected void waitForAllSuccessors(List successors)
throws ExecutionException,
InterruptedException
- Throws:
ExecutionException
InterruptedException
shutdownAllExecutors
protected void shutdownAllExecutors()
shutdownAllSuccessors
protected void shutdownAllSuccessors(List successors)
© 2009 Pramati Technologies - Dekoh - Portal for Developers