|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.aoindustries.website.signup.SignupCustomizeServerActionHelper
public final class SignupCustomizeServerActionHelper
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.
| Method Summary | |
|---|---|
static java.lang.String |
getCpuOption(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeServerForm signupCustomizeServerForm)
|
static java.util.List<java.lang.String> |
getDiskOptions(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeServerForm signupCustomizeServerForm)
|
static java.math.BigDecimal |
getHardwareMonthlyRate(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeServerForm signupCustomizeServerForm,
com.aoindustries.aoserv.client.PackageDefinition packageDefinition)
Gets the hardware monthly rate for the server, basic server + hardware options |
static java.lang.String |
getPowerOption(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeServerForm signupCustomizeServerForm)
|
static java.lang.String |
getRamOption(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeServerForm signupCustomizeServerForm)
|
static java.lang.String |
getSataControllerOption(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeServerForm signupCustomizeServerForm)
|
static java.lang.String |
getScsiControllerOption(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeServerForm signupCustomizeServerForm)
|
static int |
getTotalHardwareDiskSpace(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeServerForm signupCustomizeServerForm)
Gets the total amount of hard drive space in gigabytes. |
static void |
printConfirmation(javax.servlet.http.HttpServletRequest request,
com.aoindustries.io.ChainWriter emailOut,
com.aoindustries.aoserv.client.AOServConnector rootConn,
com.aoindustries.aoserv.client.PackageDefinition packageDefinition,
SignupCustomizeServerForm signupCustomizeServerForm)
|
static void |
setConfirmationRequestAttributes(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SignupSelectPackageForm signupSelectPackageForm,
SignupCustomizeServerForm signupCustomizeServerForm)
|
static void |
setRequestAttributes(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SignupSelectPackageForm signupSelectPackageForm,
SignupCustomizeServerForm signupCustomizeServerForm)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void setRequestAttributes(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SignupSelectPackageForm signupSelectPackageForm,
SignupCustomizeServerForm signupCustomizeServerForm)
throws java.io.IOException,
java.sql.SQLException
java.io.IOException
java.sql.SQLException
public static java.math.BigDecimal getHardwareMonthlyRate(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeServerForm signupCustomizeServerForm,
com.aoindustries.aoserv.client.PackageDefinition packageDefinition)
throws java.io.IOException,
java.sql.SQLException
java.io.IOException
java.sql.SQLException
public static java.lang.String getPowerOption(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeServerForm signupCustomizeServerForm)
throws java.io.IOException,
java.sql.SQLException
java.io.IOException
java.sql.SQLException
public static java.lang.String getCpuOption(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeServerForm signupCustomizeServerForm)
throws java.io.IOException,
java.sql.SQLException
java.io.IOException
java.sql.SQLException
public static java.lang.String getRamOption(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeServerForm signupCustomizeServerForm)
throws java.io.IOException,
java.sql.SQLException
java.io.IOException
java.sql.SQLException
public static java.lang.String getSataControllerOption(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeServerForm signupCustomizeServerForm)
throws java.io.IOException,
java.sql.SQLException
java.io.IOException
java.sql.SQLException
public static java.lang.String getScsiControllerOption(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeServerForm signupCustomizeServerForm)
throws java.io.IOException,
java.sql.SQLException
java.io.IOException
java.sql.SQLException
public static java.util.List<java.lang.String> getDiskOptions(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeServerForm signupCustomizeServerForm)
throws java.io.IOException,
java.sql.SQLException
java.io.IOException
java.sql.SQLException
public static void setConfirmationRequestAttributes(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SignupSelectPackageForm signupSelectPackageForm,
SignupCustomizeServerForm signupCustomizeServerForm)
throws java.io.IOException,
java.sql.SQLException
java.io.IOException
java.sql.SQLException
public static void printConfirmation(javax.servlet.http.HttpServletRequest request,
com.aoindustries.io.ChainWriter emailOut,
com.aoindustries.aoserv.client.AOServConnector rootConn,
com.aoindustries.aoserv.client.PackageDefinition packageDefinition,
SignupCustomizeServerForm signupCustomizeServerForm)
throws java.io.IOException,
java.sql.SQLException
java.io.IOException
java.sql.SQLException
public static int getTotalHardwareDiskSpace(com.aoindustries.aoserv.client.AOServConnector rootConn,
SignupCustomizeServerForm signupCustomizeServerForm)
throws java.io.IOException,
java.sql.SQLException
java.io.IOException
java.sql.SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||