com.aoindustries.website.signup
Class SignupCustomizeManagementActionHelper
java.lang.Object
com.aoindustries.website.signup.SignupCustomizeManagementActionHelper
public final class SignupCustomizeManagementActionHelper
- extends java.lang.Object
Managed2Action and Dedicated2Action both use this to setup the request attributes. This is implemented
here because inheritence is not possible and neither one is logically above the other.
- Author:
- AO Industries, Inc.
|
Method Summary |
static java.lang.String |
getBackupDvdOption(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeManagementForm signupCustomizeManagementForm)
|
static java.lang.String |
getBackupOffsiteOption(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeManagementForm signupCustomizeManagementForm)
|
static java.lang.String |
getBackupOnsiteOption(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeManagementForm signupCustomizeManagementForm)
|
static java.lang.String |
getDistributionScanOption(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeManagementForm signupCustomizeManagementForm)
|
static java.lang.String |
getFailoverOption(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeManagementForm signupCustomizeManagementForm)
|
static java.math.BigDecimal |
getTotalMonthlyRate(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeServerForm signupCustomizeServerForm,
SignupCustomizeManagementForm signupCustomizeManagementForm,
com.aoindustries.aoserv.client.PackageDefinition packageDefinition)
Gets the total monthly rate for the server, basic server + hardware options + management options |
static void |
printConfirmation(javax.servlet.http.HttpServletRequest request,
com.aoindustries.io.ChainWriter emailOut,
com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeManagementForm signupCustomizeManagementForm)
|
static void |
setConfirmationRequestAttributes(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SignupSelectPackageForm signupSelectPackageForm,
SignupCustomizeServerForm signupCustomizeServerForm,
SignupCustomizeManagementForm signupCustomizeManagementForm)
|
static void |
setRequestAttributes(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SignupSelectPackageForm signupSelectPackageForm,
SignupCustomizeServerForm signupCustomizeServerForm,
SignupCustomizeManagementForm signupCustomizeManagementForm)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setRequestAttributes
public static void setRequestAttributes(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SignupSelectPackageForm signupSelectPackageForm,
SignupCustomizeServerForm signupCustomizeServerForm,
SignupCustomizeManagementForm signupCustomizeManagementForm)
throws java.io.IOException,
java.sql.SQLException
- Throws:
java.io.IOException
java.sql.SQLException
setConfirmationRequestAttributes
public static void setConfirmationRequestAttributes(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SignupSelectPackageForm signupSelectPackageForm,
SignupCustomizeServerForm signupCustomizeServerForm,
SignupCustomizeManagementForm signupCustomizeManagementForm)
throws java.io.IOException,
java.sql.SQLException
- Throws:
java.io.IOException
java.sql.SQLException
printConfirmation
public static void printConfirmation(javax.servlet.http.HttpServletRequest request,
com.aoindustries.io.ChainWriter emailOut,
com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeManagementForm signupCustomizeManagementForm)
throws java.io.IOException,
java.sql.SQLException
- Throws:
java.io.IOException
java.sql.SQLException
getTotalMonthlyRate
public static java.math.BigDecimal getTotalMonthlyRate(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeServerForm signupCustomizeServerForm,
SignupCustomizeManagementForm signupCustomizeManagementForm,
com.aoindustries.aoserv.client.PackageDefinition packageDefinition)
throws java.sql.SQLException,
java.io.IOException
- Gets the total monthly rate for the server, basic server + hardware options + management options
- Throws:
java.sql.SQLException
java.io.IOException
getBackupOnsiteOption
public static java.lang.String getBackupOnsiteOption(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeManagementForm signupCustomizeManagementForm)
throws java.io.IOException,
java.sql.SQLException
- Throws:
java.io.IOException
java.sql.SQLException
getBackupOffsiteOption
public static java.lang.String getBackupOffsiteOption(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeManagementForm signupCustomizeManagementForm)
throws java.io.IOException,
java.sql.SQLException
- Throws:
java.io.IOException
java.sql.SQLException
getBackupDvdOption
public static java.lang.String getBackupDvdOption(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeManagementForm signupCustomizeManagementForm)
getDistributionScanOption
public static java.lang.String getDistributionScanOption(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeManagementForm signupCustomizeManagementForm)
throws java.sql.SQLException,
java.io.IOException
- Throws:
java.sql.SQLException
java.io.IOException
getFailoverOption
public static java.lang.String getFailoverOption(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeManagementForm signupCustomizeManagementForm)
throws java.io.IOException,
java.sql.SQLException
- Throws:
java.io.IOException
java.sql.SQLException