Class Template


  • public class Template
    extends java.lang.Object
    Provides logic for the template.
    Author:
    Daniel Sagenschneider
    • Constructor Summary

      Constructors 
      Constructor Description
      Template()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addRow​(Row row, java.sql.Connection connection)  
      void deleteRow​(java.lang.String id, java.sql.Connection connection)  
      Row[] getRows​(java.sql.Connection connection)  
      • 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​(java.sql.Connection connection)
                      throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • addRow

        public void addRow​(Row row,
                           java.sql.Connection connection)
                    throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • deleteRow

        public void deleteRow​(@HttpQueryParameter("id")
                              java.lang.String id,
                              java.sql.Connection connection)
                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException