public class CategoryFilter extends Object implements BeanFilter
| Constructor and Description |
|---|
CategoryFilter() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getIdCategory()
Get the category id filtered
|
String |
getName()
return the category name filtered
|
List<String> |
getOrders()
Get the order column name
|
Integer |
getParentCategory()
Get the parent filtered
|
Boolean |
getProductNull()
Return true if the filter is set to product null
|
Boolean |
getStatus()
Get the status filtered
|
boolean |
hasFilter()
Return true if there is filters
|
boolean |
isOrderAsc()
Return true if the order is set to ascending
|
void |
setIdCategory(Integer idCategory)
Set the category id to filter
|
void |
setName(String name)
Set the category name to filter
|
void |
setOrderAsc(boolean bOrderAsc)
Set the order to ascending or descending
|
void |
setOrders(List<String> orders)
Set the column to order
|
void |
setParentCategory(Integer parentCategory)
Set the parent to filter
|
void |
setProductNull(Boolean productNull)
Set if the filter is set to product null
|
void |
setStatus(Boolean status)
Set the status filtered
|
public Boolean getProductNull()
public void setProductNull(Boolean productNull)
productNull - the booleanpublic boolean isOrderAsc()
isOrderAsc in interface BeanFilterpublic void setOrderAsc(boolean bOrderAsc)
setOrderAsc in interface BeanFilterbOrderAsc - the order (true if ascending)public List<String> getOrders()
getOrders in interface BeanFilterpublic void setOrders(List<String> orders)
setOrders in interface BeanFilterorders - the column namepublic Integer getIdCategory()
public void setIdCategory(Integer idCategory)
idCategory - the category idpublic Boolean getStatus()
public void setStatus(Boolean status)
status - the statuspublic String getName()
public void setName(String name)
name - the category namepublic Integer getParentCategory()
public void setParentCategory(Integer parentCategory)
parentCategory - the parentpublic boolean hasFilter()
Copyright © 2020 City of Paris. All rights reserved.