com.konakart.forms
Class SearchProductForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.apache.struts.validator.ValidatorForm
          extended by com.konakart.forms.BaseForm
              extended by com.konakart.forms.SearchProductForm
All Implemented Interfaces:
java.io.Serializable

public class SearchProductForm
extends BaseForm

This form allows you to search for products using various constraints.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.validator.ValidatorForm
page, validatorResults
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
SearchProductForm()
           
 
Method Summary
 int getCategoryId()
           
 java.lang.String getCustom1()
           
 java.lang.String getCustom2()
           
 java.lang.String getCustom3()
           
 java.lang.String getCustom4()
           
 java.lang.String getCustom5()
           
 java.lang.String getDateAddedFrom()
           
 java.lang.String getDateAddedTo()
           
 int getManufacturerId()
           
 java.lang.String getPriceFrom()
           
 java.lang.String getPriceTo()
           
 java.lang.String getSearchText()
           
 boolean isSearchInDescription()
           
 void setCategoryId(int categoryId)
           
 void setCustom1(java.lang.String custom1)
           
 void setCustom2(java.lang.String custom2)
           
 void setCustom3(java.lang.String custom3)
           
 void setCustom4(java.lang.String custom4)
           
 void setCustom5(java.lang.String custom5)
           
 void setDateAddedFrom(java.lang.String dateAddedFrom)
           
 void setDateAddedTo(java.lang.String dateAddedTo)
           
 void setManufacturerId(int manufacturerId)
           
 void setPriceFrom(java.lang.String priceFrom)
           
 void setPriceTo(java.lang.String priceTo)
           
 void setSearchInDescription(boolean searchInDescription)
           
 void setSearchText(java.lang.String searchText)
           
 
Methods inherited from class com.konakart.forms.BaseForm
reset
 
Methods inherited from class org.apache.struts.validator.ValidatorForm
getPage, getResultValueMap, getValidationKey, getValidatorResults, setPage, setValidatorResults, validate
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchProductForm

public SearchProductForm()
Method Detail

getCategoryId

public int getCategoryId()
Returns:
Returns the categoryId.

setCategoryId

public void setCategoryId(int categoryId)
Parameters:
categoryId - The categoryId to set.

getManufacturerId

public int getManufacturerId()
Returns:
Returns the manufacturerId.

setManufacturerId

public void setManufacturerId(int manufacturerId)
Parameters:
manufacturerId - The manufacturerId to set.

getSearchText

public java.lang.String getSearchText()
Returns:
Returns the searchText.

setSearchText

public void setSearchText(java.lang.String searchText)
Parameters:
searchText - The searchText to set.

isSearchInDescription

public boolean isSearchInDescription()
Returns:
Returns the searchInDescription.

setSearchInDescription

public void setSearchInDescription(boolean searchInDescription)
Parameters:
searchInDescription - The searchInDescription to set.

getDateAddedFrom

public java.lang.String getDateAddedFrom()
Returns:
Returns the dateAddedFrom.

setDateAddedFrom

public void setDateAddedFrom(java.lang.String dateAddedFrom)
Parameters:
dateAddedFrom - The dateAddedFrom to set.

getDateAddedTo

public java.lang.String getDateAddedTo()
Returns:
Returns the dateAddedTo.

setDateAddedTo

public void setDateAddedTo(java.lang.String dateAddedTo)
Parameters:
dateAddedTo - The dateAddedTo to set.

getPriceFrom

public java.lang.String getPriceFrom()
Returns:
Returns the priceFrom.

setPriceFrom

public void setPriceFrom(java.lang.String priceFrom)
Parameters:
priceFrom - The priceFrom to set.

getPriceTo

public java.lang.String getPriceTo()
Returns:
Returns the priceTo.

setPriceTo

public void setPriceTo(java.lang.String priceTo)
Parameters:
priceTo - The priceTo to set.

getCustom1

public java.lang.String getCustom1()
Returns:
Returns the custom1.

setCustom1

public void setCustom1(java.lang.String custom1)
Parameters:
custom1 - The custom1 to set.

getCustom2

public java.lang.String getCustom2()
Returns:
Returns the custom2.

setCustom2

public void setCustom2(java.lang.String custom2)
Parameters:
custom2 - The custom2 to set.

getCustom3

public java.lang.String getCustom3()
Returns:
Returns the custom3.

setCustom3

public void setCustom3(java.lang.String custom3)
Parameters:
custom3 - The custom3 to set.

getCustom4

public java.lang.String getCustom4()
Returns:
Returns the custom4.

setCustom4

public void setCustom4(java.lang.String custom4)
Parameters:
custom4 - The custom4 to set.

getCustom5

public java.lang.String getCustom5()
Returns:
Returns the custom5.

setCustom5

public void setCustom5(java.lang.String custom5)
Parameters:
custom5 - The custom5 to set.


Copyright © 2011 DS Data Systems UK Ltd.