Class DemandTypeFilter
java.lang.Object
fr.paris.lutece.plugins.crm.business.demand.DemandTypeFilter
DemandTypeFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if the filter contains the attribute date beginbooleanCheck if the filter contains the attribute date endbooleanCheck if the filter contains the attribute ID categorybooleanCheck if the filter contains the attribute LabelbooleanCheck if the filter contains the attribute orderbooleanCheck whether the filter contains or not the rolebooleanCheck if the filter contains the attribute UrlDeletebooleanCheck if the filter contains the attribute UrlResourcebooleanCheck whether the filter contains or not the workgroupGet the beginning dateGet the closing dateintReturns the IdCategorybooleanCheck if the filter is applied to a wide search or not.getLabel()Returns the LabelGet the operator for the beginning dateGet the operator for the closing dateGet the operator for the orderintgetOrder()Get the ordergetRole()Get roleReturns the UrlDeleteReturns the UrlResourceGet the workgroupvoidsetDateBegin(Date dateBegin) Set the beginning datevoidsetDateEnd(Date dateEnd) Set the closing datevoidsetIdCategory(int nIdCategory) Sets the IdCategoryvoidsetIsWideSearch(boolean bIsWideSearch) Set true if the filter is applied to a wide search.voidSets the LabelvoidsetOperatorDateBegin(OperatorEnum operator) Set the operator for the beginning datevoidsetOperatorDateEnd(OperatorEnum operator) Set the operator for the closing datevoidsetOperatorOrder(OperatorEnum operator) Set the operator for the ordervoidsetOrder(int nOrder) Set the ordervoidSet rolevoidsetUrlDelete(String strUrlDelete) Sets the UrlDeletevoidsetUrlResource(String strUrlResource) Sets the UrlResourcevoidsetWorkgroup(String strWorkgroupKey) Set the workgroup
-
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
Returns the Label- Returns:
- The Label
-
setLabel
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
Returns the UrlResource- Returns:
- The UrlResource
-
setUrlResource
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
Set the beginning date- Parameters:
dateBegin- the beginning 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
Set the closing date- Parameters:
dateEnd- the closing 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
Set the workgroup- Parameters:
strWorkgroupKey- the workgroup key
-
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
Set role- Parameters:
strRoleKey- the role key
-
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
Set the operator for the order- Parameters:
operator- the operator
-
getOperatorOrder
Get the operator for the order- Returns:
- the operator for the order
-
setOperatorDateBegin
Set the operator for the beginning date- Parameters:
operator- the operator
-
getOperatorDateBegin
Get the operator for the beginning date- Returns:
- the operator
-
setOperatorDateEnd
Set the operator for the closing date- Parameters:
operator- the operator
-
getOperatorDateEnd
Get the operator for the closing date- Returns:
- the operator
-
getUrlDelete
Returns the UrlDelete- Returns:
- The UrlDelete
-
setUrlDelete
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
-