Class ProductReviewForm
java.lang.Object
org.apache.struts.action.ActionForm
com.softslate.commerce.customer.core.BaseForm
com.softslate.commerce.customer.product.ProductReviewForm
- All Implemented Interfaces:
Serializable
This class is used for the presentation/struts side of the product review
form submission.
- Author:
- Tony Zakula
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private String
private String
private String
private String
private String
private org.apache.struts.upload.FormFile
private String
private String
(package private) static org.apache.commons.logging.Log
private String
private Integer
private String
private static final long
private String
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAge()
getCity()
getCode()
getEmail()
org.apache.struts.upload.FormFile
getState()
void
void
void
void
setCountry
(String country) void
void
setFirstName
(String firstName) void
setImageFile
(org.apache.struts.upload.FormFile imageFile) void
setImagePath
(String imagePath) void
setLastName
(String lastName) void
setNickname
(String nickname) void
void
void
org.apache.struts.action.ActionErrors
validate
(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request) Methods inherited from class com.softslate.commerce.customer.core.BaseForm
formUtils, getBusinessObjectFactory, getErrors, getMapping, getMessage, getMessages, getRequest, getSettings, getUser, html5OrXhtml, initializeProperties, 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 -
firstName
-
lastName
-
age
-
email
-
city
-
state
-
review
-
rating
-
imagePath
-
country
-
imageFile
private org.apache.struts.upload.FormFile imageFile -
code
-
nickname
-
-
Constructor Details
-
ProductReviewForm
public ProductReviewForm()
-
-
Method Details
-
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
-
getEmail
-
setEmail
-
getCity
-
setCity
-
getState
-
setState
-
getReview
-
setReview
-
getRating
-
setRating
-
getImagePath
-
setImagePath
-
getFirstName
-
setFirstName
-
getLastName
-
setLastName
-
getAge
-
setAge
-
getCountry
-
setCountry
-
getImageFile
public org.apache.struts.upload.FormFile getImageFile() -
setImageFile
public void setImageFile(org.apache.struts.upload.FormFile imageFile) -
getCode
-
setCode
-
getNickname
-
setNickname
-