net.officefloor.tutorial.databasehttpserver
Class Template

java.lang.Object
  extended by net.officefloor.tutorial.databasehttpserver.Template

public class Template
extends Object

Provides logic for the template.

Author:
Daniel Sagenschneider

Constructor Summary
Template()
           
 
Method Summary
 void addRow(Row row, DataSource dataSource)
           
 void deleteRow(Row row, DataSource dataSource)
           
 Row[] getRows(DataSource dataSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Template

public Template()
Method Detail

getRows

public Row[] getRows(DataSource dataSource)
              throws SQLException
Throws:
SQLException

addRow

public void addRow(Row row,
                   DataSource dataSource)
            throws SQLException
Throws:
SQLException

deleteRow

public void deleteRow(Row row,
                      DataSource dataSource)
               throws SQLException
Throws:
SQLException


Copyright © 2005-2011. All Rights Reserved.