Module com.aoindustries.web.struts
Class SignupCustomizeServerForm
java.lang.Object
org.apache.struts.action.ActionForm
com.aoindustries.web.struts.signup.SignupCustomizeServerForm
- All Implemented Interfaces:
SessionActionForm
,Serializable
- Direct Known Subclasses:
DedicatedSignupCustomizeServerForm
,ManagedSignupCustomizeServerForm
,VirtualDedicatedSignupCustomizeServerForm
,VirtualManagedSignupCustomizeServerForm
public abstract class SignupCustomizeServerForm
extends ActionForm
implements Serializable, SessionActionForm
- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
final int
final int
final int
final int
protected abstract ScopeEE.Session.Attribute
<? extends SignupSelectPackageForm> boolean
boolean
isEmpty()
Indicates this form is empty, meaning that a default instance may be used in its place with no consequences.final void
setCpuOption
(int cpuOption) final void
setDiskOptions
(List<String> diskOptions) final void
setPowerOption
(int powerOption) final void
setRamOption
(int ramOption) final void
setSataControllerOption
(int sataControllerOption) final void
setScsiControllerOption
(int scsiControllerOption) validate
(ActionMapping mapping, HttpServletRequest request) Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate
-
Constructor Details
-
SignupCustomizeServerForm
protected SignupCustomizeServerForm()
-
-
Method Details
-
isEmpty
public boolean isEmpty()Description copied from interface:SessionActionForm
Indicates this form is empty, meaning that a default instance may be used in its place with no consequences.- Specified by:
isEmpty
in interfaceSessionActionForm
-
getPowerOption
public final int getPowerOption() -
setPowerOption
public final void setPowerOption(int powerOption) -
getCpuOption
public final int getCpuOption() -
setCpuOption
public final void setCpuOption(int cpuOption) -
getRamOption
public final int getRamOption() -
setRamOption
public final void setRamOption(int ramOption) -
getSataControllerOption
public final int getSataControllerOption() -
setSataControllerOption
public final void setSataControllerOption(int sataControllerOption) -
getScsiControllerOption
public final int getScsiControllerOption() -
setScsiControllerOption
public final void setScsiControllerOption(int scsiControllerOption) -
getDiskOptions
-
setDiskOptions
-
validate
- Overrides:
validate
in classActionForm
-
isAtLeastOneDiskSelected
public boolean isAtLeastOneDiskSelected() -
getSignupSelectPackageFormName
protected abstract ScopeEE.Session.Attribute<? extends SignupSelectPackageForm> getSignupSelectPackageFormName()
-