net.sourceforge.squirrel_sql.plugins.postgres.commands
Class VacuumDatabaseCommand

java.lang.Object
  extended by net.sourceforge.squirrel_sql.plugins.postgres.commands.AbstractPostgresCommand
      extended by net.sourceforge.squirrel_sql.plugins.postgres.commands.AbstractPostgresDialogCommand
          extended by net.sourceforge.squirrel_sql.plugins.postgres.commands.VacuumDatabaseCommand
All Implemented Interfaces:
ICommand

public class VacuumDatabaseCommand
extends AbstractPostgresDialogCommand


Nested Class Summary
protected static interface VacuumDatabaseCommand.i18n
           
 
Nested classes/interfaces inherited from class net.sourceforge.squirrel_sql.plugins.postgres.commands.AbstractPostgresDialogCommand
AbstractPostgresDialogCommand.EditSQLListener, AbstractPostgresDialogCommand.ExecuteListener, AbstractPostgresDialogCommand.ShowSQLListener
 
Field Summary
protected  VacuumDatabaseDialog _mainDialog
          Main dialog
 
Fields inherited from class net.sourceforge.squirrel_sql.plugins.postgres.commands.AbstractPostgresCommand
_session
 
Constructor Summary
VacuumDatabaseCommand(ISession session)
           
 
Method Summary
 void execute()
          Execute this command.
protected  void executeScript(String script)
          Executes an sql script.
protected  String[] generateSQLStatements()
          Generates the SQL command
protected  void showDialog()
           
 
Methods inherited from class net.sourceforge.squirrel_sql.plugins.postgres.commands.AbstractPostgresCommand
getSQLStatements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_mainDialog

protected VacuumDatabaseDialog _mainDialog
Main dialog

Constructor Detail

VacuumDatabaseCommand

public VacuumDatabaseCommand(ISession session)
Method Detail

execute

public void execute()
             throws BaseException
Execute this command.

Throws:
BaseException

showDialog

protected void showDialog()

generateSQLStatements

protected String[] generateSQLStatements()
Generates the SQL command

Specified by:
generateSQLStatements in class AbstractPostgresCommand
Returns:
the sql statements

executeScript

protected void executeScript(String script)
Executes an sql script.

Specified by:
executeScript in class AbstractPostgresDialogCommand
Parameters:
script - the sql script that should be executed


Copyright © 2001-2010. All Rights Reserved.