net.officefloor.tutorial.databasehttpserver
Class Template
java.lang.Object
net.officefloor.tutorial.databasehttpserver.Template
public class Template
- extends java.lang.Object
Provides logic for the template.
- Author:
- Daniel Sagenschneider
|
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 |
Template
public Template()
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.