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 StringgetBackupDvdOption(AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm) static StringgetBackupOffsiteOption(AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm) static StringgetBackupOnsiteOption(AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm) static StringgetDistributionScanOption(AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm) static StringgetFailoverOption(AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm) static MoniesgetTotalMonthlyRate(AoservConnector rootConn, SignupCustomizeServerForm signupCustomizeServerForm, SignupCustomizeManagementForm signupCustomizeManagementForm, PackageDefinition packageDefinition) Gets the total monthly rate for the server, basic server + hardware options + management options.static voidsetConfirmationRequestAttributes(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, SignupSelectPackageForm signupSelectPackageForm, SignupCustomizeServerForm signupCustomizeServerForm, SignupCustomizeManagementForm signupCustomizeManagementForm) static voidsetRequestAttributes(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, SignupSelectPackageForm signupSelectPackageForm, SignupCustomizeServerForm signupCustomizeServerForm, SignupCustomizeManagementForm signupCustomizeManagementForm) static voidwriteEmailConfirmation(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:
IOExceptionSQLException
-
setConfirmationRequestAttributes
public static void setConfirmationRequestAttributes(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, SignupSelectPackageForm signupSelectPackageForm, SignupCustomizeServerForm signupCustomizeServerForm, SignupCustomizeManagementForm signupCustomizeManagementForm) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
writeEmailConfirmation
public static void writeEmailConfirmation(HttpServletRequest request, Union_TBODY_THEAD_TFOOT<?> tbody, AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
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:
SQLExceptionIOException
-
getBackupOnsiteOption
public static String getBackupOnsiteOption(AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getBackupOffsiteOption
public static String getBackupOffsiteOption(AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getBackupDvdOption
public static String getBackupDvdOption(AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm) -
getDistributionScanOption
public static String getDistributionScanOption(AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm) throws SQLException, IOException - Throws:
SQLExceptionIOException
-
getFailoverOption
public static String getFailoverOption(AoservConnector rootConn, SignupCustomizeManagementForm signupCustomizeManagementForm) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
