Class Notification
- java.lang.Object
-
- fr.paris.lutece.plugins.crm.business.notification.Notification
-
public class Notification extends Object
Notification
-
-
Constructor Summary
Constructors Constructor Description Notification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimestampgetDateCreation()Get the date creation of the notificationintgetIdDemand()Get the id demandintgetIdNotification()Get the id notificationStringgetMessage()Get the message of the notificationStringgetObject()Get the object of the notificationStringgetSender()Get the senderbooleanisRead()Check if the notification is read or notvoidsetDateCreation(Timestamp dateCreation)Set the date creation of the notificationvoidsetIdDemand(int nIdDemand)Set the id demandvoidsetIdNotification(int nIdNotification)Set the id notificationvoidsetIsRead(boolean bIsRead)Set the status of the notificationvoidsetMessage(String strMessage)Set the message of the notificationvoidsetObject(String strObject)Set the object of the notificationvoidsetSender(String strSender)Set the sender
-
-
-
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
-
-