net.datacrow.core.migration.itemimport
Class ItemImporterHelper

java.lang.Object
  extended by net.datacrow.core.migration.itemimport.ItemImporterHelper
All Implemented Interfaces:
IItemImporterClient

public class ItemImporterHelper
extends java.lang.Object
implements IItemImporterClient


Constructor Summary
ItemImporterHelper(java.lang.String type, int moduleIdx, java.io.File file)
           
 
Method Summary
 void clear()
           
 java.util.Collection<DcObject> getItems()
           
 void notifyMessage(java.lang.String message)
           
 void notifyProcessed(DcObject item)
           
 void notifyStarted(int count)
           
 void notifyStopped()
           
 void setSetting(java.lang.String key, java.lang.String value)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemImporterHelper

public ItemImporterHelper(java.lang.String type,
                          int moduleIdx,
                          java.io.File file)
                   throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

setSetting

public void setSetting(java.lang.String key,
                       java.lang.String value)

start

public void start()
           throws java.lang.Exception
Throws:
java.lang.Exception

getItems

public java.util.Collection<DcObject> getItems()

clear

public void clear()

notifyMessage

public void notifyMessage(java.lang.String message)
Specified by:
notifyMessage in interface IItemImporterClient

notifyProcessed

public void notifyProcessed(DcObject item)
Specified by:
notifyProcessed in interface IItemImporterClient

notifyStarted

public void notifyStarted(int count)
Specified by:
notifyStarted in interface IItemImporterClient

notifyStopped

public void notifyStopped()
Specified by:
notifyStopped in interface IItemImporterClient