com.aoindustries.website.signup
Class SignupTechnicalActionHelper

java.lang.Object
  extended by com.aoindustries.website.signup.SignupTechnicalActionHelper

public final class SignupTechnicalActionHelper
extends java.lang.Object

Managed4Action and Dedicated4Action both use this to setup the request attributes. This is implemented here because inheritence is not possible and neither one is logically above the other.

Author:
AO Industries, Inc.

Method Summary
static java.lang.String getBaCountry(com.aoindustries.aoserv.client.AOServConnector rootConn, SignupTechnicalForm signupTechnicalForm)
           
static void printConfirmation(com.aoindustries.io.ChainWriter emailOut, com.aoindustries.aoserv.client.AOServConnector rootConn, SignupTechnicalForm signupTechnicalForm)
           
static void setConfirmationRequestAttributes(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, SignupTechnicalForm signupTechnicalForm)
           
static void setRequestAttributes(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, SignupTechnicalForm signupTechnicalForm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setRequestAttributes

public static void setRequestAttributes(javax.servlet.ServletContext servletContext,
                                        javax.servlet.http.HttpServletRequest request,
                                        SignupTechnicalForm signupTechnicalForm)
                                 throws java.io.IOException,
                                        java.sql.SQLException
Throws:
java.io.IOException
java.sql.SQLException

getBaCountry

public static java.lang.String getBaCountry(com.aoindustries.aoserv.client.AOServConnector rootConn,
                                            SignupTechnicalForm signupTechnicalForm)
                                     throws java.io.IOException,
                                            java.sql.SQLException
Throws:
java.io.IOException
java.sql.SQLException

setConfirmationRequestAttributes

public static void setConfirmationRequestAttributes(javax.servlet.ServletContext servletContext,
                                                    javax.servlet.http.HttpServletRequest request,
                                                    SignupTechnicalForm signupTechnicalForm)
                                             throws java.io.IOException,
                                                    java.sql.SQLException
Throws:
java.io.IOException
java.sql.SQLException

printConfirmation

public static void printConfirmation(com.aoindustries.io.ChainWriter emailOut,
                                     com.aoindustries.aoserv.client.AOServConnector rootConn,
                                     SignupTechnicalForm signupTechnicalForm)
                              throws java.io.IOException,
                                     java.sql.SQLException
Throws:
java.io.IOException
java.sql.SQLException