Class AttributeForm
java.lang.Object
org.apache.struts.action.ActionForm
com.softslate.commerce.administrator.core.BaseSerializableForm
com.softslate.commerce.administrator.product.AttributeForm
- All Implemented Interfaces:
Serializable
Struts form class corresponding to requests to "/administrator/Attribute.do".
Provides properties to control searching, viewing, editing, and deleting
records in the
sscAttribute
table.- Author:
- David Tobey
- See Also:
-
Field Summary
Modifier 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[]
private String[]
private String
private String
private String[]
private String[]
private String
private String
private Class
private String
private String[]
private String[]
private String
private String
(package private) static org.apache.commons.logging.Log
private boolean
private String
private String
private String[]
private String
private String[]
private String[]
private static final long
private String
private String
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
boolean
void
setAddFormAction
(String addFormAction) void
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
setCantSortByFields
(String[] cantSortByFields) void
setChildEditAction
(String childEditAction) void
setChildName
(String childName) void
setDefaultOptionID
(String[] defaultOptionID) void
setDisplayFields
(String[] displayFields) void
setEditDeleteFormAction
(String editDeleteFormAction) void
setEditFormAction
(String editFormAction) void
void
setEntityProperty
(String entityProperty) void
setFieldLables
(String[] fieldLables) void
void
setFormAction
(String formAction) void
setIdField
(String idField) void
setM2mChild
(boolean child) void
setNameField
(String nameField) void
setParentIDField
(String parentIDField) void
setProductAttributeOrder
(String[] productAttributeOrder) void
setProductID
(String productID) void
setProperties
(javax.servlet.http.HttpServletRequest request) void
setSearchableFields
(String[] searchableFields) void
setSearchableIntFields
(String[] searchableIntFields) void
setSortAscOrDesc
(String sortAscOrDesc) void
setSortByString
(String sortByString) 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, getSearchString, setAssigned, setAssignments, setDeleteID, setEditMode, setFirstRow, setGrandparentIDField, setGrandparentName, setGreatGrandparentIDField, setGreatGrandparentName, setIdIntegers, setIdValues, setItemsPerPage, setJoinManyToManyParent, setManyToManyClass, setManyToManyKey, setManyToManyProp, setOutputMode, setParentID, setParentKey, setParentName, setParentProperty, setParentScreen, setSearchString
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 -
idField
-
nameField
-
childName
-
m2mChild
private boolean m2mChild -
parentIDField
-
entityProperty
-
entity
-
fields
-
fieldLables
-
displayFields
-
searchableIntFields
-
searchableFields
-
sortByString
-
cantSortByFields
-
sortAscOrDesc
-
formAction
-
addFormAction
-
editFormAction
-
editDeleteFormAction
-
childEditAction
-
productID
-
attributeID
-
attributeCode
-
attributeName
-
attributeDescription
-
attributeIsActive
-
attributeType
-
attributeUnitCost
-
attributeUnitPrice
-
attributeAltPrice
-
attributeWeight
-
attributeSmallImage
-
attributeLargeImage
-
defaultOptionID
-
attributeIsRequired
-
attributeOrder
-
productAttributeOrder
-
-
Constructor Details
-
AttributeForm
public AttributeForm()
-
-
Method Details
-
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
-
getCantSortByFields
- Overrides:
getCantSortByFields
in classBaseSerializableForm
-
setCantSortByFields
- Overrides:
setCantSortByFields
in classBaseSerializableForm
-
getDefaultOptionID
-
setDefaultOptionID
-
getIdField
- Overrides:
getIdField
in classBaseSerializableForm
-
setIdField
- Overrides:
setIdField
in classBaseSerializableForm
-
getParentIDField
- Overrides:
getParentIDField
in classBaseSerializableForm
-
setParentIDField
- Overrides:
setParentIDField
in classBaseSerializableForm
-
getFields
- Overrides:
getFields
in classBaseSerializableForm
-
setFields
- Overrides:
setFields
in classBaseSerializableForm
-
getFieldLables
- Overrides:
getFieldLables
in classBaseSerializableForm
-
setFieldLables
- Overrides:
setFieldLables
in classBaseSerializableForm
-
getDisplayFields
- Overrides:
getDisplayFields
in classBaseSerializableForm
-
setDisplayFields
- Overrides:
setDisplayFields
in classBaseSerializableForm
-
getSortByString
- Overrides:
getSortByString
in classBaseSerializableForm
-
setSortByString
- Overrides:
setSortByString
in classBaseSerializableForm
-
getSortAscOrDesc
- Overrides:
getSortAscOrDesc
in classBaseSerializableForm
-
setSortAscOrDesc
- Overrides:
setSortAscOrDesc
in classBaseSerializableForm
-
getFormAction
- Overrides:
getFormAction
in classBaseSerializableForm
-
setFormAction
- Overrides:
setFormAction
in classBaseSerializableForm
-
getAddFormAction
- Overrides:
getAddFormAction
in classBaseSerializableForm
-
setAddFormAction
- Overrides:
setAddFormAction
in classBaseSerializableForm
-
getEditFormAction
- Overrides:
getEditFormAction
in classBaseSerializableForm
-
setEditFormAction
- Overrides:
setEditFormAction
in classBaseSerializableForm
-
getEditDeleteFormAction
- Overrides:
getEditDeleteFormAction
in classBaseSerializableForm
-
setEditDeleteFormAction
- Overrides:
setEditDeleteFormAction
in classBaseSerializableForm
-
getChildEditAction
- Overrides:
getChildEditAction
in classBaseSerializableForm
-
setChildEditAction
- Overrides:
setChildEditAction
in classBaseSerializableForm
-
getProductID
-
setProductID
-
getAttributeID
-
setAttributeID
-
getSearchableFields
- Overrides:
getSearchableFields
in classBaseSerializableForm
-
setSearchableFields
- Overrides:
setSearchableFields
in classBaseSerializableForm
-
getSearchableIntFields
- Overrides:
getSearchableIntFields
in classBaseSerializableForm
-
setSearchableIntFields
- Overrides:
setSearchableIntFields
in classBaseSerializableForm
-
getEntity
- Overrides:
getEntity
in classBaseSerializableForm
-
setEntity
- Overrides:
setEntity
in classBaseSerializableForm
-
getEntityProperty
- Overrides:
getEntityProperty
in classBaseSerializableForm
-
setEntityProperty
- Overrides:
setEntityProperty
in classBaseSerializableForm
-
getChildName
- Overrides:
getChildName
in classBaseSerializableForm
-
setChildName
- Overrides:
setChildName
in classBaseSerializableForm
-
getNameField
- Overrides:
getNameField
in classBaseSerializableForm
-
setNameField
- Overrides:
setNameField
in classBaseSerializableForm
-
isM2mChild
public boolean isM2mChild()- Overrides:
isM2mChild
in classBaseSerializableForm
-
setM2mChild
public void setM2mChild(boolean child) - Overrides:
setM2mChild
in classBaseSerializableForm
-
getProductAttributeOrder
-
setProductAttributeOrder
-
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
-
setProperties
public void setProperties(javax.servlet.http.HttpServletRequest request) - Overrides:
setProperties
in classBaseSerializableForm
-