com.softslate.commerce.administrator.product
Class ProductForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by com.softslate.commerce.administrator.core.BaseSerializableForm
          extended by com.softslate.commerce.administrator.product.ProductForm
All Implemented Interfaces:
java.io.Serializable

public class ProductForm
extends BaseSerializableForm

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:
Serialized Form

Field Summary
private  java.lang.String addFormAction
           
private  java.lang.String[] altPrice
           
private  java.lang.String attributeID
           
private  java.lang.String[] cantSortByFields
           
private  java.lang.String categoryID
           
private  java.lang.String childEditAction
           
private  java.lang.String childName
           
private  java.lang.String[] code
           
private  java.lang.String[] description
           
private  java.lang.String[] displayFields
           
private  java.lang.String editDeleteFormAction
           
private  java.lang.String editFormAction
           
private  java.lang.Class entity
           
private  java.lang.String entityProperty
           
private  java.lang.String[] extra1
           
private  java.lang.String[] extra2
           
private  java.lang.String[] extra3
           
private  java.lang.String[] extra4
           
private  java.lang.String[] extra5
           
private  java.lang.String[] fieldLables
           
private  java.lang.String[] fields
           
private  java.lang.String[] footer
           
private  java.lang.String formAction
           
private  java.lang.String[] header
           
private  java.lang.String idField
           
private  java.lang.String[] isActive
           
private  java.lang.String[] isTaxed
           
private  java.lang.String[] keywords
           
private  java.lang.String[] largeImage
           
(package private) static org.apache.commons.logging.Log log
           
private  boolean m2mChild
           
private  java.lang.String[] manufacturerID
           
private  java.lang.String[] mediumImage
           
private  java.lang.String[] name
           
private  java.lang.String nameField
           
private  java.lang.String parentIDField
           
private  java.lang.String parentManufacturerID
           
private  java.lang.String parentProductID
           
private  java.lang.String[] primaryCategoryID
           
private  java.lang.String processSelectedAction
           
private  java.lang.String[] productCategoryOrder
           
private  java.lang.String[] productID
           
private  java.lang.String[] productOrder
           
private  java.lang.String[] relatedProductOrder
           
private  java.lang.String[] searchableFields
           
private  java.lang.String[] selectedID
           
private  java.lang.String[] seoCode
           
private static long serialVersionUID
           
private  java.lang.String[] shortDescription
           
private  java.lang.String[] smallImage
           
private  java.lang.String sortAscOrDesc
           
private  java.lang.String sortByString
           
private  java.lang.String[] unitCost
           
private  java.lang.String[] unitPrice
           
private  java.lang.String[] weight
           
