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 voidsetConfirmationRequestAttributes(ServletContext servletContext, HttpServletRequest request, SignupSelectPackageForm signupSelectPackageForm) static voidsetRequestAttributes(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, String packageCategoryName) static voidwriteEmailConfirmation(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:
IOExceptionSQLException
-
getPackageDefinitions
public static List<PackageDefinition> getPackageDefinitions(ServletContext servletContext, String packageCategoryName) throws IOException, SQLException Gets the active package definitions ordered by monthly rate.- Throws:
IOExceptionSQLException
-
setConfirmationRequestAttributes
public static void setConfirmationRequestAttributes(ServletContext servletContext, HttpServletRequest request, SignupSelectPackageForm signupSelectPackageForm) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
writeEmailConfirmation
public static void writeEmailConfirmation(Union_TBODY_THEAD_TFOOT<?> tbody, PackageDefinition packageDefinition) throws IOException - Throws:
IOException
-
