fr.paris.lutece.plugins.stock.business.category
Class CategoryFilter

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.business.category.CategoryFilter

public class CategoryFilter
extends java.lang.Object

CategoryFilter


Constructor Summary
CategoryFilter()
           
 
Method Summary
 java.lang.Integer getIdCategory()
          Get the category id filtered
 java.lang.String getName()
          return the category name filtered
 java.util.List<java.lang.String> getOrders()
          Get the order column name
 java.lang.Integer getParentCategory()
          Get the parent filtered
 java.lang.Boolean getProductNull()
          Return true if the filter is set to product null
 java.lang.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(java.lang.Integer idCategory)
          Set the category id to filter
 void setName(java.lang.String name)
          Set the category name to filter
 void setOrderAsc(boolean bOrderAsc)
          Set the order to ascending or descending
 void setOrders(java.util.List<java.lang.String> orders)
          Set the column to order
 void setParentCategory(java.lang.Integer parentCategory)
          Set the parent to filter
 void setProductNull(java.lang.Boolean productNull)
          Set if the filter is set to product null
 void setStatus(java.lang.Boolean status)
          Set the status filtered
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryFilter

public CategoryFilter()
Method Detail

getProductNull

public java.lang.Boolean getProductNull()
Return true if the filter is set to product null

Returns:
boolean

setProductNull

public void setProductNull(java.lang.Boolean productNull)
Set if the filter is set to product null

Parameters:
productNull - the boolean

isOrderAsc

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

Returns:
the boolean

setOrderAsc

public void setOrderAsc(boolean bOrderAsc)
Set the order to ascending or descending

Parameters:
bOrderAsc - the order (true if ascending)

getOrders

public java.util.List<java.lang.String> getOrders()
Get the order column name

Returns:
the column name

setOrders

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

Parameters:
orders - the column name

getIdCategory

public java.lang.Integer getIdCategory()
Get the category id filtered

Returns:
the category id

setIdCategory

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

Parameters:
idCategory - the category id

getStatus

public java.lang.Boolean getStatus()
Get the status filtered

Returns:
true if the status must be active

setStatus

public void setStatus(java.lang.Boolean status)
Set the status filtered

Parameters:
status - the status

getName

public java.lang.String getName()
return the category name filtered

Returns:
the category name

setName

public void setName(java.lang.String name)
Set the category name to filter

Parameters:
name - the category name

getParentCategory

public java.lang.Integer getParentCategory()
Get the parent filtered

Returns:
the parent

setParentCategory

public void setParentCategory(java.lang.Integer parentCategory)
Set the parent to filter

Parameters:
parentCategory - the parent

hasFilter

public boolean hasFilter()
Return true if there is filters

Returns:
true if there is filters


Copyright © 2012 Mairie de Paris. All Rights Reserved.