Module com.aoindustries.web.struts
Class ServerConfirmationCompletedActionHelper
java.lang.Object
com.aoindustries.web.struts.signup.ServerConfirmationCompletedActionHelper
Managed6CompletedAction and Dedicated6CompletedAction 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 void
addOptions
(Map<String, String> options, SignupCustomizeManagementForm signupCustomizeManagementForm) static void
addOptions
(Map<String, String> options, SignupCustomizeServerForm signupCustomizeServerForm) static void
sendCustomerSummaryEmails
(ActionServlet servlet, HttpServletRequest request, String pkey, String statusKey, PackageDefinition packageDefinition, SignupCustomizeServerForm signupCustomizeServerForm, SignupCustomizeManagementForm signupCustomizeManagementForm, SignupOrganizationForm signupOrganizationForm, SignupTechnicalForm signupTechnicalForm, SignupBillingInformationForm signupBillingInformationForm) Sends the customer emails and stores the successAddresses and failureAddresses as request attributes.static void
sendSupportSummaryEmail
(ActionServlet servlet, HttpServletRequest request, String pkey, String statusKey, PackageDefinition packageDefinition, SignupCustomizeServerForm signupCustomizeServerForm, SignupCustomizeManagementForm signupCustomizeManagementForm, SignupOrganizationForm signupOrganizationForm, SignupTechnicalForm signupTechnicalForm, SignupBillingInformationForm signupBillingInformationForm) static void
storeToDatabase
(ActionServlet servlet, HttpServletRequest request, AoservConnector rootConn, PackageDefinition packageDefinition, SignupOrganizationForm signupOrganizationForm, SignupTechnicalForm signupTechnicalForm, SignupBillingInformationForm signupBillingInformationForm, Map<String, String> options) Stores to the database, if possible.
-
Method Details
-
addOptions
public static void addOptions(Map<String, String> options, SignupCustomizeServerForm signupCustomizeServerForm) -
addOptions
public static void addOptions(Map<String, String> options, SignupCustomizeManagementForm signupCustomizeManagementForm) -
storeToDatabase
public static void storeToDatabase(ActionServlet servlet, HttpServletRequest request, AoservConnector rootConn, PackageDefinition packageDefinition, SignupOrganizationForm signupOrganizationForm, SignupTechnicalForm signupTechnicalForm, SignupBillingInformationForm signupBillingInformationForm, Map<String, String> options) Stores to the database, if possible. Sets request attributes "pkey" and "statusKey", both as String type. -
sendSupportSummaryEmail
public static void sendSupportSummaryEmail(ActionServlet servlet, HttpServletRequest request, String pkey, String statusKey, PackageDefinition packageDefinition, SignupCustomizeServerForm signupCustomizeServerForm, SignupCustomizeManagementForm signupCustomizeManagementForm, SignupOrganizationForm signupOrganizationForm, SignupTechnicalForm signupTechnicalForm, SignupBillingInformationForm signupBillingInformationForm) -
sendCustomerSummaryEmails
public static void sendCustomerSummaryEmails(ActionServlet servlet, HttpServletRequest request, String pkey, String statusKey, PackageDefinition packageDefinition, SignupCustomizeServerForm signupCustomizeServerForm, SignupCustomizeManagementForm signupCustomizeManagementForm, SignupOrganizationForm signupOrganizationForm, SignupTechnicalForm signupTechnicalForm, SignupBillingInformationForm signupBillingInformationForm) Sends the customer emails and stores the successAddresses and failureAddresses as request attributes.
-