fr.paris.lutece.plugins.crm.business.demand
Class DemandTypeFilter

java.lang.Object
  extended by fr.paris.lutece.plugins.crm.business.demand.DemandTypeFilter

public class DemandTypeFilter
extends java.lang.Object

DemandTypeFilter


Constructor Summary
DemandTypeFilter()
          Constructor
 
Method Summary
 boolean containsDateBegin()
          Check if the filter contains the attribute date begin
 boolean containsDateEnd()
          Check if the filter contains the attribute date end
 boolean containsIdCategory()
          Check if the filter contains the attribute ID category
 boolean containsLabel()
          Check if the filter contains the attribute Label
 boolean containsOrder()
          Check if the filter contains the attribute order
 boolean containsRole()
          Check whether the filter contains or not the role
 boolean containsUrlResource()
          Check if the filter contains the attribute UrlResource
 boolean containsWorkgroup()
          Check whether the filter contains or not the workgroup
 java.util.Date getDateBegin()
          Get the beginning date
 java.util.Date getDateEnd()
          Get the closing date
 int getIdCategory()
          Returns the IdCategory
 boolean getIsWideSearch()
          Check if the filter is applied to a wide search or not.
 java.lang.String getLabel()
          Returns the Label
 OperatorEnum getOperatorDateBegin()
          Get the operator for the beginning date
 OperatorEnum getOperatorDateEnd()
          Get the operator for the closing date
 OperatorEnum getOperatorOrder()
          Get the operator for the order
 int getOrder()
          Get the order
 java.lang.String getRole()
          Get role
 java.lang.String getUrlResource()
          Returns the UrlResource
 java.lang.String getWorkgroup()
          Get the workgroup
 void setDateBegin(java.util.Date dateBegin)
          Set the beginning date
 void setDateEnd(java.util.Date dateEnd)
          Set the closing date
 void setIdCategory(int nIdCategory)
          Sets the IdCategory
 void setIsWideSearch(boolean bIsWideSearch)
          Set true if the filter is applied to a wide search.
 void setLabel(java.lang.String strLabel)
          Sets the Label
 void setOperatorDateBegin(OperatorEnum operator)
          Set the operator for the beginning date
 void setOperatorDateEnd(OperatorEnum operator)
          Set the operator for the closing date
 void setOperatorOrder(OperatorEnum operator)
          Set the operator for the order
 void setOrder(int nOrder)
          Set the order
 void setRole(java.lang.String strRoleKey)
          Set role
 void setUrlResourece(java.lang.String strUrlResource)
          Sets the UrlResource
 void setWorkgroup(java.lang.String strWorkgroupKey)
          Set the workgroup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DemandTypeFilter

public DemandTypeFilter()
Constructor

Method Detail

setIsWideSearch

public void setIsWideSearch(boolean bIsWideSearch)
Set true if the filter is applied to a wide search.
In other words, the SQL query will use

Parameters:
bIsWideSearch - true if it a wide search, false otherwise

getIsWideSearch

public boolean getIsWideSearch()
Check if the filter is applied to a wide search or not.
In other words, the SQL query will use

Returns:
true if it is applied to a wide search

getLabel

public java.lang.String getLabel()
Returns the Label

Returns:
The Label

setLabel

public void setLabel(java.lang.String strLabel)
Sets the Label

Parameters:
strLabel - The Label

containsLabel

public boolean containsLabel()
Check if the filter contains the attribute Label

Returns:
true if it contains, false otherwise

getUrlResource

public java.lang.String getUrlResource()
Returns the UrlResource

Returns:
The UrlResource

setUrlResourece

public void setUrlResourece(java.lang.String strUrlResource)
Sets the UrlResource

Parameters:
strUrlResource - The UrlResource

containsUrlResource

public boolean containsUrlResource()
Check if the filter contains the attribute UrlResource

Returns:
true if it contains, false otherwise

getIdCategory

public int getIdCategory()
Returns the IdCategory

Returns:
The IdCategory

setIdCategory

public void setIdCategory(int nIdCategory)
Sets the IdCategory

Parameters:
nIdCategory - The IdCategory

containsIdCategory

public boolean containsIdCategory()
Check if the filter contains the attribute ID category

Returns:
true if it contains, false otherwise

setDateBegin

public void setDateBegin(java.util.Date dateBegin)
Set the beginning date

Parameters:
dateBegin - the beginning date

getDateBegin

public java.util.Date getDateBegin()
Get the beginning date

Returns:
the beginning date

containsDateBegin

public boolean containsDateBegin()
Check if the filter contains the attribute date begin

Returns:
true if it contains, false otherwise

setDateEnd

public void setDateEnd(java.util.Date dateEnd)
Set the closing date

Parameters:
dateEnd - the closing date

getDateEnd

public java.util.Date getDateEnd()
Get the closing date

Returns:
the closing date

containsDateEnd

public boolean containsDateEnd()
Check if the filter contains the attribute date end

Returns:
true if it contains, false otherwise

setWorkgroup

public void setWorkgroup(java.lang.String strWorkgroupKey)
Set the workgroup

Parameters:
strWorkgroupKey - the workgroup key

getWorkgroup

public java.lang.String getWorkgroup()
Get the workgroup

Returns:
the workgroup key

containsWorkgroup

public boolean containsWorkgroup()
Check whether the filter contains or not the workgroup

Returns:
true if it contains, false otherwise

setRole

public void setRole(java.lang.String strRoleKey)
Set role

Parameters:
strRoleKey - the role key

getRole

public java.lang.String getRole()
Get role

Returns:
the role key

containsRole

public boolean containsRole()
Check whether the filter contains or not the role

Returns:
true if it contains, false otherwise

setOrder

public void setOrder(int nOrder)
Set the order

Parameters:
nOrder - the order

getOrder

public int getOrder()
Get the order

Returns:
the order

containsOrder

public boolean containsOrder()
Check if the filter contains the attribute order

Returns:
true if it contains, false otherwise

setOperatorOrder

public void setOperatorOrder(OperatorEnum operator)
Set the operator for the order

Parameters:
operator - the operator

getOperatorOrder

public OperatorEnum getOperatorOrder()
Get the operator for the order

Returns:
the operator for the order

setOperatorDateBegin

public void setOperatorDateBegin(OperatorEnum operator)
Set the operator for the beginning date

Parameters:
operator - the operator

getOperatorDateBegin

public OperatorEnum getOperatorDateBegin()
Get the operator for the beginning date

Returns:
the operator

setOperatorDateEnd

public void setOperatorDateEnd(OperatorEnum operator)
Set the operator for the closing date

Parameters:
operator - the operator

getOperatorDateEnd

public OperatorEnum getOperatorDateEnd()
Get the operator for the closing date

Returns:
the operator


Copyright © 2011 Mairie de Paris. All Rights Reserved.