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 java.lang.Object

ProductFilter


Constructor Summary
ProductFilter()
           
 
Method Summary
 java.lang.Boolean getAlaffiche()
           
 java.lang.String getDateFrom()
           
 java.lang.String getDateThe()
           
 java.lang.String getDateTo()
           
 java.lang.Integer getIdCategory()
          Return the category id
 java.lang.Integer getIdProduct()
          Return the product id for filter
 java.lang.Integer getIdProvider()
          Return the provider id
 java.lang.String getName()
          Return the product id
 java.util.List<java.lang.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(java.lang.Boolean alaffiche)
           
 void setDateFrom(java.lang.String dateStart)
           
 void setDateThe(java.lang.String dateThe)
           
 void setDateTo(java.lang.String dateEnd)
           
 void setIdCategory(java.lang.Integer idCategory)
          Set the category id
 void setIdProduct(java.lang.Integer idProduct)
          Set the product id to filter
 void setIdProvider(java.lang.Integer idProvider)
          Set the provider id
 void setName(java.lang.String name)
          Set the product name
 void setOrderAsc(boolean bOrderAsc)
          Set the order, true for ascending false for descending
 void setOrders(java.util.List<java.lang.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 java.lang.Integer getIdCategory()
Return the category id

Returns:
the category id

setIdCategory

public void setIdCategory(java.lang.Integer idCategory)
Set the category id

Parameters:
idCategory - the category id

getIdProvider

public java.lang.Integer getIdProvider()
Return the provider id

Returns:
the provider id

setIdProvider

public void setIdProvider(java.lang.Integer idProvider)
Set the provider id

Parameters:
idProvider - the provider id

getName

public java.lang.String getName()
Return the product id

Returns:
the product id

setName

public void setName(java.lang.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 java.util.List<java.lang.String> getOrders()
Get the colunm for order by

Returns:
the column name

setOrders

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

Parameters:
strOrders - the column name

getIdProduct

public java.lang.Integer getIdProduct()
Return the product id for filter

Returns:
the product id for filter

setIdProduct

public void setIdProduct(java.lang.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 java.lang.String getDateFrom()
Returns:
the dateStart

setDateFrom

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

getDateTo

public java.lang.String getDateTo()
Returns:
the dateEnd

setDateTo

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

getDateThe

public java.lang.String getDateThe()
Returns:
the dateThe

setDateThe

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

getAlaffiche

public java.lang.Boolean getAlaffiche()
Returns:
the alaffiche

setAlaffiche

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


Copyright © 2012 Mairie de Paris. All Rights Reserved.