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

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

public class Notification
extends Object

Notification


Constructor Summary
Notification()
           
 
Method Summary
 Timestamp getDateCreation()
          Get the date creation of the notification
 int getIdDemand()
          Get the id demand
 int getIdNotification()
          Get the id notification
 String getMessage()
          Get the message of the notification
 String getObject()
          Get the object of the notification
 String getSender()
          Get the sender
 boolean isRead()
          Check if the notification is read or not
 void setDateCreation(Timestamp dateCreation)
          Set the date creation of the notification
 void setIdDemand(int nIdDemand)
          Set the id demand
 void setIdNotification(int nIdNotification)
          Set the id notification
 void setIsRead(boolean bIsRead)
          Set the status of the notification
 void setMessage(String strMessage)
          Set the message of the notification
 void setObject(String strObject)
          Set the object of the notification
 void setSender(String strSender)
          Set the sender
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Notification

public Notification()
Method Detail

setIdNotification

public void setIdNotification(int nIdNotification)
Set the id notification

Parameters:
nIdNotification - the id notification

getIdNotification

public int getIdNotification()
Get the id notification

Returns:
the id notification

setIdDemand

public void setIdDemand(int nIdDemand)
Set the id demand

Parameters:
nIdDemand - the id demand

getIdDemand

public int getIdDemand()
Get the id demand

Returns:
the id demand

setObject

public void setObject(String strObject)
Set the object of the notification

Parameters:
strObject - the object

getObject

public String getObject()
Get the object of the notification

Returns:
the object of the notification

setMessage

public void setMessage(String strMessage)
Set the message of the notification

Parameters:
strMessage - the message of the notification

getMessage

public String getMessage()
Get the message of the notification

Returns:
the message

setIsRead

public void setIsRead(boolean bIsRead)
Set the status of the notification

Parameters:
bIsRead - true if the notification is read, false otherwise

isRead

public boolean isRead()
Check if the notification is read or not

Returns:
true if it is read, false otherwise

setDateCreation

public void setDateCreation(Timestamp dateCreation)
Set the date creation of the notification

Parameters:
dateCreation - the date creation

getDateCreation

public Timestamp getDateCreation()
Get the date creation of the notification

Returns:
the date creation of the notification

setSender

public void setSender(String strSender)
Set the sender

Parameters:
strSender - the sender

getSender

public String getSender()
Get the sender

Returns:
the senders


Copyright © 2013 Mairie de Paris. All Rights Reserved.