net.sourceforge.squirrel_sql.plugins.postgres.commands.handler
Class ProgressSQLExecuterHandler
java.lang.Object
net.sourceforge.squirrel_sql.plugins.postgres.commands.handler.ProgressSQLExecuterHandler
- All Implemented Interfaces:
- ISQLExecuterHandler
- Direct Known Subclasses:
- MessageSQLExecuterHandler
public abstract class ProgressSQLExecuterHandler
- extends Object
- implements ISQLExecuterHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_session
protected ISession _session
_pdialog
protected ProgressCallBack _pdialog
progressCallBackFactory
protected IProgressCallBackFactory progressCallBackFactory
_commandPrefix
protected String _commandPrefix
ProgressSQLExecuterHandler
public ProgressSQLExecuterHandler(ISession session,
JDialog owner,
String progressDialogTitle,
String commandPrefix)
setProgressCallBackFactory
public void setProgressCallBackFactory(IProgressCallBackFactory progressCallBackFactory)
sqlToBeExecuted
public void sqlToBeExecuted(String sql)
- Specified by:
sqlToBeExecuted in interface ISQLExecuterHandler
getSuffix
protected abstract String getSuffix(String sql)
sqlExecutionComplete
public void sqlExecutionComplete(SQLExecutionInfo info,
int processedStatementCount,
int statementCount)
- Specified by:
sqlExecutionComplete in interface ISQLExecuterHandler
sqlExecutionWarning
public void sqlExecutionWarning(SQLWarning warn)
- Specified by:
sqlExecutionWarning in interface ISQLExecuterHandler
sqlStatementCount
public void sqlStatementCount(int statementCount)
- Specified by:
sqlStatementCount in interface ISQLExecuterHandler
sqlCloseExecutionHandler
public void sqlCloseExecutionHandler()
- Specified by:
sqlCloseExecutionHandler in interface ISQLExecuterHandler
sqlExecutionCancelled
public void sqlExecutionCancelled()
- Specified by:
sqlExecutionCancelled in interface ISQLExecuterHandler
sqlDataUpdated
public void sqlDataUpdated(int updateCount)
- Specified by:
sqlDataUpdated in interface ISQLExecuterHandler
sqlResultSetAvailable
public void sqlResultSetAvailable(ResultSet rst,
SQLExecutionInfo info,
IDataSetUpdateableTableModel model)
- Specified by:
sqlResultSetAvailable in interface ISQLExecuterHandler
sqlExecutionException
public void sqlExecutionException(Throwable th,
String postErrorString)
- Specified by:
sqlExecutionException in interface ISQLExecuterHandler
Copyright © 2001-2010. All Rights Reserved.