fr.paris.lutece.plugins.stock.business.product
Class ProductFilter

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.business.product.ProductFilter

public class ProductFilter
extends Object

ProductFilter


Constructor Summary
ProductFilter()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductFilter

public ProductFilter()
Method Detail

getIdCategory

public Integer getIdCategory()
Return the category id

Returns:
the category id

setIdCategory

public void setIdCategory(Integer idCategory)
Set the category id

Parameters:
idCategory - the category id

getIdProvider

public Integer getIdProvider()
Return the provider id

Returns:
the provider id

setIdProvider

public void setIdProvider(Integer idProvider)
Set the provider id

Parameters:
idProvider - the provider id

getName

public String getName()
Return the product id

Returns:
the product id

setName

public void setName(String name)
Set the product name

Parameters:
name - the product name

isOrderAsc

public boolean isOrderAsc()
Return true if the order is ascending

Returns:
true if the order is ascending

setOrderAsc

public void setOrderAsc(boolean bOrderAsc)
Set the order, true for ascending false for descending

Parameters:
bOrderAsc - the wanted order ( true if the order is ascending )

getOrders

public List<String> getOrders()
Get the colunm for order by

Returns:
the column name

setOrders

public void setOrders(List<String> strOrders)
Set the column to order by

Parameters:
strOrders - the column name

getIdProduct

public Integer getIdProduct()
Return the product id for filter

Returns:
the product id for filter

setIdProduct

public void setIdProduct(Integer idProduct)
Set the product id to filter

Parameters:
idProduct - the product id to filter

hasFilter

public boolean hasFilter()
Return true if there is filters

Returns:
boolean

getDateFrom

public String getDateFrom()
Returns:
the dateStart

setDateFrom

public void setDateFrom(String dateStart)
Parameters:
dateStart - the dateStart to set

getDateTo

public String getDateTo()
Returns:
the dateEnd

setDateTo

public void setDateTo(String dateEnd)
Parameters:
dateEnd - the dateEnd to set

getDateThe

public String getDateThe()
Returns:
the dateThe

setDateThe

public void setDateThe(String dateThe)
Parameters:
dateThe - the dateThe to set

getAlaffiche

public Boolean getAlaffiche()
Returns:
the alaffiche

setAlaffiche

public void setAlaffiche(Boolean alaffiche)
Parameters:
alaffiche - the alaffiche to set


Copyright © 2013 Mairie de Paris. All Rights Reserved.