public class ProductFilter extends Object implements BeanFilter
| Constructor and Description |
|---|
ProductFilter() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAlaffiche() |
String |
getDateFrom() |
String |
getDateThe() |
String |
getDateTo() |
Integer |
getIdCategory()
Return the category id
|
Integer |
getIdProduct()
Return the product id for filter
|
Integer |
getIdProvider()
Return the provider id
|
String |
getName()
Return the product id
|
List<String> |
getOrders()
Get the colunm for order by
|
boolean |
hasFilter()
Return true if there is filters
|
boolean |
isOrderAsc()
Return true if the order is ascending
|
void |
setAlaffiche(Boolean alaffiche) |
void |
setDateFrom(String dateStart) |
void |
setDateThe(String dateThe) |
void |
setDateTo(String dateEnd) |
void |
setIdCategory(Integer idCategory)
Set the category id
|
void |
setIdProduct(Integer idProduct)
Set the product id to filter
|
void |
setIdProvider(Integer idProvider)
Set the provider id
|
void |
setName(String name)
Set the product name
|
void |
setOrderAsc(boolean bOrderAsc)
Set the order, true for ascending false for descending
|
void |
setOrders(List<String> strOrders)
Set the column to order by
|
public Integer getIdCategory()
public void setIdCategory(Integer idCategory)
idCategory - the category idpublic Integer getIdProvider()
public void setIdProvider(Integer idProvider)
idProvider - the provider idpublic String getName()
public void setName(String name)
name - the product namepublic boolean isOrderAsc()
isOrderAsc in interface BeanFilterpublic void setOrderAsc(boolean bOrderAsc)
setOrderAsc in interface BeanFilterbOrderAsc - the wanted order ( true if the order is ascending )public List<String> getOrders()
getOrders in interface BeanFilterpublic void setOrders(List<String> strOrders)
setOrders in interface BeanFilterstrOrders - the column namepublic Integer getIdProduct()
public void setIdProduct(Integer idProduct)
idProduct - the product id to filterpublic boolean hasFilter()
public String getDateFrom()
public void setDateFrom(String dateStart)
dateStart - the dateStart to setpublic String getDateTo()
public void setDateTo(String dateEnd)
dateEnd - the dateEnd to setpublic String getDateThe()
public void setDateThe(String dateThe)
dateThe - the dateThe to setpublic Boolean getAlaffiche()
public void setAlaffiche(Boolean alaffiche)
alaffiche - the alaffiche to setCopyright © 2019 City of Paris. All rights reserved.