fr.paris.lutece.plugins.crm.business.notification
Class NotificationFilter

java.lang.Object
  extended by fr.paris.lutece.plugins.crm.business.notification.NotificationFilter

public class NotificationFilter
extends Object

NotificationFilter


Constructor Summary
NotificationFilter()
          Constructor
 
Method Summary
 boolean containsIdDemand()
          Check if the filter contains the attribute ID Demand
 boolean containsIsRead()
          Check if the filter contains the attribute is_read
 int getIdDemand()
          Returns the IdDemand
 boolean getIsWideSearch()
          Check if the filter is applied to a wide search or not.
 boolean isRead()
          Check if the notification is read
 void setIdDemand(int strIdDemand)
          Sets the IdDemand
 void setIsRead(boolean bIsRead)
          Set the status is_read of the notification
 void setIsWideSearch(boolean bIsWideSearch)
          Set true if the filter is applied to a wide search.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationFilter

public NotificationFilter()
Constructor

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

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

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


Copyright © 2013 Mairie de Paris. All Rights Reserved.