com.popcornmonsters.ap4j
Class SearchBean

com.popcornmonsters.ap4j.SearchBean

public class SearchBean

The SearchBean class is used to search allposters.com for posters. Set the parameters that you want to search for and that is all you need to do. You should at a minimum set the searchText.


Constructor Summary
SearchBean()
          Construct a new Search Object
 
Method Summary
 int getCategoryID()
           
 int getMaxHeight()
           
 double getMaxPrice()
           
 int getMaxWidth()
           
 int getMinHeight()
           
 double getMinPrice()
           
 int getMinWidth()
           
 int getPageNumber()
           
 int getProductsPerPage()
           
 java.lang.String getSearchText()
           
 java.lang.String getSortOrder()
           
 int getWebSiteID()
           
 void setCategoryID(int categoryID)
           
 void setMaxHeight(int maxHeight)
           
 void setMaxPrice(double maxPrice)
           
 void setMaxWidth(int maxWidth)
           
 void setMinHeight(int minHeight)
           
 void setMinPrice(double minPrice)
           
 void setMinWidth(int minWidth)
           
 void setPageNumber(int pageNumber)
           
 void setProductsPerPage(int productsPerPage)
           
 void setSearchText(java.lang.String searchText)
           
 void setSortOrder(java.lang.String sortOrder)
          C=Price , R=Relevancy,P=Popularity,T=Title
 void setSortOrderAsPopularity()
           
 void setSortOrderAsPrice()
           
 void setSortOrderAsRelevancy()
           
 void setSortOrderAsTitle()
           
 

Constructor Detail

SearchBean

public SearchBean()
Construct a new Search Object
Method Detail

getSearchText

public java.lang.String getSearchText()

setSearchText

public void setSearchText(java.lang.String searchText)

getWebSiteID

public int getWebSiteID()

getSortOrder

public java.lang.String getSortOrder()

setSortOrder

public void setSortOrder(java.lang.String sortOrder)
C=Price , R=Relevancy,P=Popularity,T=Title
Parameters:
sortOrder -  
See Also:
this.setSortOrderAsPrice(), this.setSortOrderAsRelevancy(), this.setSortOrderAsPopularity(), this.setSortOrderAsTitle()

getPageNumber

public int getPageNumber()

setPageNumber

public void setPageNumber(int pageNumber)

getProductsPerPage

public int getProductsPerPage()

setProductsPerPage

public void setProductsPerPage(int productsPerPage)

getCategoryID

public int getCategoryID()

setCategoryID

public void setCategoryID(int categoryID)

getMinWidth

public int getMinWidth()

setMinWidth

public void setMinWidth(int minWidth)

getMaxWidth

public int getMaxWidth()

setMaxWidth

public void setMaxWidth(int maxWidth)

getMinHeight

public int getMinHeight()

setMinHeight

public void setMinHeight(int minHeight)

getMaxHeight

public int getMaxHeight()

setMaxHeight

public void setMaxHeight(int maxHeight)

getMinPrice

public double getMinPrice()

setMinPrice

public void setMinPrice(double minPrice)

getMaxPrice

public double getMaxPrice()

setMaxPrice

public void setMaxPrice(double maxPrice)

setSortOrderAsPrice

public void setSortOrderAsPrice()

setSortOrderAsRelevancy

public void setSortOrderAsRelevancy()

setSortOrderAsPopularity

public void setSortOrderAsPopularity()

setSortOrderAsTitle

public void setSortOrderAsTitle()