private  java.lang.String withSelected
           
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
ProductForm()
           
 
Method Summary
 java.lang.String getAddFormAction()
           
 java.lang.String[] getAltPrice()
           
 java.lang.String getAttributeID()
           
 java.lang.String[] getCantSortByFields()
           
 java.lang.String getCategoryID()
           
 java.lang.String getChildEditAction()
           
 java.lang.String getChildName()
           
 java.lang.String[] getCode()
           
 java.lang.String[] getDescription()
           
 java.lang.String[] getDisplayFields()
           
 java.lang.String getEditDeleteFormAction()
           
 java.lang.String getEditFormAction()
           
 java.lang.Class getEntity()
           
 java.lang.String getEntityProperty()
           
 java.lang.String[] getExtra1()
           
 java.lang.String[] getExtra2()
           
 java.lang.String[] getExtra3()
           
 java.lang.String[] getExtra4()
           
 java.lang.String[] getExtra5()
           
 java.lang.String[] getFieldLables()
           
 java.lang.String[] getFields()
           
 java.lang.String[] getFooter()
           
 java.lang.String getFormAction()
           
 java.lang.String[] getHeader()
           
 java.lang.String getIdField()
           
 java.lang.String[] getIsActive()
           
 java.lang.String[] getIsTaxed()
           
 java.lang.String[] getKeywords()
           
 java.lang.String[] getLargeImage()
           
 java.lang.String[] getManufacturerID()
           
 java.lang.String[] getMediumImage()
           
 java.lang.String[] getName()
           
 java.lang.String getNameField()
           
 java.lang.String getParentIDField()
           
 java.lang.String getParentManufacturerID()
           
 java.lang.String getParentProductID()
           
 java.lang.String[] getPrimaryCategoryID()
           
 java.lang.String getProcessSelectedAction()
           
 java.lang.String[] getProductCategoryOrder()
           
 java.lang.String[] getProductID()
           
 java.lang.String[] getProductOrder()
           
 java.lang.String[] getRelatedProductOrder()
           
 java.lang.String[] getSearchableFields()
           
 java.lang.String[] getSelectedID()
           
 java.lang.String[] getSeoCode()
           
 java.lang.String[] getShortDescription()
           
 java.lang.String[] getSmallImage()
           
 java.lang.String getSortAscOrDesc()
           
 java.lang.String getSortByString()
           
 java.lang.String[] getUnitCost()
           
 java.lang.String[] getUnitPrice()
           
 java.lang.String[] getWeight()
           
 java.lang.String getWithSelected()
           
 boolean isM2mChild()
           
 void setAddFormAction(java.lang.String addFormAction)
           
 void setAltPrice(java.lang.String[] altPrice)
           
 void setAttributeID(java.lang.String attributeID)
           
 void setCantSortByFields(java.lang.String[] cantSortByFields)
           
 void setCategoryID(java.lang.String categoryID)
           
 void setChildEditAction(java.lang.String childEditAction)
           
 void setChildName(java.lang.String childName)
           
 void setCode(java.lang.String[] code)
           
 void setDescription(java.lang.String[] description)
           
 void setDisplayFields(java.lang.String[] displayFields)
           
 void setEditDeleteFormAction(java.lang.String editDeleteFormAction)
           
 void setEditFormAction(java.lang.String editFormAction)
           
 void setEntity(java.lang.Class entity)
           
 void setEntityProperty(java.lang.String entityProperty)
           
 void setExtra1(java.lang.String[] extra1)
           
 void setExtra2(java.lang.String[] extra2)
           
 void setExtra3(java.lang.String[] extra3)
           
 void setExtra4(java.lang.String[] extra4)
           
 void setExtra5(java.lang.String[] extra5)
           
 void setFieldLables(java.lang.String[] fieldLables)
           
 void setFields(java.lang.String[] fields)
           
 void setFooter(java.lang.String[] footer)
           
 void setFormAction(java.lang.String formAction)
           
 void setHeader(java.lang.String[] header)
           
 void setIdField(java.lang.String idField)
           
 void setIsActive(java.lang.String[] isActive)
           
 void setIsTaxed(java.lang.String[] isTaxed)
           
 void setKeywords(java.lang.String[] keywords)
           
 void setLargeImage(java.lang.String[] largeImage)
           
 void setM2mChild(boolean child)
           
 void setManufacturerID(java.lang.String[] manufacturerID)
           
 void setMediumImage(java.lang.String[] mediumImage)
           
 void setName(java.lang.String[] name)
           
 void setNameField(java.lang.String nameField)
           
 void setParentIDField(java.lang.String parentIDField)
           
 void setParentManufacturerID(java.lang.String parentManufacturerID)
           
 void setParentProductID(java.lang.String parentProductID)
           
 void setPrimaryCategoryID(java.lang.String[] primaryCategoryID)
           
 void setProcessSelectedAction(java.lang.String processSelectedAction)
           
 void setProductCategoryOrder(java.lang.String[] productCategoryOrder)
           
 void setProductID(java.lang.String[] productID)
           
 void setProductOrder(java.lang.String[] productOrder)
           
 void setProperties(javax.servlet.http.HttpServletRequest request)
           
 void setRelatedProductOrder(java.lang.String[] relatedProductOrder)
           
 void setSearchableFields(java.lang.String[] searchableFields)
           
 void setSelectedID(java.lang.String[] selectedID)
           
 void setSeoCode(java.lang.String[] seoCode)
           
 void setShortDescription(java.lang.String[] shortDescription)
           
 void setSmallImage(java.lang.String[] smallImage)
           
 void setSortAscOrDesc(java.lang.String sortAscOrDesc)
           
 void setSortByString(java.lang.String sortByString)
           
 void setUnitCost(java.lang.String[] unitCost)
           
 void setUnitPrice(java.lang.String[] unitPrice)
           
 void setWeight(java.lang.String[] weight)
           
 void setWithSelected(java.lang.String withSelected)
           
 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.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, setSearchString
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

