Class ProductReviewAddEditForm
java.lang.Object
org.apache.struts.action.ActionForm
com.softslate.commerce.customer.core.BaseForm
com.softslate.commerce.administrator.core.BaseAdministratorForm
com.softslate.commerce.administrator.product.ProductReviewAddEditForm
- All Implemented Interfaces:
Serializable
This class is used to represent a single product review record in the system.
- Author:
- Tony Zakula
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private String
private String
private String
private int
private String
private String
private org.apache.struts.upload.FormFile
private String
private String
private String
(package private) static org.apache.commons.logging.Log
private String
private Product
private String
private Integer
private Integer
private Integer
private String
private static final long
private String
private Integer
private String
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAge()
getCity()
int
getEmail()
org.apache.struts.upload.FormFile
getState()
void
void
void
setCountry
(String country) void
setCreated
(String created) void
setCustomerID
(int customerID) void
void
setFirstName
(String firstName) void
setImageFile
(org.apache.struts.upload.FormFile imageFile) void
setImagePath
(String imagePath) void
setIpAddress
(String ipAddress) void
setLastName
(String lastName) void
setNickname
(String nickname) void
setProduct
(Product product) void
setProductCode
(String productCode) void
setProductID
(Integer productID) void
setProductReviewID
(Integer productReviewID) void
void
void
void
void
setTextFromImage
(String textFromImage) 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 -
productReviewID
-
productID
-
status
-
firstName
-
lastName
-
age
-
email
-
city
-
state
-
review
-
rating
-
created
-
imagePath
-
ipAddress
-
product
-
country
-
imageFile
private org.apache.struts.upload.FormFile imageFile -
textFromImage
-
customerID
private int customerID -
productCode
-
nickname
-
-
Constructor Details
-
ProductReviewAddEditForm
public ProductReviewAddEditForm()
-
-
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
-
getCreated
-
setCreated
-
getImagePath
-
setImagePath
-
getIpAddress
-
setIpAddress
-
getProductReviewID
-
setProductReviewID
-
getProductID
-
setProductID
-
getStatus
-
setStatus
-
getFirstName
-
setFirstName
-
getLastName
-
setLastName
-
getAge
-
setAge
-
getProduct
-
setProduct
-
getCountry
-
setCountry
-
getImageFile
public org.apache.struts.upload.FormFile getImageFile() -
setImageFile
public void setImageFile(org.apache.struts.upload.FormFile imageFile) -
getTextFromImage
-
setTextFromImage
-
getCustomerID
public int getCustomerID() -
setCustomerID
public void setCustomerID(int customerID) -
getProductCode
-
setProductCode
-
getNickname
-
setNickname
-