Class DemandTypeFilter

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

public class DemandTypeFilter extends Object
DemandTypeFilter
  • Constructor Details

    • DemandTypeFilter

      public DemandTypeFilter()
      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
    • getLabel

      public String getLabel()
      Returns the Label
      Returns:
      The Label
    • setLabel

      public void setLabel(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 String getUrlResource()
      Returns the UrlResource
      Returns:
      The UrlResource
    • setUrlResource

      public void setUrlResource(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(Date dateBegin)
      Set the beginning date
      Parameters:
      dateBegin - the beginning date
    • getDateBegin

      public 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(Date dateEnd)
      Set the closing date
      Parameters:
      dateEnd - the closing date
    • getDateEnd

      public 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(String strWorkgroupKey)
      Set the workgroup
      Parameters:
      strWorkgroupKey - the workgroup key
    • getWorkgroup

      public 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(String strRoleKey)
      Set role
      Parameters:
      strRoleKey - the role key
    • getRole

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

      public String getUrlDelete()
      Returns the UrlDelete
      Returns:
      The UrlDelete
    • setUrlDelete

      public void setUrlDelete(String strUrlDelete)
      Sets the UrlDelete
      Parameters:
      strUrlDelete - The UrlDelete
    • containsUrlDelete

      public boolean containsUrlDelete()
      Check if the filter contains the attribute UrlDelete
      Returns:
      true if it contains, false otherwise