log

static org.apache.commons.logging.Log log

withSelected

private java.lang.String withSelected

processSelectedAction

private java.lang.String processSelectedAction

selectedID

private java.lang.String[] selectedID

idField

private java.lang.String idField

nameField

private java.lang.String nameField

childName

private java.lang.String childName

m2mChild

private boolean m2mChild

parentIDField

private java.lang.String parentIDField

entityProperty

private java.lang.String entityProperty

entity

private java.lang.Class entity

categoryID

private java.lang.String categoryID

attributeID

private java.lang.String attributeID

parentProductID

private java.lang.String parentProductID

parentManufacturerID

private java.lang.String parentManufacturerID

fields

private java.lang.String[] fields

fieldLables

private java.lang.String[] fieldLables

displayFields

private java.lang.String[] displayFields

searchableFields

private java.lang.String[] searchableFields

sortByString

private java.lang.String sortByString

sortAscOrDesc

private java.lang.String sortAscOrDesc

cantSortByFields

private java.lang.String[] cantSortByFields

formAction

private java.lang.String formAction

addFormAction

private java.lang.String addFormAction

editFormAction

private java.lang.String editFormAction

editDeleteFormAction

private java.lang.String editDeleteFormAction

childEditAction

private java.lang.String childEditAction

productID

private java.lang.String[] productID

code

private java.lang.String[] code

seoCode

private java.lang.String[] seoCode

name

private java.lang.String[] name

keywords

private java.lang.String[] keywords

shortDescription

private java.lang.String[] shortDescription

description

private java.lang.String[] description

isActive

private java.lang.String[] isActive

unitCost

private java.lang.String[] unitCost

unitPrice

private java.lang.String[] unitPrice

altPrice

private java.lang.String[] altPrice

weight

private java.lang.String[] weight

header

private java.lang.String[] header

footer

private java.lang.String[] footer

isTaxed

private java.lang.String[] isTaxed

smallImage

private java.lang.String[] smallImage

mediumImage

private java.lang.String[] mediumImage

largeImage

private java.lang.String[] largeImage

extra1

private java.lang.String[] extra1

extra2

private java.lang.String[] extra2

extra3

private java.lang.String[] extra3

extra4

private java.lang.String[] extra4

extra5

private java.lang.String[] extra5

primaryCategoryID

private java.lang.String[] primaryCategoryID

manufacturerID

private java.lang.String[] manufacturerID

productOrder

private java.lang.String[] productOrder

productCategoryOrder

private java.lang.String[] productCategoryOrder

relatedProductOrder

private java.lang.String[] relatedProductOrder
Constructor Detail

ProductForm

public ProductForm()
Method Detail

isM2mChild

public boolean isM2mChild()
Overrides:
isM2mChild in class BaseSerializableForm

setM2mChild

public void setM2mChild(boolean child)
Overrides:
setM2mChild in class BaseSerializableForm

getEntity

public java.lang.Class getEntity()
Overrides:
getEntity in class BaseSerializableForm

setEntity

public void setEntity(java.lang.Class entity)
Overrides:
setEntity in class BaseSerializableForm

getEntityProperty

public java.lang.String getEntityProperty()
Overrides:
getEntityProperty in class BaseSerializableForm

setEntityProperty

public void setEntityProperty(java.lang.String entityProperty)
Overrides:
setEntityProperty in class BaseSerializableForm

getAltPrice

public java.lang.String[] getAltPrice()

setAltPrice

public void setAltPrice(java.lang.String[] altPrice)

getCantSortByFields

public java.lang.String[] getCantSortByFields()
Overrides:
getCantSortByFields in class BaseSerializableForm

setCantSortByFields

public void setCantSortByFields(java.lang.String[] cantSortByFields)
Overrides:
setCantSortByFields in class BaseSerializableForm

getCode

public java.lang.String[] getCode()

setCode

public void setCode(java.lang.String[] code)

getSeoCode

public java.lang.String[] getSeoCode()

setSeoCode

public void setSeoCode(java.lang.String[] seoCode)

