net.officefloor.tutorial.databasehttpserver
Class Template

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

public class Template
extends java.lang.Object

Provides logic for the template.

Author:
Daniel Sagenschneider

Constructor Summary
Template()
           
 
Method Summary
 void addRow(Row row, javax.sql.DataSource dataSource)
           
 void deleteRow(Row row, javax.sql.DataSource dataSource)
           
 Row[] getRows(javax.sql.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(javax.sql.DataSource dataSource)
              throws java.sql.SQLException
Throws:
java.sql.SQLException

addRow

public void addRow(Row row,
                   javax.sql.DataSource dataSource)
            throws java.sql.SQLException
Throws:
java.sql.SQLException

deleteRow

public void deleteRow(Row row,
                      javax.sql.DataSource dataSource)
               throws java.sql.SQLException
Throws:
java.sql.SQLException


Copyright © 2005-2012. All Rights Reserved.