Class DemandFilter

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

public class DemandFilter extends Object
DemandFilter
  • Constructor Details

    • DemandFilter

      public DemandFilter()
      Constructor
  • Method Details

    • 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
      • SQL OR if it is applied to a wide search
      • SQL AND if it is not applied to a wide search
      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
      • SQL OR if it is applied to a wide search
      • SQL AND if it is not applied to a wide search
      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(Date dateModification)
      Set the Modification date
      Parameters:
      dateModification - the Modification date
    • getDateModification

      public 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
    • getNotification

      public String getNotification()
      Get the notification
      Returns:
      the notification
    • setNotification

      public void setNotification(String notification)
      Set the notification
    • getListDemandSort

      public List<DemandSort> getListDemandSort()
      Returns:
      the listDemandSort
    • setListDemandSort

      public void setListDemandSort(List<DemandSort> listDemandSort)
      Parameters:
      listDemandSort - the listDemandSort to set
    • addDemandSort

      public void addDemandSort(DemandSort demandSort)
      Add a sort
      Parameters:
      demandSort - the demandSort to add