org.webdocwf.util.loader.test
Class LoaderOperation

java.lang.Object
  |
  +--org.webdocwf.util.loader.test.DatabaseOperation
        |
        +--org.webdocwf.util.loader.test.LoaderOperation

public class LoaderOperation
extends DatabaseOperation

Inserts data in tables using Loader.

Version:
$Revision: 1.2 $
Author:
Sinisa Milosevic

Field Summary
 
Fields inherited from class org.webdocwf.util.loader.test.DatabaseOperation
CREATE, DO_NOTHING, DROP, LOADER, NONE
 
Constructor Summary
LoaderOperation()
           
LoaderOperation(Loader load)
           
 
Method Summary
 void execute()
          Executes this operation on the specified database using the Loader.
 void execute(java.sql.Connection conn)
          Executes this operation on the specified database using the specified connection to the database.
 java.lang.String getDatabaseOperationType()
          Returns type of database operation
 void setLoader(Loader load)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoaderOperation

public LoaderOperation()

LoaderOperation

public LoaderOperation(Loader load)
Method Detail

setLoader

public void setLoader(Loader load)

execute

public void execute(java.sql.Connection conn)
             throws java.sql.SQLException
Executes this operation on the specified database using the specified connection to the database.

Specified by:
execute in class DatabaseOperation
Parameters:
conn - the database connection.
java.sql.SQLException

execute

public void execute()
             throws LoaderException
Executes this operation on the specified database using the Loader.

LoaderException

getDatabaseOperationType

public java.lang.String getDatabaseOperationType()
Returns type of database operation

Specified by:
getDatabaseOperationType in class DatabaseOperation


Copyright © 2002-2003 Together - the Workgroup. All Rights Reserved.