Class NotificationFilter
java.lang.Object
fr.paris.lutece.plugins.crm.business.notification.NotificationFilter
NotificationFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if the filter contains the attribute ID DemandbooleanCheck if the filter contains the attribute is_readintReturns the IdDemandbooleanCheck if the filter is applied to a wide search or not.booleanisRead()Check if the notification is readvoidsetIdDemand(int strIdDemand) Sets the IdDemandvoidsetIsRead(boolean bIsRead) Set the status is_read of the notificationvoidsetIsWideSearch(boolean bIsWideSearch) Set true if the filter is applied to a wide search.
-
Constructor Details
-
NotificationFilter
public NotificationFilter()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
-
getIdDemand
public int getIdDemand()Returns the IdDemand- Returns:
- The IdDemand
-
setIdDemand
public void setIdDemand(int strIdDemand) Sets the IdDemand- Parameters:
strIdDemand- The IdDemand
-
containsIdDemand
public boolean containsIdDemand()Check if the filter contains the attribute ID Demand- Returns:
- true if it contains, false otherwise
-
setIsRead
public void setIsRead(boolean bIsRead) Set the status is_read of the notification- Parameters:
bIsRead- true if the notification is read, false otherwise
-
isRead
public boolean isRead()Check if the notification is read- Returns:
- true if it is read, false otherwise
-
containsIsRead
public boolean containsIsRead()Check if the filter contains the attribute is_read- Returns:
- true if it contains, false otherwise
-