org.datastorm.controller
Class Controller

java.lang.Object
  extended byorg.datastorm.controller.Controller
All Implemented Interfaces:
IController

public class Controller
extends Object
implements IController


Constructor Summary
Controller(Connection connection)
           
 
Method Summary
 void handleCommand(ICommand command)
           
 void handleCommand(ICommand[] commands)
           
 void parseAndDisplay(String sqlQueries)
           
 void setView(View view)
           
 void startUp(ICommand[] commands)
           
 void stopApplication()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Controller

public Controller(Connection connection)
Method Detail

stopApplication

public void stopApplication()
Specified by:
stopApplication in interface IController

startUp

public void startUp(ICommand[] commands)
             throws SQLException
Specified by:
startUp in interface IController
Throws:
SQLException

handleCommand

public void handleCommand(ICommand[] commands)
Specified by:
handleCommand in interface IController

handleCommand

public void handleCommand(ICommand command)
Specified by:
handleCommand in interface IController

setView

public void setView(View view)
Specified by:
setView in interface IController

parseAndDisplay

public void parseAndDisplay(String sqlQueries)
                     throws SQLException
Specified by:
parseAndDisplay in interface IController
Throws:
SQLException