|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ProductSearchIf
Contains information used to search the catalog for a product. Whenever an attribute is set, it is used as a constraint. When using the java API, a com.konakart.app.ProductSearch object is normally instantiated. Note that when this object initialises it sets the following attributes:
| Method Summary | |
|---|---|
int |
getCategoryId()
|
java.util.Calendar |
getDateAddedFrom()
|
java.util.Calendar |
getDateAddedTo()
|
int |
getManufacturerId()
|
java.math.BigDecimal |
getPriceFrom()
|
java.math.BigDecimal |
getPriceTo()
|
java.lang.String |
getSearchText()
|
TagGroupIf[] |
getTagGroups()
For a single tag group, all products are returned that have any one of the tags in the group (i.e. |
int |
getWhereToSearch()
When set to 0, the text search is done only on the product name. |
boolean |
isSearchInSubCats()
|
void |
setCategoryId(int categoryId)
|
void |
setDateAddedFrom(java.util.Calendar dateAddedFrom)
|
void |
setDateAddedTo(java.util.Calendar dateAddedTo)
|
void |
setManufacturerId(int manufacturerId)
|
void |
setPriceFrom(java.math.BigDecimal priceFrom)
|
void |
setPriceTo(java.math.BigDecimal priceTo)
|
void |
setSearchInSubCats(boolean searchInSubCats)
|
void |
setSearchText(java.lang.String searchText)
|
void |
setTagGroups(TagGroupIf[] tagGroups)
For a single tag group, all products are returned that have any one of the tags in the group (i.e. |
void |
setWhereToSearch(int whereToSearch)
When set to 0, the text search is done only on the product name. |
| Method Detail |
|---|
int getCategoryId()
void setCategoryId(int categoryId)
categoryId - The categoryId to set.int getManufacturerId()
void setManufacturerId(int manufacturerId)
manufacturerId - The manufacturerId to set.java.math.BigDecimal getPriceFrom()
void setPriceFrom(java.math.BigDecimal priceFrom)
priceFrom - The priceFrom to set.java.math.BigDecimal getPriceTo()
void setPriceTo(java.math.BigDecimal priceTo)
priceTo - The priceTo to set.java.lang.String getSearchText()
void setSearchText(java.lang.String searchText)
searchText - The searchText to set.int getWhereToSearch()
void setWhereToSearch(int whereToSearch)
whereToSearch - The whereToSearch to set.java.util.Calendar getDateAddedFrom()
void setDateAddedFrom(java.util.Calendar dateAddedFrom)
dateAddedFrom - The dateAddedFrom to set.java.util.Calendar getDateAddedTo()
void setDateAddedTo(java.util.Calendar dateAddedTo)
dateAddedTo - The dateAddedTo to set.boolean isSearchInSubCats()
void setSearchInSubCats(boolean searchInSubCats)
searchInSubCats - The searchInSubCats to set.TagGroupIf[] getTagGroups()
void setTagGroups(TagGroupIf[] tagGroups)
tagGroups - The tagGroups to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||