|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakartadmin.app.AdminProductSearch
public class AdminProductSearch
Allows you to enter search criteria for retrieving AdminProduct objects
| Field Summary | |
|---|---|
private int |
categoryId
categoryId |
private java.util.Calendar |
dateAddedFrom
dateAddedFrom |
private java.util.Calendar |
dateAddedTo
dateAddedTo |
private int |
manufacturerId
manufacturerId |
private boolean |
onlyProductsExpected
only Products Expected |
private boolean |
onlySpecials
only Specials |
private java.math.BigDecimal |
priceFrom
priceFrom |
private java.math.BigDecimal |
priceTo
priceTo |
private int |
productType
Product Type |
private int |
promotionId
PromotionId |
static int |
SEARCH_ALL
SEARCH_ALL = -100 |
static int |
SEARCH_IN_PRODUCT_DESCRIPTION
SEARCH_IN_PRODUCT_DESCRIPTION |
private java.lang.String |
searchText
searchText |
private java.lang.String |
sku
SKU |
private int |
whereToSearch
whereToSearch |
| Constructor Summary | |
|---|---|
AdminProductSearch()
Constructor |
|
| Method Summary | |
|---|---|
int |
getCategoryId()
|
java.util.Calendar |
getDateAddedFrom()
|
java.util.Calendar |
getDateAddedTo()
|
int |
getManufacturerId()
|
java.math.BigDecimal |
getPriceFrom()
|
java.math.BigDecimal |
getPriceTo()
|
int |
getProductType()
|
int |
getPromotionId()
|
static int |
getSEARCH_ALL()
|
java.lang.String |
getSearchText()
|
java.lang.String |
getSku()
|
int |
getWhereToSearch()
|
boolean |
isOnlyProductsExpected()
|
boolean |
isOnlySpecials()
|
void |
setCategoryId(int categoryId)
|
void |
setDateAddedFrom(java.util.Calendar dateAddedFrom)
|
void |
setDateAddedTo(java.util.Calendar dateAddedTo)
|
void |
setManufacturerId(int manufacturerId)
|
void |
setOnlyProductsExpected(boolean onlyProductsExpected)
|
void |
setOnlySpecials(boolean onlySpecials)
|
void |
setPriceFrom(java.math.BigDecimal priceFrom)
|
void |
setPriceTo(java.math.BigDecimal priceTo)
|
void |
setProductType(int productType)
|
void |
setPromotionId(int promotionId)
|
void |
setSearchText(java.lang.String searchText)
|
void |
setSku(java.lang.String sku)
|
void |
setWhereToSearch(int whereToSearch)
|
java.lang.String |
toString()
|
java.lang.String |
toStringBrief()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String sku
private java.math.BigDecimal priceFrom
private java.math.BigDecimal priceTo
private java.util.Calendar dateAddedFrom
private java.util.Calendar dateAddedTo
private int manufacturerId
private int categoryId
private int whereToSearch
private java.lang.String searchText
private boolean onlySpecials
private boolean onlyProductsExpected
private int promotionId
private int productType
public static final int SEARCH_IN_PRODUCT_DESCRIPTION
public static final int SEARCH_ALL
| Constructor Detail |
|---|
public AdminProductSearch()
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toStringBrief()
public int getCategoryId()
public void setCategoryId(int categoryId)
categoryId - The categoryId to set.public int getManufacturerId()
public void setManufacturerId(int manufacturerId)
manufacturerId - The manufacturerId to set.public java.math.BigDecimal getPriceFrom()
public void setPriceFrom(java.math.BigDecimal priceFrom)
priceFrom - The priceFrom to set.public java.math.BigDecimal getPriceTo()
public void setPriceTo(java.math.BigDecimal priceTo)
priceTo - The priceTo to set.public java.lang.String getSearchText()
public void setSearchText(java.lang.String searchText)
searchText - The searchText to set.public int getWhereToSearch()
public void setWhereToSearch(int whereToSearch)
whereToSearch - The whereToSearch to set.public java.util.Calendar getDateAddedFrom()
public void setDateAddedFrom(java.util.Calendar dateAddedFrom)
dateAddedFrom - The dateAddedFrom to set.public java.util.Calendar getDateAddedTo()
public void setDateAddedTo(java.util.Calendar dateAddedTo)
dateAddedTo - The dateAddedTo to set.public static int getSEARCH_ALL()
public boolean isOnlySpecials()
public void setOnlySpecials(boolean onlySpecials)
onlySpecials - The onlySpecials to set.public boolean isOnlyProductsExpected()
public void setOnlyProductsExpected(boolean onlyProductsExpected)
onlyProductsExpected - The onlyProductsExpected to set.public int getPromotionId()
public void setPromotionId(int promotionId)
promotionId - The promotionId to set.public java.lang.String getSku()
public void setSku(java.lang.String sku)
sku - The sku to set.public int getProductType()
public void setProductType(int productType)
productType - The productType to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||