Module com.aoindustries.web.struts
Class SignupSelectServerActionHelper
java.lang.Object
com.aoindustries.web.struts.signup.SignupSelectServerActionHelper
ManagedAction and DedicatedAction both use this to setup the request attributes. This is implemented
here because inheritance is not possible and neither one is logically above the other.
- Author:
- AO Industries, Inc.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetServers
(ServletContext servletContext, String packageCategoryName) Gets the possible servers ordered by minimum monthly rate.static void
setConfirmationRequestAttributes
(ServletContext servletContext, HttpServletRequest request, SignupSelectPackageForm signupSelectPackageForm) static void
setRequestAttributes
(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, String packageCategoryName) static void
writeEmailConfirmation
(Union_TBODY_THEAD_TFOOT<?> tbody, PackageDefinition packageDefinition)
-
Method Details
-
setRequestAttributes
public static void setRequestAttributes(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, String packageCategoryName) throws IOException, SQLException - Throws:
IOException
SQLException
-
getServers
public static List<SignupSelectServerActionHelper.Host> getServers(ServletContext servletContext, String packageCategoryName) throws IOException, SQLException Gets the possible servers ordered by minimum monthly rate.- Throws:
IOException
SQLException
-
setConfirmationRequestAttributes
public static void setConfirmationRequestAttributes(ServletContext servletContext, HttpServletRequest request, SignupSelectPackageForm signupSelectPackageForm) throws IOException, SQLException - Throws:
IOException
SQLException
-
writeEmailConfirmation
public static void writeEmailConfirmation(Union_TBODY_THEAD_TFOOT<?> tbody, PackageDefinition packageDefinition) throws IOException - Throws:
IOException
-