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

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

public class DemandFilter
extends java.lang.Object

DemandFilter


Constructor Summary
DemandFilter()
          Constructor
 
Method Summary
 boolean containsDateModification()
          Check if the filter contains the attribute date Modification
 boolean containsIdCRMUser()
          Check if the filter contains the attribute UserGuid
 boolean containsIdDemandType()
          Check if the filter contains the attribute ID demand type
 boolean containsIdStatusCRM()
          Check if the filter contains the attribute IdStatusCRM
 java.util.Date getDateModification()
          Get the Modification date
 int getIdCRMUser()
          Returns the User crm id
 int getIdDemandType()
          Returns the IdDemandType
 int getIdStatusCRM()
          Get the IdStatusCRM
 boolean getIsWideSearch()
          Check if the filter is applied to a wide search or not.
 OperatorEnum getOperatorDateModification()
          Get the operator for the modification date
 void setDateModification(java.util.Date dateModification)
          Set the Modification date
 void setIdCRMUser(int nIdCRMUser)
          Sets the User crm id
 void setIdDemandType(int nIdDemandType)
          Sets the nIdDemandType
 void setIdStatusCRM(int nIdStatusCRM)
          Set the IdStatusCRM
 void setIsWideSearch(boolean bIsWideSearch)
          Set true if the filter is applied to a wide search.
 void setOperatorDateModification(OperatorEnum operator)
          Set the operator for the modification date
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DemandFilter

public DemandFilter()
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

getIdCRMUser

public int getIdCRMUser()
Returns the User crm id

Returns:
The User crm id

setIdCRMUser

public void setIdCRMUser(int nIdCRMUser)
Sets the User crm id

Parameters:
nIdCRMUser - The user crm id

containsIdCRMUser

public boolean containsIdCRMUser()
Check if the filter contains the attribute UserGuid

Returns:
true if it contains, false otherwise

getIdDemandType

public int getIdDemandType()
Returns the IdDemandType

Returns:
The IdDemandType

setIdDemandType

public void setIdDemandType(int nIdDemandType)
Sets the nIdDemandType

Parameters:
nIdDemandType - The nIdDemandType

containsIdDemandType

public boolean containsIdDemandType()
Check if the filter contains the attribute ID demand type

Returns:
true if it contains, false otherwise

setDateModification

public void setDateModification(java.util.Date dateModification)
Set the Modification date

Parameters:
dateModification - the Modification date

getDateModification

public java.util.Date getDateModification()
Get the Modification date

Returns:
the Modification date

containsDateModification

public boolean containsDateModification()
Check if the filter contains the attribute date Modification

Returns:
true if it contains, false otherwise

setIdStatusCRM

public void setIdStatusCRM(int nIdStatusCRM)
Set the IdStatusCRM

Parameters:
nIdStatusCRM - the IdStatusCRM

getIdStatusCRM

public int getIdStatusCRM()
Get the IdStatusCRM

Returns:
the IdStatusCRM

containsIdStatusCRM

public boolean containsIdStatusCRM()
Check if the filter contains the attribute IdStatusCRM

Returns:
true if it contains, false otherwise

setOperatorDateModification

public void setOperatorDateModification(OperatorEnum operator)
Set the operator for the modification date

Parameters:
operator - the operator

getOperatorDateModification

public OperatorEnum getOperatorDateModification()
Get the operator for the modification date

Returns:
the operator


Copyright © 2011 Mairie de Paris. All Rights Reserved.