|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.stock.business.ProductFilter
public class ProductFilter
ProductFilter
| Constructor Summary | |
|---|---|
ProductFilter()
|
|
| Method Summary | |
|---|---|
java.lang.Integer |
getIdCategory()
Return the category id |
java.lang.Integer |
getIdProduct()
Return the product id for filter |
java.lang.String |
getOrder()
Get the colunm for order by |
java.lang.Float |
getPrice()
Return the price to filter |
java.lang.Integer |
getStockQuantity()
Return the stock quantity filtered |
boolean |
hasFilter()
Return true if there is filters |
boolean |
isOrderAsc()
Return true if the order is ascending |
void |
setIdCategory(java.lang.Integer idCategory)
Set the category id |
void |
setIdProduct(java.lang.Integer idProduct)
Set the product id to filter |
void |
setOrder(java.lang.String strOrder)
Set the column to order by |
void |
setOrderAsc(boolean bOrderAsc)
Set the order, true for ascending false for descending |
void |
setPrice(java.lang.Float price)
Set the price to filter |
void |
setStockQuantity(java.lang.Integer stockQuantity)
Set the quantity to filter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProductFilter()
| Method Detail |
|---|
public java.lang.Integer getIdCategory()
public void setIdCategory(java.lang.Integer idCategory)
idCategory - the category idpublic boolean isOrderAsc()
isOrderAsc in interface ISortableFilterpublic void setOrderAsc(boolean bOrderAsc)
setOrderAsc in interface ISortableFilterbOrderAsc - the wanted order ( true if the order is ascending )public java.lang.String getOrder()
getOrder in interface ISortableFilterpublic void setOrder(java.lang.String strOrder)
setOrder in interface ISortableFilterstrOrder - the column namepublic java.lang.Integer getIdProduct()
public void setIdProduct(java.lang.Integer idProduct)
idProduct - the product id to filterpublic java.lang.Float getPrice()
public void setPrice(java.lang.Float price)
price - the price to filterpublic java.lang.Integer getStockQuantity()
public void setStockQuantity(java.lang.Integer stockQuantity)
stockQuantity - the quantity filteredpublic boolean hasFilter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||