com.imcode.db.commands
Class CompositeDatabaseCommand

java.lang.Object
  extended by com.imcode.db.commands.TransactionDatabaseCommand
      extended by com.imcode.db.commands.CompositeDatabaseCommand
All Implemented Interfaces:
DatabaseCommand

public class CompositeDatabaseCommand
extends TransactionDatabaseCommand


Constructor Summary
CompositeDatabaseCommand()
           
CompositeDatabaseCommand(DatabaseCommand databaseCommand)
           
CompositeDatabaseCommand(DatabaseCommand[] databaseCommands)
           
 
Method Summary
 void add(DatabaseCommand databaseCommand)
           
 java.lang.Object executeInTransaction(DatabaseConnection connection)
           
 
Methods inherited from class com.imcode.db.commands.TransactionDatabaseCommand
executeOn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeDatabaseCommand

public CompositeDatabaseCommand()

CompositeDatabaseCommand

public CompositeDatabaseCommand(DatabaseCommand[] databaseCommands)

CompositeDatabaseCommand

public CompositeDatabaseCommand(DatabaseCommand databaseCommand)
Method Detail

add

public void add(DatabaseCommand databaseCommand)

executeInTransaction

public java.lang.Object executeInTransaction(DatabaseConnection connection)
                                      throws DatabaseException
Specified by:
executeInTransaction in class TransactionDatabaseCommand
Throws:
DatabaseException


Copyright © -2005 . All Rights Reserved.