com.mungoknotwise.sqlcli
Interface RowcountHandlingCommand

All Known Implementing Classes:
UpdateCommand

public interface RowcountHandlingCommand

Defines operations for an update command that handle the resulting row count.

Version:
$Id: RowcountHandlingCommand.java,v 1.1 2004/07/28 23:21:26 mungoknotwise Exp $
Author:
Steven Caswell

Method Summary
 void execute()
          Executes this command.
 void setExceptionHandler(ExceptionHandler exceptionHandler)
          Sets the exception handler for this command.
 void setRowcountHandler(UpdateRowcountHandler rowcountHandler)
          Sets the update rowcount handler for this command.
 

Method Detail

execute

public void execute()
Executes this command. The resulting rowcount is handled by the configured row count handler.


setExceptionHandler

public void setExceptionHandler(ExceptionHandler exceptionHandler)
Sets the exception handler for this command.

Parameters:
exceptionHandler - the exception handler

setRowcountHandler

public void setRowcountHandler(UpdateRowcountHandler rowcountHandler)
Sets the update rowcount handler for this command.

Parameters:
rowcountHandler - the rowcount handler


Copyright © 2004 Steven Caswell. All Rights Reserved.