Class NotificationFilter
- java.lang.Object
-
- fr.paris.lutece.plugins.crm.business.notification.NotificationFilter
-
public class NotificationFilter extends Object
NotificationFilter
-
-
Constructor Summary
Constructors Constructor Description NotificationFilter()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsIdDemand()Check if the filter contains the attribute ID DemandbooleancontainsIsRead()Check if the filter contains the attribute is_readintgetIdDemand()Returns the IdDemandbooleangetIsWideSearch()Check 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.
-
-
-
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- 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
-
-