Module com.aoindustries.web.struts
Class SignupSelectPackageActionHelper
java.lang.Object
com.aoindustries.web.struts.signup.SignupSelectPackageActionHelper
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.
-
Method Summary
Modifier and TypeMethodDescriptionstatic List
<PackageDefinition> getPackageDefinitions
(ServletContext servletContext, String packageCategoryName) Gets the active package definitions ordered by 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
-
getPackageDefinitions
public static List<PackageDefinition> getPackageDefinitions(ServletContext servletContext, String packageCategoryName) throws IOException, SQLException Gets the active package definitions ordered by 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
-