Class ProductForm
java.lang.Object
org.apache.struts.action.ActionForm
com.softslate.commerce.administrator.core.BaseSerializableForm
com.softslate.commerce.administrator.product.ProductForm
- All Implemented Interfaces:
Serializable
Struts form class corresponding to requests to "/administrator/Product.do".
Provides properties to control searching, viewing, editing, and deleting
records in the
sscProduct table.- Author:
- David Tobey
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate String[]private Stringprivate String[]private Stringprivate Stringprivate Stringprivate String[]private String[]private Stringprivate String[]private String[]private Stringprivate Stringprivate Classprivate Stringprivate String[]private String[]private String[]private String[]private String[]private String[]private String[]private String[]private Stringprivate String[]private Stringprivate String[]private String[]private String[]private String[](package private) static org.apache.commons.logging.Logprivate booleanprivate String[]private String[]private String[]private Stringprivate Stringprivate Stringprivate Stringprivate String[]private Stringprivate String[]private String[]private String[]private String[]private String[]private String[]private String[]private String[]private static final longprivate String[]private String[]private Stringprivate Stringprivate String[]private String[]private String[]private StringFields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]String[]String[]getCode()String[]String[]String[]String[]String[]String[]String[]String[]String[]String[]String[]String[]String[]String[]String[]String[]String[]String[]String[]getName()String[]String[]String[]String[]String[]String[]String[]String[]String[]String[]String[]String[]String[]String[]booleanvoidsetAddFormAction(String addFormAction) voidsetAltPrice(String[] altPrice) voidsetAttributeID(String attributeID) voidsetCantSortByFields(String[] cantSortByFields) voidsetCategoryID(String categoryID) voidsetChildEditAction(String childEditAction) voidsetChildName(String childName) voidvoidsetCreated(String[] created) voidsetCustomerWishListID(String customerWishListID) voidsetDescription(String[] description) voidsetDisplayFields(String[] displayFields) voidsetEditDeleteFormAction(String editDeleteFormAction) voidsetEditFormAction(String editFormAction) voidvoidsetEntityProperty(String entityProperty) voidvoidvoidvoidvoidvoidsetFieldLables(String[] fieldLables) voidvoidvoidsetFormAction(String formAction) voidvoidsetIdField(String idField) voidsetIsActive(String[] isActive) voidsetIsTaxed(String[] isTaxed) voidsetKeywords(String[] keywords) voidsetLargeImage(String[] largeImage) voidsetM2mChild(boolean child) voidsetManufacturerID(String[] manufacturerID) voidsetMediumImage(String[] mediumImage) voidvoidsetNameField(String nameField) voidsetParentIDField(String parentIDField) voidsetParentManufacturerID(String parentManufacturerID) voidsetParentProductID(String parentProductID) voidsetPrimaryCategoryID(String[] primaryCategoryID) voidsetProcessSelectedAction(String processSelectedAction) voidsetProductCategoryOrder(String[] productCategoryOrder) voidsetProductID(String[] productID) voidsetProductOrder(String[] productOrder) voidsetProperties(javax.servlet.http.HttpServletRequest request) voidsetRelatedProductOrder(String[] relatedProductOrder) voidsetRelatedType(String[] relatedType) voidsetSearchableFields(String[] searchableFields) voidsetSelectedID(String[] selectedID) voidsetSeoCode(String[] seoCode) voidsetShortDescription(String[] shortDescription) voidsetSmallImage(String[] smallImage) voidsetSortAscOrDesc(String sortAscOrDesc) voidsetSortByString(String sortByString) voidsetUnitCost(String[] unitCost) voidsetUnitPrice(String[] unitPrice) voidvoidsetWithSelected(String withSelected) 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.BaseSerializableForm
arrayAppend, arrayPrepend, arrayRemove, containsUnsafeCharacter, getAssigned, getAssignments, getDeleteID, getEditMode, getFirstRow, getFormUtils, getGrandparentIDField, getGrandparentName, getGreatGrandparentIDField, getGreatGrandparentName, getIdIntegers, getIdValues, getItemsPerPage, getJoinManyToManyParent, getManyToManyClass, getManyToManyKey, getManyToManyProp, getOutputMode, getParentID, getParentKey, getParentName, getParentProperty, getParentScreen, getSearchableIntFields, getSearchString, setAssigned, setAssignments, setDeleteID, setEditMode, setFirstRow, setGrandparentIDField, setGrandparentName, setGreatGrandparentIDField, setGreatGrandparentName, setIdIntegers, setIdValues, setItemsPerPage, setJoinManyToManyParent, setManyToManyClass, setManyToManyKey, setManyToManyProp, setOutputMode, setParentID, setParentKey, setParentName, setParentProperty, setParentScreen, setSearchableIntFields, setSearchStringMethods 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 -
withSelected
-
processSelectedAction
-
selectedID
-
idField
-
nameField
-
childName
-
m2mChild
private boolean m2mChild -
parentIDField
-
entityProperty
-
entity
-
categoryID
-
attributeID
-
parentProductID
-
parentManufacturerID
-
customerWishListID
-
fields
-
fieldLables
-
displayFields
-
searchableFields
-
sortByString
-
sortAscOrDesc
-
cantSortByFields
-
formAction
-
addFormAction
-
editFormAction
-
editDeleteFormAction
-
childEditAction
-
productID
-
code
-
seoCode
-
name
-
keywords
-
shortDescription
-
description
-
isActive
-
unitCost
-
unitPrice
-
altPrice
-
weight
-
header
-
isTaxed
-
smallImage
-
mediumImage
-
largeImage
-
created
-
extra1
-
extra2
-
extra3
-
extra4
-
extra5
-
-
manufacturerID
-
productOrder
-
productCategoryOrder
-
-
Constructor Details
-
ProductForm
public ProductForm()
-
-
Method Details
-
isM2mChild
public boolean isM2mChild()- Overrides:
isM2mChildin classBaseSerializableForm
-
setM2mChild
public void setM2mChild(boolean child) - Overrides:
setM2mChildin classBaseSerializableForm
-
getEntity
- Overrides:
getEntityin classBaseSerializableForm
-
setEntity
- Overrides:
setEntityin classBaseSerializableForm
-
getEntityProperty
- Overrides:
getEntityPropertyin classBaseSerializableForm
-
setEntityProperty
- Overrides:
setEntityPropertyin classBaseSerializableForm
-
getAltPrice
-
setAltPrice
-
getCantSortByFields
- Overrides:
getCantSortByFieldsin classBaseSerializableForm
-
setCantSortByFields
- Overrides:
setCantSortByFieldsin classBaseSerializableForm
-
getCode
-
setCode
-
getSeoCode
-
setSeoCode
-
getDescription
-
setDescription
-
getCreated
-
setCreated
-
getExtra1
-
setExtra1
-
getExtra2
-
setExtra2
-
getExtra3
-
setExtra3
-
getExtra4
-
setExtra4
-
getExtra5
-
setExtra5
-
getKeywords
-
setKeywords
-
getHeader
-
setHeader
-
getIsActive
-
setIsActive
-
getIsTaxed
-
setIsTaxed
-
getLargeImage
-
setLargeImage
-
getMediumImage
-
setMediumImage
-
getName
-
setName
-
getPrimaryCategoryID
-
setPrimaryCategoryID
-
getProductOrder
-
setProductOrder
-
getShortDescription
-
setShortDescription
-
getSmallImage
-
setSmallImage
-
getUnitCost
-
setUnitCost
-
getUnitPrice
-
setUnitPrice
-
getWeight
-
setWeight
-
getManufacturerID
-
setManufacturerID
-
getIdField
- Overrides:
getIdFieldin classBaseSerializableForm
-
setIdField
- Overrides:
setIdFieldin classBaseSerializableForm
-
getParentIDField
- Overrides:
getParentIDFieldin classBaseSerializableForm
-
setParentIDField
- Overrides:
setParentIDFieldin classBaseSerializableForm
-
getFields
- Overrides:
getFieldsin classBaseSerializableForm
-
setFields
- Overrides:
setFieldsin classBaseSerializableForm
-
getFieldLables
- Overrides:
getFieldLablesin classBaseSerializableForm
-
setFieldLables
- Overrides:
setFieldLablesin classBaseSerializableForm
-
getDisplayFields
- Overrides:
getDisplayFieldsin classBaseSerializableForm
-
setDisplayFields
- Overrides:
setDisplayFieldsin classBaseSerializableForm
-
getSearchableFields
- Overrides:
getSearchableFieldsin classBaseSerializableForm
-
setSearchableFields
- Overrides:
setSearchableFieldsin classBaseSerializableForm
-
getSortByString
- Overrides:
getSortByStringin classBaseSerializableForm
-
setSortByString
- Overrides:
setSortByStringin classBaseSerializableForm
-
getFormAction
- Overrides:
getFormActionin classBaseSerializableForm
-
setFormAction
- Overrides:
setFormActionin classBaseSerializableForm
-
getAddFormAction
- Overrides:
getAddFormActionin classBaseSerializableForm
-
setAddFormAction
- Overrides:
setAddFormActionin classBaseSerializableForm
-
getEditFormAction
- Overrides:
getEditFormActionin classBaseSerializableForm
-
setEditFormAction
- Overrides:
setEditFormActionin classBaseSerializableForm
-
getEditDeleteFormAction
- Overrides:
getEditDeleteFormActionin classBaseSerializableForm
-
setEditDeleteFormAction
- Overrides:
setEditDeleteFormActionin classBaseSerializableForm
-
getChildEditAction
- Overrides:
getChildEditActionin classBaseSerializableForm
-
setChildEditAction
- Overrides:
setChildEditActionin classBaseSerializableForm
-
getCategoryID
-
setCategoryID
-
getAttributeID
-
setAttributeID
-
getParentManufacturerID
-
setParentManufacturerID
-
getProductID
-
setProductID
-
getSortAscOrDesc
- Overrides:
getSortAscOrDescin classBaseSerializableForm
-
setSortAscOrDesc
- Overrides:
setSortAscOrDescin classBaseSerializableForm
-
getChildName
- Overrides:
getChildNamein classBaseSerializableForm
-
setChildName
- Overrides:
setChildNamein classBaseSerializableForm
-
getNameField
- Overrides:
getNameFieldin classBaseSerializableForm
-
setNameField
- Overrides:
setNameFieldin classBaseSerializableForm
-
getParentProductID
-
setParentProductID
-
getProductCategoryOrder
-
setProductCategoryOrder
-
getRelatedProductOrder
-
setRelatedProductOrder
-
getRelatedType
-
setRelatedType
-
getWithSelected
-
setWithSelected
-
getProcessSelectedAction
-
setProcessSelectedAction
-
getSelectedID
-
setSelectedID
-
getCustomerWishListID
-
setCustomerWishListID
-
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
-
setProperties
public void setProperties(javax.servlet.http.HttpServletRequest request) - Overrides:
setPropertiesin classBaseSerializableForm
-