org.alfresco.repo.avm.util
Class BulkLoader

java.lang.Object
  extended by org.alfresco.repo.avm.util.BulkLoader
Direct Known Subclasses:
RemoteBulkLoader

public class BulkLoader
extends java.lang.Object

This takes a filesystem directory path and a repository path and name and bulk loads recursively from the filesystem.


Constructor Summary
BulkLoader()
          Create a new one.
 
Method Summary
 void recursiveLoad(java.lang.String fsPath, java.lang.String repPath)
          Recursively load content.
protected  void setAvmRemoteService(AVMRemote service)
          Set the AVMService.
 void setAvmService(AVMService service)
          Set the AVMService.
 void setPropertyCount(int propCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BulkLoader

public BulkLoader()
Create a new one.

Method Detail

setAvmService

public void setAvmService(AVMService service)
Set the AVMService.

Parameters:
service -

setAvmRemoteService

protected void setAvmRemoteService(AVMRemote service)
Set the AVMService.

Parameters:
service -

setPropertyCount

public void setPropertyCount(int propCount)

recursiveLoad

public void recursiveLoad(java.lang.String fsPath,
                          java.lang.String repPath)
Recursively load content.

Parameters:
fsPath - The path in the filesystem.
repPath -


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