Class AttributeAddEditForm
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.AttributeAddEditForm
- All Implemented Interfaces:
Serializable
Struts form class corresponding to requests to
"/administrator/AttributeAddForm.do", "/administrator/AttributeEditForm.do",
"/administrator/AttributeAdd.do", and "/administrator/AttributeEdit.do".
Provides properties corresponding to the fields for a single attribute
record.
- Author:
- David Tobey
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
(package private) static org.apache.commons.logging.Log
private String
private String
private static final long
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setAttributeAltPrice
(String attributeAltPrice) void
setAttributeCode
(String attributeCode) void
setAttributeDescription
(String attributeDescription) void
setAttributeID
(String attributeID) void
setAttributeIsActive
(String attributeIsActive) void
setAttributeIsRequired
(String attributeIsRequired) void
setAttributeLargeImage
(String attributeLargeImage) void
setAttributeName
(String attributeName) void
setAttributeOrder
(String attributeOrder) void
setAttributeSmallImage
(String attributeSmallImage) void
setAttributeType
(String attributeType) void
setAttributeUnitCost
(String attributeUnitCost) void
setAttributeUnitPrice
(String attributeUnitPrice) void
setAttributeWeight
(String attributeWeight) void
setDefaultOptionID
(String defaultOptionID) void
setParentName
(String parentName) void
setProductID
(String productID) 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 -
attributeID
-
productID
-
parentName
-
attributeCode
-
attributeName
-
attributeDescription
-
attributeIsActive
-
attributeType
-
attributeUnitCost
-
attributeUnitPrice
-
attributeAltPrice
-
attributeWeight
-
attributeSmallImage
-
attributeLargeImage
-
defaultOptionID
-
attributeIsRequired
-
attributeOrder
-
-
Constructor Details
-
AttributeAddEditForm
public AttributeAddEditForm()
-
-
Method Details
-
getParentName
-
setParentName
-
getAttributeID
-
setAttributeID
-
getProductID
-
setProductID
-
getAttributeAltPrice
-
setAttributeAltPrice
-
getAttributeCode
-
setAttributeCode
-
getAttributeDescription
-
setAttributeDescription
-
getAttributeIsActive
-
setAttributeIsActive
-
getAttributeIsRequired
-
setAttributeIsRequired
-
getAttributeLargeImage
-
setAttributeLargeImage
-
getAttributeName
-
setAttributeName
-
getAttributeOrder
-
setAttributeOrder
-
getAttributeSmallImage
-
setAttributeSmallImage
-
getAttributeType
-
setAttributeType
-
getAttributeUnitCost
-
setAttributeUnitCost
-
getAttributeUnitPrice
-
setAttributeUnitPrice
-
getAttributeWeight
-
setAttributeWeight
-
getDefaultOptionID
-
setDefaultOptionID
-
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
-