Class Template

  • All Implemented Interfaces:
    java.io.Serializable

    @HttpSessionStateful
    public class Template
    extends java.lang.Object
    implements java.io.Serializable
    Logic for the template.
    Author:
    Daniel Sagenschneider
    See Also:
    Serialized Form
    • Constructor Detail

      • Template

        public Template()
    • Method Detail

      • getCacheThreadName

        public java.lang.String getCacheThreadName()
      • getDatabaseThreadName

        public java.lang.String getDatabaseThreadName()
      • getThreadNames

        public Template getThreadNames()
      • retrieveFromDatabase

        @Next("setDisplayCode")
        public LetterEncryption retrieveFromDatabase​(@Parameter
                                                     char letter,
                                                     java.sql.Connection connection)
                                              throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • handleException

        public void handleException​(@Parameter
                                    java.lang.Exception ex)
                             throws java.lang.Throwable
        Throws:
        java.lang.Throwable