Module com.aoindustries.web.struts
Class SignupCustomizeManagementActionHelper
java.lang.Object
com.aoindustries.web.struts.signup.SignupCustomizeManagementActionHelper
Managed2Action and Dedicated2Action 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 String
getBackupDvdOption
(AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm) static String
getBackupOffsiteOption
(AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm) static String
getBackupOnsiteOption
(AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm) static String
getDistributionScanOption
(AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm) static String
getFailoverOption
(AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm) static Monies
getTotalMonthlyRate
(AoservConnector rootConn, SignupCustomizeServerForm signupCustomizeServerForm, SignupCustomizeManagementForm signupCustomizeManagementForm, PackageDefinition packageDefinition) Gets the total monthly rate for the server, basic server + hardware options + management options.static void
setConfirmationRequestAttributes
(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, SignupSelectPackageForm signupSelectPackageForm, SignupCustomizeServerForm signupCustomizeServerForm, SignupCustomizeManagementForm signupCustomizeManagementForm) static void
setRequestAttributes
(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, SignupSelectPackageForm signupSelectPackageForm, SignupCustomizeServerForm signupCustomizeServerForm, SignupCustomizeManagementForm signupCustomizeManagementForm) static void
writeEmailConfirmation
(HttpServletRequest request, Union_TBODY_THEAD_TFOOT<?> tbody, AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm)
-
Method Details
-
setRequestAttributes
public static void setRequestAttributes(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, SignupSelectPackageForm signupSelectPackageForm, SignupCustomizeServerForm signupCustomizeServerForm, SignupCustomizeManagementForm signupCustomizeManagementForm) throws IOException, SQLException - Throws:
IOException
SQLException
-
setConfirmationRequestAttributes
public static void setConfirmationRequestAttributes(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, SignupSelectPackageForm signupSelectPackageForm, SignupCustomizeServerForm signupCustomizeServerForm, SignupCustomizeManagementForm signupCustomizeManagementForm) throws IOException, SQLException - Throws:
IOException
SQLException
-
writeEmailConfirmation
public static void writeEmailConfirmation(HttpServletRequest request, Union_TBODY_THEAD_TFOOT<?> tbody, AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm) throws IOException, SQLException - Throws:
IOException
SQLException
-
getTotalMonthlyRate
public static Monies getTotalMonthlyRate(AoservConnector rootConn, SignupCustomizeServerForm signupCustomizeServerForm, SignupCustomizeManagementForm signupCustomizeManagementForm, PackageDefinition packageDefinition) throws SQLException, IOException Gets the total monthly rate for the server, basic server + hardware options + management options.- Throws:
SQLException
IOException
-
getBackupOnsiteOption
public static String getBackupOnsiteOption(AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm) throws IOException, SQLException - Throws:
IOException
SQLException
-
getBackupOffsiteOption
public static String getBackupOffsiteOption(AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm) throws IOException, SQLException - Throws:
IOException
SQLException
-
getBackupDvdOption
public static String getBackupDvdOption(AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm) -
getDistributionScanOption
public static String getDistributionScanOption(AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm) throws SQLException, IOException - Throws:
SQLException
IOException
-
getFailoverOption
public static String getFailoverOption(AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm) throws IOException, SQLException - Throws:
IOException
SQLException
-