com.aoindustries.website.signup
Class SignupBusinessActionHelper
java.lang.Object
com.aoindustries.website.signup.SignupBusinessActionHelper
public final class SignupBusinessActionHelper
- extends java.lang.Object
Managed3Action and Dedicated3Action 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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setRequestAttributes
public static void setRequestAttributes(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request)
throws java.io.IOException,
java.sql.SQLException
- Throws:
java.io.IOException
java.sql.SQLException
getCountryOptions
public static java.util.List<SignupBusinessActionHelper.CountryOption> getCountryOptions(com.aoindustries.aoserv.client.AOServConnector aoConn)
throws java.io.IOException,
java.sql.SQLException
- Gets the options for use in a country list.
Note: you probably want to use the RootAOServConnector to provide a more helpful list than a
default user connector.
- Throws:
java.io.IOException
java.sql.SQLException- See Also:
RootAOServConnector
getBusinessCountry
public static java.lang.String getBusinessCountry(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupBusinessForm signupBusinessForm)
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,
SignupBusinessForm signupBusinessForm)
throws java.io.IOException,
java.sql.SQLException
- Throws:
java.io.IOException
java.sql.SQLException
printConfirmation
public static void printConfirmation(com.aoindustries.io.ChainWriter emailOut,
java.util.Locale userLocale,
MessageResources signupApplicationResources,
com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupBusinessForm signupBusinessForm)
throws java.io.IOException,
java.sql.SQLException
- Throws:
java.io.IOException
java.sql.SQLException