Class StateAddEditForm
java.lang.Object
org.apache.struts.action.ActionForm
com.softslate.commerce.customer.core.BaseForm
com.softslate.commerce.administrator.core.BaseAdministratorForm
com.softslate.commerce.administrator.order.StateAddEditForm
- All Implemented Interfaces:
Serializable
Struts form class corresponding to requests to
"/administrator/StateAddForm.do", "/administrator/StateEditForm.do",
"/administrator/StateAdd.do", and "/administrator/StateEdit.do".
Provides properties corresponding to the fields for a single state
record.
- Author:
- David Tobey
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private String
private String
(package private) static org.apache.commons.logging.Log
private String
private static final long
private String
private String
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()
getName()
void
void
setCountryID
(String countryID) void
setIsActive
(String isActive) void
void
setStateID
(String stateID) void
setStateOrder
(String stateOrder) org.apache.struts.action.ActionErrors
validate
(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request) Methods inherited from class com.softslate.commerce.administrator.core.BaseAdministratorForm
addingAndFieldIsBlank, addingAndFieldIsBlank, addingNewRecord, containsUnsafeCharacter, editingAndFieldIsBeingEmptiedOut, editingAndFieldIsBeingEmptiedOut, getAdministrator, getFormUtils, initializeProperties, mapOfIncomingParams, setAdministrator
Methods inherited from class com.softslate.commerce.customer.core.BaseForm
formUtils, getBusinessObjectFactory, getErrors, getMapping, getMessage, getMessages, getRequest, getSettings, getUser, html5OrXhtml, setBusinessObjectFactory, setErrors, setMapping, setMessages, setRequest, setSettings, setUser
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
log
static org.apache.commons.logging.Log log -
stateID
-
countryID
-
code
-
name
-
stateOrder
-
isActive
-
-
Constructor Details
-
StateAddEditForm
public StateAddEditForm()
-
-
Method Details
-
getCode
-
setCode
-
getCountryID
-
setCountryID
-
getIsActive
-
setIsActive
-
getName
-
setName
-
getStateOrder
-
setStateOrder
-
getStateID
-
setStateID
-
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request) - Overrides:
validate
in classorg.apache.struts.action.ActionForm
-