net.officefloor.tutorial.teamhttpserver
Class Template
java.lang.Object
net.officefloor.tutorial.teamhttpserver.Template
- All Implemented Interfaces:
- Serializable
@HttpSessionStateful
public class Template
- extends Object
- implements Serializable
Logic for the template.
- Author:
- Daniel Sagenschneider
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Template
public Template()
getTemplate
public LetterEncryption getTemplate()
getThreadNames
public Template getThreadNames()
getCacheThreadName
public String getCacheThreadName()
getDatabaseThreadName
public String getDatabaseThreadName()
encrypt
@NextTask(value="setDisplayCode")
public LetterEncryption encrypt(EncryptLetter request,
Template.PageFlows flows)
setDisplayCode
public void setDisplayCode(@Parameter
LetterEncryption encryption)
retrieveFromDatabase
@NextTask(value="setDisplayCode")
public LetterEncryption retrieveFromDatabase(@Parameter
char letter,
DataSource dataSource)
throws SQLException
- Throws:
SQLException
handleException
public void handleException(@Parameter
SQLException ex)
throws Throwable
- Throws:
Throwable
Copyright © 2005-2013. All Rights Reserved.