fr.paris.lutece.plugins.mylutece.modules.notification.business
Class NotificationFilter

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

public class NotificationFilter
extends Object

NotificationFilter


Constructor Summary
NotificationFilter()
          Constructor
 
Method Summary
 boolean containsIdFolder()
          Check if the filter contains the attribute id folder
 boolean containsIsRead()
          Check if the filter contains the attribute is_read
 boolean containsLimit()
          Check whether the filter contains the limit
 boolean containsSender()
          Check if the filter contains the attribute Sender
 boolean containsUserGuidReceiver()
          Check if the filter contains the attribute UserGuidReceiver
 int getIdFolder()
          Get the attribute id folder of the notification
 boolean getIsWideSearch()
          Check if the filter is applied to a wide search or not.
 int getLimitIndex()
          Get the limit index
 int getLimitRange()
          Get the limit range
 String getSender()
          Returns the Sender
 String getUserGuidReceiver()
          Returns the UserGuidReceiver
 boolean isRead()
          Get the attribute is_read of the notification
 void setIdFolder(int nIdFolder)
          Set the id folder
 void setIsRead(boolean bIsRead)
          Set the attribute is_read
 void setIsWideSearch(boolean bIsWideSearch)
          Set true if the filter is applied to a wide search.
 void setLimitIndex(int nLimitIndex)
          Set the limit index
 void setLimitRange(int nLimitRange)
          Set the limit range
 void setSender(String strSender)
          Sets the Sender
 void setUserGuidReceiver(String strUserGuidReceiver)
          Sets the UserGuidReceiver
 
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

setIdFolder

public void setIdFolder(int nIdFolder)
Set the id folder

Parameters:
nIdFolder - the id folder

getIdFolder

public int getIdFolder()
Get the attribute id folder of the notification

Returns:
true if it is read, false otherwise

containsIdFolder

public boolean containsIdFolder()
Check if the filter contains the attribute id folder

Returns:
true if it contains, false otherwise

getSender

public String getSender()
Returns the Sender

Returns:
The Sender

setSender

public void setSender(String strSender)
Sets the Sender

Parameters:
strSender - The Sender

containsSender

public boolean containsSender()
Check if the filter contains the attribute Sender

Returns:
true if it contains, false otherwise

getUserGuidReceiver

public String getUserGuidReceiver()
Returns the UserGuidReceiver

Returns:
The UserGuidReceiver

setUserGuidReceiver

public void setUserGuidReceiver(String strUserGuidReceiver)
Sets the UserGuidReceiver

Parameters:
strUserGuidReceiver - The UserGuidReceiver

containsUserGuidReceiver

public boolean containsUserGuidReceiver()
Check if the filter contains the attribute UserGuidReceiver

Returns:
true if it contains, false otherwise

setIsRead

public void setIsRead(boolean bIsRead)
Set the attribute is_read

Parameters:
bIsRead - true if it is read, false otherwise

isRead

public boolean isRead()
Get the attribute is_read of the notification

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

setLimitIndex

public void setLimitIndex(int nLimitIndex)
Set the limit index

Parameters:
nLimitIndex - the limit index

getLimitIndex

public int getLimitIndex()
Get the limit index

Returns:
the limit index

setLimitRange

public void setLimitRange(int nLimitRange)
Set the limit range

Parameters:
nLimitRange - the limit range

getLimitRange

public int getLimitRange()
Get the limit range

Returns:
the limit range

containsLimit

public boolean containsLimit()
Check whether the filter contains the limit

Returns:
true if it contains, false otherwise


Copyright © 2013 Mairie de Paris. All Rights Reserved.