getDescription

public java.lang.String[] getDescription()

setDescription

public void setDescription(java.lang.String[] description)

getExtra1

public java.lang.String[] getExtra1()

setExtra1

public void setExtra1(java.lang.String[] extra1)

getExtra2

public java.lang.String[] getExtra2()

setExtra2

public void setExtra2(java.lang.String[] extra2)

getExtra3

public java.lang.String[] getExtra3()

setExtra3

public void setExtra3(java.lang.String[] extra3)

getExtra4

public java.lang.String[] getExtra4()

setExtra4

public void setExtra4(java.lang.String[] extra4)

getExtra5

public java.lang.String[] getExtra5()

setExtra5

public void setExtra5(java.lang.String[] extra5)

getKeywords

public java.lang.String[] getKeywords()

setKeywords

public void setKeywords(java.lang.String[] keywords)

getFooter

public java.lang.String[] getFooter()

setFooter

public void setFooter(java.lang.String[] footer)

getHeader

public java.lang.String[] getHeader()

setHeader

public void setHeader(java.lang.String[] header)

getIsActive

public java.lang.String[] getIsActive()

setIsActive

public void setIsActive(java.lang.String[] isActive)

getIsTaxed

public java.lang.String[] getIsTaxed()

setIsTaxed

public void setIsTaxed(java.lang.String[] isTaxed)

getLargeImage

public java.lang.String[] getLargeImage()

setLargeImage

public void setLargeImage(java.lang.String[] largeImage)

getMediumImage

public java.lang.String[] getMediumImage()

setMediumImage

public void setMediumImage(java.lang.String[] mediumImage)

getName

public java.lang.String[] getName()

setName

public void setName(java.lang.String[] name)

getPrimaryCategoryID

public java.lang.String[] getPrimaryCategoryID()

setPrimaryCategoryID

public void setPrimaryCategoryID(java.lang.String[] primaryCategoryID)

getProductOrder

public java.lang.String[] getProductOrder()

setProductOrder

public void setProductOrder(java.lang.String[] productOrder)

getShortDescription

public java.lang.String[] getShortDescription()

setShortDescription

public void setShortDescription(java.lang.String[] shortDescription)

getSmallImage

public java.lang.String[] getSmallImage()

setSmallImage

public void setSmallImage(java.lang.String[] smallImage)

getUnitCost

public java.lang.String[] getUnitCost()

setUnitCost

public void setUnitCost(java.lang.String[] unitCost)

getUnitPrice

public java.lang.String[] getUnitPrice()

setUnitPrice

public void setUnitPrice(java.lang.String[] unitPrice)

getWeight

public java.lang.String[] getWeight()

setWeight

public void setWeight(java.lang.String[] weight)

getManufacturerID

public java.lang.String[] getManufacturerID()

setManufacturerID

public void setManufacturerID(java.lang.String[] manufacturerID)

getIdField

public java.lang.String getIdField()
Overrides:
getIdField in class BaseSerializableForm

setIdField

public void setIdField(java.lang.String idField)
Overrides:
setIdField in class BaseSerializableForm

getParentIDField

public java.lang.String getParentIDField()
Overrides:
getParentIDField in class BaseSerializableForm

setParentIDField

public void setParentIDField(java.lang.String parentIDField)
Overrides:
setParentIDField in class BaseSerializableForm

getFields

public java.lang.String[] getFields()
Overrides:
getFields in class BaseSerializableForm

setFields

public void setFields(java.lang.String[] fields)
Overrides:
setFields in class BaseSerializableForm

getFieldLables

public java.lang.String[] getFieldLables()
Overrides:
getFieldLables in class BaseSerializableForm

setFieldLables

public void setFieldLables(java.lang.String[] fieldLables)
Overrides:
setFieldLables in class BaseSerializableForm

getDisplayFields

public java.lang.String[] getDisplayFields()
Overrides:
getDisplayFields in class BaseSerializableForm

setDisplayFields

public void setDisplayFields(java.lang.String[] displayFields)
Overrides:
setDisplayFields in class BaseSerializableForm

getSearchableFields

public java.lang.String[] getSearchableFields()
Overrides:
getSearchableFields in class BaseSerializableForm

