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 Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate String(package private) static org.apache.commons.logging.Logprivate Stringprivate Stringprivate static final longFields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAttributeAltPrice(String attributeAltPrice) voidsetAttributeCode(String attributeCode) voidsetAttributeDescription(String attributeDescription) voidsetAttributeID(String attributeID) voidsetAttributeIsActive(String attributeIsActive) voidsetAttributeIsRequired(String attributeIsRequired) voidsetAttributeLargeImage(String attributeLargeImage) voidsetAttributeName(String attributeName) voidsetAttributeOrder(String attributeOrder) voidsetAttributeSmallImage(String attributeSmallImage) voidsetAttributeType(String attributeType) voidsetAttributeUnitCost(String attributeUnitCost) voidsetAttributeUnitPrice(String attributeUnitPrice) voidsetAttributeWeight(String attributeWeight) voidsetDefaultOptionID(String defaultOptionID) voidsetParentName(String parentName) voidsetProductID(String productID) org.apache.struts.action.ActionErrorsvalidate(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, setAdministratorMethods 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, setUserMethods 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:
validatein classorg.apache.struts.action.ActionForm
-