Class DiscountForm
java.lang.Object
org.apache.struts.action.ActionForm
com.softslate.commerce.administrator.core.BaseSerializableForm
com.softslate.commerce.administrator.product.DiscountForm
- All Implemented Interfaces:
Serializable
Struts form class corresponding to requests to "/administrator/Discount.do".
Provides properties to control searching, viewing, editing, and deleting
records in the
sscDiscount
table.- 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 Class
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 boolean
private String[]
private String[]
private String
private String[]
private String
private String
private String[]
private String[]
private String[]
private String[]
private static final long
private String
private String[]
private String
private String
private String[]
private String[]
private String[]
private String[]
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
String[]
String[]
String[]
getCode()
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
String[]
getName()
String[]
String[]
String[]
String[]
String[]
getSkuID()
getSKUID()
String[]
String[]
String[]
String[]
String[]
boolean
void
setAddFormAction
(String addFormAction) void
setCantSortByFields
(String[] cantSortByFields) void
setCartItemsType
(String[] cartItemsType) void
setCartItemsValue
(String[] cartItemsValue) void
setChildEditAction
(String childEditAction) void
setChildName
(String childName) void
void
setCouponCode
(String[] couponCode) void
setDescription
(String[] description) void
setDiscountID
(String[] discountID) void
setDiscountOrder
(String[] discountOrder) void
setDisplayFields
(String[] displayFields) void
setEditDeleteFormAction
(String editDeleteFormAction) void
setEditFormAction
(String editFormAction) void
void
setEntityProperty
(String entityProperty) void
setExpirationDate
(String[] expirationDate) void
void
void
void
setFieldLables
(String[] fieldLables) void
void
setFormAction
(String formAction) void
setIdField
(String idField) void
setIsActive
(String[] isActive) void
setIsTimesPerCustomer
(String[] isTimesPerCustomer) void
setItemsAppliesType
(String[] itemsAppliesType) void
setItemsAppliesValue
(String[] itemsAppliesValue) void
setM2mChild
(boolean child) void
setMaxTimesUsed
(String[] maxTimesUsed) void
void
setNameField
(String nameField) void
setOrderItemID
(String[] orderItemID) void
setParentIDField
(String parentIDField) void
setProductID
(String productID) void
setProperties
(javax.servlet.http.HttpServletRequest request) void
void
setRewardType
(String[] rewardType) void
setSearchableFields
(String[] searchableFields) void
setSearchableIntFields
(String[] searchableIntFields) void
void
void
void
setSortAscOrDesc
(String sortAscOrDesc) void
setSortByString
(String sortByString) void
setStartDate
(String[] startDate) void
setTimesUsed
(String[] timesUsed) void
setUsersAppliesType
(String[] usersAppliesType) void
setUsersAppliesValue
(String[] usersAppliesValue) 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
-
skuID
-
skuIDs
-
discountID
-
code
-
name
-
description
-
isActive
-
usersAppliesType
-
usersAppliesValue
-
itemsAppliesValue
-
itemsAppliesType
-
cartItemsValue
-
cartItemsType
-
rewardType
-
reward
-
couponCode
-
startDate
-
expirationDate
-
timesUsed
-
maxTimesUsed
-
isTimesPerCustomer
-
orderItemID
-
discountOrder
-
extra1
-
extra2
-
extra3
-
-
Constructor Details
-
DiscountForm
public DiscountForm()
-
-
Method Details
-
getChildName
- Overrides:
getChildName
in classBaseSerializableForm
-
setChildName
- Overrides:
setChildName
in classBaseSerializableForm
-
getEntity
- Overrides:
getEntity
in classBaseSerializableForm
-
setEntity
- Overrides:
setEntity
in classBaseSerializableForm
-
getEntityProperty
- Overrides:
getEntityProperty
in classBaseSerializableForm
-
setEntityProperty
- Overrides:
setEntityProperty
in classBaseSerializableForm
-
isM2mChild
public boolean isM2mChild()- Overrides:
isM2mChild
in classBaseSerializableForm
-
setM2mChild
public void setM2mChild(boolean child) - Overrides:
setM2mChild
in classBaseSerializableForm
-
getNameField
- Overrides:
getNameField
in classBaseSerializableForm
-
setNameField
- Overrides:
setNameField
in classBaseSerializableForm
-
getSearchableFields
- Overrides:
getSearchableFields
in classBaseSerializableForm
-
setSearchableFields
- Overrides:
setSearchableFields
in classBaseSerializableForm
-
getSearchableIntFields
- Overrides:
getSearchableIntFields
in classBaseSerializableForm
-
setSearchableIntFields
- Overrides:
setSearchableIntFields
in classBaseSerializableForm
-
getCouponCode
-
setCouponCode
-
getDescription
-
setDescription
-
getDiscountOrder
-
setDiscountOrder
-
getExpirationDate
-
setExpirationDate
-
getIsActive
-
setIsActive
-
getIsTimesPerCustomer
-
setIsTimesPerCustomer
-
getMaxTimesUsed
-
setMaxTimesUsed
-
getCartItemsValue
-
setCartItemsValue
-
getCartItemsType
-
setCartItemsType
-
getReward
-
setReward
-
getRewardType
-
setRewardType
-
getStartDate
-
setStartDate
-
getTimesUsed
-
setTimesUsed
-
getItemsAppliesType
-
setItemsAppliesType
-
getItemsAppliesValue
-
setItemsAppliesValue
-
getUsersAppliesType
-
setUsersAppliesType
-
getUsersAppliesValue
-
setUsersAppliesValue
-
getExtra1
-
setExtra1
-
getExtra2
-
setExtra2
-
getExtra3
-
setExtra3
-
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
-
getCantSortByFields
- Overrides:
getCantSortByFields
in classBaseSerializableForm
-
setCantSortByFields
- Overrides:
setCantSortByFields
in classBaseSerializableForm
-
getSortAscOrDesc
- Overrides:
getSortAscOrDesc
in classBaseSerializableForm
-
setSortAscOrDesc
- Overrides:
setSortAscOrDesc
in classBaseSerializableForm
-
getSortByString
- Overrides:
getSortByString
in classBaseSerializableForm
-
setSortByString
- Overrides:
setSortByString
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
-
getSKUID
-
setSKUID
-
getDiscountID
-
setDiscountID
-
getCode
-
setCode
-
getName
-
setName
-
getProductID
-
setProductID
-
getSkuID
-
setSkuID
-
getChildEditAction
- Overrides:
getChildEditAction
in classBaseSerializableForm
-
setChildEditAction
- Overrides:
setChildEditAction
in classBaseSerializableForm
-
getSkuIDs
-
setSkuIDs
-
getOrderItemID
-
setOrderItemID
-
setProperties
public void setProperties(javax.servlet.http.HttpServletRequest request) - Overrides:
setProperties
in classBaseSerializableForm
-
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
-