setSearchableFields

public void setSearchableFields(java.lang.String[] searchableFields)
Overrides:
setSearchableFields in class BaseSerializableForm

getSortByString

public java.lang.String getSortByString()
Overrides:
getSortByString in class BaseSerializableForm

setSortByString

public void setSortByString(java.lang.String sortByString)
Overrides:
setSortByString in class BaseSerializableForm

getFormAction

public java.lang.String getFormAction()
Overrides:
getFormAction in class BaseSerializableForm

setFormAction

public void setFormAction(java.lang.String formAction)
Overrides:
setFormAction in class BaseSerializableForm

getAddFormAction

public java.lang.String getAddFormAction()
Overrides:
getAddFormAction in class BaseSerializableForm

setAddFormAction

public void setAddFormAction(java.lang.String addFormAction)
Overrides:
setAddFormAction in class BaseSerializableForm

getEditFormAction

public java.lang.String getEditFormAction()
Overrides:
getEditFormAction in class BaseSerializableForm

setEditFormAction

public void setEditFormAction(java.lang.String editFormAction)
Overrides:
setEditFormAction in class BaseSerializableForm

getEditDeleteFormAction

public java.lang.String getEditDeleteFormAction()
Overrides:
getEditDeleteFormAction in class BaseSerializableForm

setEditDeleteFormAction

public void setEditDeleteFormAction(java.lang.String editDeleteFormAction)
Overrides:
setEditDeleteFormAction in class BaseSerializableForm

getChildEditAction

public java.lang.String getChildEditAction()
Overrides:
getChildEditAction in class BaseSerializableForm

setChildEditAction

public void setChildEditAction(java.lang.String childEditAction)
Overrides:
setChildEditAction in class BaseSerializableForm

getCategoryID

public java.lang.String getCategoryID()

setCategoryID

public void setCategoryID(java.lang.String categoryID)

getAttributeID

public java.lang.String getAttributeID()

setAttributeID

public void setAttributeID(java.lang.String attributeID)

getParentManufacturerID

public java.lang.String getParentManufacturerID()

setParentManufacturerID

public void setParentManufacturerID(java.lang.String parentManufacturerID)

getProductID

public java.lang.String[] getProductID()

setProductID

public void setProductID(java.lang.String[] productID)

getSortAscOrDesc

public java.lang.String getSortAscOrDesc()
Overrides:
getSortAscOrDesc in class BaseSerializableForm

setSortAscOrDesc

public void setSortAscOrDesc(java.lang.String sortAscOrDesc)
Overrides:
setSortAscOrDesc in class BaseSerializableForm

getChildName

public java.lang.String getChildName()
Overrides:
getChildName in class BaseSerializableForm

setChildName

public void setChildName(java.lang.String childName)
Overrides:
setChildName in class BaseSerializableForm

getNameField

public java.lang.String getNameField()
Overrides:
getNameField in class BaseSerializableForm

setNameField

public void setNameField(java.lang.String nameField)
Overrides:
setNameField in class BaseSerializableForm

getParentProductID

public java.lang.String getParentProductID()

setParentProductID

public void setParentProductID(java.lang.String parentProductID)

getProductCategoryOrder

public java.lang.String[] getProductCategoryOrder()

setProductCategoryOrder

public void setProductCategoryOrder(java.lang.String[] productCategoryOrder)

getRelatedProductOrder

public java.lang.String[] getRelatedProductOrder()

setRelatedProductOrder

public void setRelatedProductOrder(java.lang.String[] relatedProductOrder)

getWithSelected

public java.lang.String getWithSelected()

setWithSelected

public void setWithSelected(java.lang.String withSelected)

getProcessSelectedAction

public java.lang.String getProcessSelectedAction()

setProcessSelectedAction

public void setProcessSelectedAction(java.lang.String processSelectedAction)

getSelectedID

public java.lang.String[] getSelectedID()

setSelectedID

public void setSelectedID(java.lang.String[] selectedID)

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)
Overrides:
validate in class org.apache.struts.action.ActionForm

setProperties

public void setProperties(javax.servlet.http.HttpServletRequest request)
Overrides:
setProperties in class BaseSerializableForm


Copyright © SoftSlate, LLC 2003–2005